Home
last modified time | relevance | path

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

/dragonfly/share/examples/libusb20/
H A Dbulk.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()
H A Dcontrol.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()
/dragonfly/usr.bin/gzip/
H A Dunbzip2.c44 inbuf = malloc(BUFLEN); in unbzip2()
46 outbuf = malloc(BUFLEN); in unbzip2()
70 n = read(in, inbuf, BUFLEN); in unbzip2()
82 bzs.avail_out = BUFLEN; in unbzip2()
93 n = write(out, outbuf, BUFLEN - bzs.avail_out); in unbzip2()
H A Dgzip.c103 #define BUFLEN (64 * 1024) macro
524 outbufp = malloc(BUFLEN); in gz_compress()
525 inbufp = malloc(BUFLEN); in gz_compress()
554 if (i >= BUFLEN) in gz_compress()
575 if (write(out, outbufp, BUFLEN) != BUFLEN) { in gz_compress()
581 out_tot += BUFLEN; in gz_compress()
583 z.avail_out = BUFLEN; in gz_compress()
632 z.avail_out = BUFLEN; in gz_compress()
726 z.avail_out = BUFLEN; in gz_uncompress()
937 z.avail_out = BUFLEN; in gz_uncompress()
[all …]
/dragonfly/bin/sh/
H A Dmknodes.c62 #define BUFLEN 100 /* size of character buffers */ macro
136 char name[BUFLEN]; in parsenode()
137 char tag[BUFLEN]; in parsenode()
166 char name[BUFLEN]; in parsefield()
167 char type[BUFLEN]; in parsefield()
168 char decl[2 * BUFLEN]; in parsefield()
428 if (p - line > BUFLEN) in readline()
/dragonfly/libexec/bootpd/tools/bootptest/
H A Dbootptest.c74 #define BUFLEN 1024 macro
170 sndbuf = malloc(BUFLEN); in main()
171 rcvbuf = malloc(BUFLEN); in main()
360 n = BUFLEN - sizeof(*bp) + BP_VEND_LEN; in main()
413 n = recvfrom(s, rcvbuf, BUFLEN, 0, in main()
/dragonfly/tools/tools/netrate/udpecho/
H A Dudpecho.c17 #define BUFLEN 2048 macro
118 buf = malloc(BUFLEN); in mainloop()
152 n = recvfrom(s, buf, BUFLEN, 0, in mainloop()
/dragonfly/contrib/tcp_wrappers/
H A Dtcpdchk.c60 #define BUFLEN 2048 macro
200 char sv_list[BUFLEN]; /* becomes list of daemons */
276 char buf[BUFLEN];
297 char buf[BUFLEN];
325 char buf[BUFLEN];
H A Dhosts_access.c100 #define BUFLEN 2048 macro
143 char sv_list[BUFLEN]; /* becomes list of daemons */
H A DCHANGES66 routine: lines longer than BUFLEN characters would be garbled.