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

/freebsd-11-stable/usr.bin/gzip/
H A Dunbzip2.c47 inbuf = malloc(BUFLEN);
49 outbuf = malloc(BUFLEN);
74 n = read(in, inbuf, BUFLEN);
87 bzs.avail_out = BUFLEN;
105 if (!tflag && bzs.avail_out != BUFLEN) {
108 n = write(out, outbuf, BUFLEN - bzs.avail_out);
H A Dgzip.c123 #define BUFLEN (64 * 1024) macro
608 outbufp = malloc(BUFLEN);
609 inbufp = malloc(BUFLEN);
629 i = snprintf(outbufp, BUFLEN, "%c%c%c%c%c%c%c%c%c%c%s",
638 if (i >= BUFLEN)
639 /* this need PATH_MAX > BUFLEN ... */
646 z.avail_out = BUFLEN - i;
659 if (write_retry(out, outbufp, BUFLEN) != BUFLEN) {
665 out_tot += BUFLEN;
[all...]
/freebsd-11-stable/share/examples/libusb20/
H A Dbulk.c55 #define BUFLEN 64 macro
60 uint8_t out_buf[BUFLEN];
119 uint8_t in_buf[BUFLEN];
132 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT))
201 for (out_len = 0; argc > 0 && out_len < BUFLEN; out_len++, argc--)
214 BUFLEN, optind);
H A Dcontrol.c56 #define BUFLEN 64 macro
63 uint8_t out_buf[BUFLEN];
163 uint8_t in_buf[BUFLEN];
166 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT))
372 for (out_len = 0; argc > 0 && out_len < BUFLEN; out_len++, argc--)
385 BUFLEN, optind);
/freebsd-11-stable/bin/sh/
H A Dmknodes.c60 #define BUFLEN 100 /* size of character buffers */ macro
134 char name[BUFLEN];
135 char tag[BUFLEN];
164 char name[BUFLEN];
165 char type[BUFLEN];
166 char decl[2 * BUFLEN];
426 if (p - line > BUFLEN)
/freebsd-11-stable/libexec/bootpd/tools/bootptest/
H A Dbootptest.c77 #define BUFLEN 1024 macro
173 sndbuf = malloc(BUFLEN);
174 rcvbuf = malloc(BUFLEN);
363 n = BUFLEN - sizeof(*bp) + BP_VEND_LEN;
416 n = recvfrom(s, rcvbuf, BUFLEN, 0,
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dtcpdchk.c60 #define BUFLEN 2048 macro
201 char sv_list[BUFLEN]; /* becomes list of daemons */
275 char buf[BUFLEN];
296 char buf[BUFLEN];
324 char buf[BUFLEN];
H A Dhosts_access.c105 #define BUFLEN 2048 macro
153 char sv_list[BUFLEN]; /* becomes list of daemons */
/freebsd-11-stable/sys/contrib/zlib/test/
H A Dminigzip.c135 #define BUFLEN 16384 macro
242 unsigned char out[BUFLEN];
251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
301 unsigned char out[BUFLEN];
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
366 local char buf[BUFLEN];
434 local char buf[BUFLEN];

Completed in 195 milliseconds