Searched refs:BUFLEN (Results 1 - 20 of 20) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/gzip/
H A Dunbzip2.c43 inbuf = malloc(BUFLEN);
45 outbuf = malloc(BUFLEN);
69 n = read(in, inbuf, BUFLEN);
81 bzs.avail_out = BUFLEN;
99 if (!tflag && bzs.avail_out != BUFLEN) {
102 n = write(out, outbuf, BUFLEN - bzs.avail_out);
H A Dgzip.c115 #define BUFLEN (64 * 1024) macro
540 outbufp = malloc(BUFLEN);
541 inbufp = malloc(BUFLEN);
561 i = snprintf(outbufp, BUFLEN, "%c%c%c%c%c%c%c%c%c%c%s",
570 if (i >= BUFLEN)
571 /* this need PATH_MAX > BUFLEN ... */
578 z.avail_out = BUFLEN - i;
591 if (write(out, outbufp, BUFLEN) != BUFLEN) {
597 out_tot += BUFLEN;
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/zcat/
H A Dzcat.c21 #define BUFLEN 4096 macro
44 char buf[BUFLEN];
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dhex_quote.c118 #define BUFLEN 1024 macro
133 VSTRING *raw = vstring_alloc(BUFLEN);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/names/
H A Dt_names.c38 #define BUFLEN 256 macro
352 junk = (unsigned char *)malloc(sizeof(unsigned char) * BUFLEN);
355 isc_buffer_init(binbuf, junk, BUFLEN);
479 unsigned char junk[BUFLEN];
485 isc_buffer_init(&buffer, junk, BUFLEN);
503 unsigned char junk[BUFLEN];
510 isc_buffer_init(&buffer, junk, BUFLEN);
533 unsigned char junk[BUFLEN];
545 isc_buffer_init(&binbuf, &junk[0], BUFLEN);
1421 unsigned char junk1[BUFLEN];
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dxtext.c136 #define BUFLEN 1024 macro
151 VSTRING *unquoted = vstring_alloc(BUFLEN);
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dbootptest.c76 #define BUFLEN 1024 macro
167 sndbuf = malloc(BUFLEN);
168 rcvbuf = malloc(BUFLEN);
357 n = BUFLEN - sizeof(*bp) + BP_VEND_LEN;
406 n = recvfrom(s, rcvbuf, BUFLEN, 0,
/netbsd-6-1-5-RELEASE/usr.sbin/tcpdchk/
H A Dtcpdchk.c70 #define BUFLEN 2048 macro
216 char sv_list[BUFLEN]; /* becomes list of daemons */
294 char buf[BUFLEN];
315 char buf[BUFLEN];
343 char buf[BUFLEN];
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/ahdilabel/
H A Dahdilabel.c368 #define BUFLEN 20 macro
370 char buf[BUFLEN], cts[CTSLEN];
384 if (get_input (&buf[0], BUFLEN) > 2) {
392 if (get_input (&buf[0], BUFLEN)) {
399 if (get_input (&buf[0], BUFLEN)) {
407 if (get_input (&buf[0], BUFLEN)) {
414 if (get_input (&buf[0], BUFLEN)) {
/netbsd-6-1-5-RELEASE/common/dist/zlib/
H A Dminigzip.c64 #define BUFLEN 16384 macro
104 local char buf[BUFLEN];
172 local char buf[BUFLEN];
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/master/
H A Dt_master.c41 #define BUFLEN 255 macro
77 unsigned char name_buf[BUFLEN];
95 isc_buffer_init(&target, name_buf, BUFLEN);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/
H A Dminigzip.c62 #define BUFLEN 16384 macro
102 local char buf[BUFLEN];
170 local char buf[BUFLEN];
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/tests/
H A Dmaster_test.c45 #define BUFLEN 255 macro
87 unsigned char name_buf[BUFLEN];
95 isc_buffer_init(&target, name_buf, BUFLEN);
500 unsigned char name_buf[BUFLEN];
510 isc_buffer_init(&target, name_buf, BUFLEN);
H A Ddbdiff_test.c41 #define BUFLEN 255 macro
H A Ddbiterator_test.c40 #define BUFLEN 255 macro
/netbsd-6-1-5-RELEASE/usr.sbin/makemandb/
H A Dmakemandb.c44 #define BUFLEN 1024 macro
1918 rec->desc.buflen = 10 * BUFLEN;
1922 rec->lib.buflen = BUFLEN / 2;
1926 rec->return_vals.buflen = BUFLEN;
1930 rec->exit_status.buflen = BUFLEN;
1934 rec->env.buflen = BUFLEN;
1938 rec->files.buflen = BUFLEN;
1942 rec->diagnostics.buflen = BUFLEN;
1946 rec->errors.buflen = BUFLEN;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/rbt/
H A Dt_rbt.c39 #define BUFLEN 1024 macro
84 static char buf[BUFLEN];
87 isc_buffer_init(&target, buf, BUFLEN);
95 static char buf[BUFLEN];
98 memset(buf, 0, BUFLEN);
99 isc_buffer_init(&target, buf, BUFLEN);
/netbsd-6-1-5-RELEASE/lib/libwrap/
H A Dhosts_access.c104 #define BUFLEN 2048 macro
147 char sv_list[BUFLEN]; /* becomes list of daemons */
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/config/
H A Dtc-z80.c346 #define BUFLEN 8 /* Large enough for any keyword. */ macro
348 char buf[BUFLEN];
514 for (i = 0; i < BUFLEN; ++i)
521 if ((i < BUFLEN) && ((p[i] == 0) || (strchr (")+-, \t", p[i]))))
610 for (i = 0; i < BUFLEN; ++i)
617 if ((i < BUFLEN)
1887 for (i = 0; (i < BUFLEN) && (ISALPHA (*p));)
1890 if (i == BUFLEN)
1892 buf[BUFLEN-3] = buf[BUFLEN
[all...]
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dipsec_doi.c4305 #define BUFLEN 512 macro
4309 static char buf[BUFLEN];
4352 len = snprintf( buf, BUFLEN, "%s", saddrwop2str(&saddr.sa));
4408 len = snprintf( buf, BUFLEN, "%s/%i", saddrwop2str(&saddr.sa), plen);
4414 len = snprintf( buf, BUFLEN, "%s-", saddrwop2str(&saddr.sa));
4425 len += snprintf(buf + len, BUFLEN - len, "%s", saddrwop2str(&saddr.sa));
4430 len = snprintf( buf, BUFLEN, "%s-", saddrwop2str(&saddr.sa));
4445 len += snprintf(buf + len, BUFLEN - len, "%s", saddrwop2str(&saddr.sa));
4452 if (len > BUFLEN)
4453 len = BUFLEN;
[all...]

Completed in 150 milliseconds