Home
last modified time | relevance | path

Searched refs:BUFLEN (Results 1 – 11 of 11) sorted by relevance

/trueos/usr.bin/gzip/
HDunbzip2.c45 inbuf = malloc(BUFLEN); in unbzip2()
47 outbuf = malloc(BUFLEN); in unbzip2()
71 n = read(in, inbuf, BUFLEN); in unbzip2()
83 bzs.avail_out = BUFLEN; in unbzip2()
101 if (!tflag && bzs.avail_out != BUFLEN) { in unbzip2()
104 n = write(out, outbuf, BUFLEN - bzs.avail_out); in unbzip2()
HDgzip.c111 #define BUFLEN (64 * 1024) macro
569 outbufp = malloc(BUFLEN); in gz_compress()
570 inbufp = malloc(BUFLEN); in gz_compress()
590 i = snprintf(outbufp, BUFLEN, "%c%c%c%c%c%c%c%c%c%c%s", in gz_compress()
599 if (i >= BUFLEN) in gz_compress()
607 z.avail_out = BUFLEN - i; in gz_compress()
620 if (write(out, outbufp, BUFLEN) != BUFLEN) { in gz_compress()
626 out_tot += BUFLEN; in gz_compress()
628 z.avail_out = BUFLEN; in gz_compress()
632 in_size = read(in, inbufp, BUFLEN); in gz_compress()
[all …]
/trueos/share/examples/libusb20/
HDbulk.c55 #define BUFLEN 64 macro
60 uint8_t out_buf[BUFLEN];
119 uint8_t in_buf[BUFLEN]; in doit()
132 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit()
201 for (out_len = 0; argc > 0 && out_len < BUFLEN; out_len++, argc--) in main()
214 BUFLEN, optind); in main()
HDcontrol.c56 #define BUFLEN 64 macro
63 uint8_t out_buf[BUFLEN];
163 uint8_t in_buf[BUFLEN]; in doit()
166 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit()
372 for (out_len = 0; argc > 0 && out_len < BUFLEN; out_len++, argc--) in main()
385 BUFLEN, optind); in main()
/trueos/bin/sh/
HDmknodes.c60 #define BUFLEN 100 /* size of character buffers */ macro
133 char name[BUFLEN]; in parsenode()
134 char tag[BUFLEN]; in parsenode()
163 char name[BUFLEN]; in parsefield()
164 char type[BUFLEN]; in parsefield()
165 char decl[2 * BUFLEN]; in parsefield()
416 if (p - line > BUFLEN) in readline()
/trueos/lib/libz/test/
HDminigzip.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];
/trueos/libexec/bootpd/tools/bootptest/
HDbootptest.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,
/trueos/contrib/tcp_wrappers/
HDtcpdchk.c63 #define BUFLEN 2048 macro
204 char sv_list[BUFLEN]; /* becomes list of daemons */
278 char buf[BUFLEN];
299 char buf[BUFLEN];
327 char buf[BUFLEN];
HDhosts_access.c103 #define BUFLEN 2048 macro
146 char sv_list[BUFLEN]; /* becomes list of daemons */
HDCHANGES66 routine: lines longer than BUFLEN characters would be garbled.
/trueos/contrib/binutils/opcodes/
HDcgen-dis.in202 BUF is the base part of the insn, target byte order, BUFLEN bytes long.