Searched refs:BUFSIZE (Results 1 - 25 of 97) sorted by relevance

1234

/netbsd-current/usr.bin/sort/
H A Dfsort.h66 #define BUFSIZE (1<<20) macro
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dstale-infcall.c22 #define BUFSIZE 0x1000 macro
35 char buf[BUFSIZE / 2];
41 static char buf_zero[BUFSIZE];
46 char buf[BUFSIZE];
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dstale-infcall.c22 #define BUFSIZE 0x1000 macro
35 char buf[BUFSIZE / 2];
41 static char buf_zero[BUFSIZE];
46 char buf[BUFSIZE];
/netbsd-current/sys/arch/i386/stand/lib/
H A Dpread.c36 #define BUFSIZE (1*1024) macro
38 #define BUFSIZE (4*1024) macro
49 buf = alloc(BUFSIZE);
56 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
/netbsd-current/tests/lib/libc/gen/posix_spawn/
H A Dh_fileactions.c42 #define BUFSIZE 16 macro
54 char buf[BUFSIZE];
59 if (read(3, buf, BUFSIZE) != -1 || errno != EBADF) {
65 if (read(4, buf, BUFSIZE) != -1 || errno != EBADF) {
71 if (write(5, buf, BUFSIZE) <= 0) {
77 if (write(6, buf, BUFSIZE) <= 0) {
/netbsd-current/tests/lib/libc/stdio/
H A Dt_popen.c55 #define BUFSIZE (640*1024) macro
79 if ((buffer = malloc(BUFSIZE)) == NULL)
84 for (idx = 0; idx < BUFSIZE; idx++)
93 if (fwrite(buffer, sizeof(char), BUFSIZE, my_pipe) != BUFSIZE)
106 if (idx == BUFSIZE) {
115 if (idx < BUFSIZE) {
/netbsd-current/usr.sbin/eeprom/
H A Ddefs.h40 #undef BUFSIZE macro
41 #define BUFSIZE 1024 macro
H A Dofhandlers.c49 static char err_str[BUFSIZE];
96 char ofio_buf[BUFSIZE];
214 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE];
H A Dophandlers.c50 static char err_str[BUFSIZE];
102 char opio_buf[BUFSIZE];
206 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE];
H A Dprephandlers.c50 static char err_str[BUFSIZE];
92 char nvio_buf[BUFSIZE];
186 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE];
H A Dmain.c88 char *cp, line[BUFSIZE];
141 while (fgets(line, BUFSIZE, stdin) != NULL) {
/netbsd-current/sys/dev/virtio/
H A Dviocon.c94 #define BUFSIZE 128 macro
261 if (virtio_alloc_vq(vsc, &sc->sc_vqs[rxidx], BUFSIZE, 1,
273 if (virtio_alloc_vq(vsc, &sc->sc_vqs[txidx], BUFSIZE, 1,
281 allocsize = (vp->vp_rx->vq_num + vp->vp_tx->vq_num) * BUFSIZE;
298 * XXX use only a small circular tx buffer instead of many BUFSIZE buffers?
300 vp->vp_tx_buf = vp->vp_rx_buf + vp->vp_rx->vq_num * BUFSIZE;
335 vp->vp_tx_buf - vp->vp_rx_buf + slot * BUFSIZE, BUFSIZE, local
373 bus_dmamap_sync(virtio_dmat(vsc), vp->vp_dmamap, slot * BUFSIZE, local
374 BUFSIZE, BUS_DMASYNC_PREREA local
409 slot * BUFSIZE, BUFSIZE, BUS_DMASYNC_POSTREAD); local
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Dmac.c20 #undef BUFSIZE macro
21 #define BUFSIZE 1024*8 macro
94 buf = app_malloc(BUFSIZE, "I/O buffer");
187 i = BIO_read(in, (char *)buf, BUFSIZE);
205 if (len > BUFSIZE) {
210 if (!EVP_MAC_final(ctx, buf, &len, BUFSIZE)) {
228 OPENSSL_clear_free(buf, BUFSIZE);
/netbsd-current/tests/lib/libc/sys/
H A Dt_mmap.c85 #define BUFSIZE (32 * 1024) /* enough size to trigger sosend_loan */ macro
103 char buf[BUFSIZE];
104 char backup[BUFSIZE];
110 val = BUFSIZE;
113 (void)memcpy(backup, vp, BUFSIZE);
118 val = BUFSIZE;
123 val = BUFSIZE;
131 nwritten = write(fds[0], (char *)vp + page, BUFSIZE - page);
137 (void)memset(vp2, pat, BUFSIZE);
139 nread = read(fds[1], buf + page, BUFSIZE
[all...]
H A Dt_recvmmsg.c56 #define BUFSIZE 65536 macro
92 buf = malloc(BUFSIZE);
95 mmsgcnt = BUFSIZE / sizeof(DGRAM);
H A Dt_sendmmsg.c50 #define BUFSIZE 65536 macro
72 int buflen = BUFSIZE;
97 buf = malloc(BUFSIZE);
103 mmsgcnt = BUFSIZE / sizeof(DGRAM);
/netbsd-current/sys/dev/ppbus/
H A Dlptvar.h43 #define BUFSIZE PAGE_SIZE macro
/netbsd-current/sys/rump/fs/lib/libsyspuffs/
H A Dpuffs_rumpglue.c58 #define BUFSIZE (64*1024) macro
77 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
91 error = dofileread(pap->fpfd, fp, buf, BUFSIZE,
134 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
/netbsd-current/bin/csh/
H A Dlex.c115 static Char labuf[BUFSIZE];
259 Char wbuf[BUFSIZE], *wp;
264 i = BUFSIZE - 4;
641 Char buf[BUFSIZE];
922 Char wbuf[BUFSIZE];
941 i = BUFSIZE - 4;
1418 char tbuf[BUFSIZE + 1];
1419 Char ttyline[BUFSIZE];
1425 char tbuf[BUFSIZE + 1];
1439 c = read(SHIN, tbuf, BUFSIZE);
[all...]
/netbsd-current/sys/dev/pci/
H A Datppc_puc.c158 #define BUFSIZE PAGE_SIZE /* XXX see lptvar.h */
159 if ((error = bus_dmamap_create(sc->sc_dmat, BUFSIZE, 1, BUFSIZE, 0,
/netbsd-current/distrib/cdrom/macppc_mkboothfs/
H A Dmkboothfs.c46 #define BUFSIZE (64 * 1024)
79 buf = malloc(BUFSIZE);
44 #define BUFSIZE macro
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/
H A Dvar.h52 #define BUFSIZE 5120 macro
/netbsd-current/usr.sbin/mopd/common/
H A Dcommon.h35 #define BUFSIZE 1600 /* main receive buffer size */ macro
/netbsd-current/external/bsd/pam-u2f/dist/
H A Dutil.h11 #define BUFSIZE 1024 macro
/netbsd-current/external/gpl3/binutils/dist/binutils/
H A Dsysdep.h126 #define BUFSIZE 8192
125 #define BUFSIZE macro

Completed in 504 milliseconds

1234