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

1234

/netbsd-6-1-5-RELEASE/usr.bin/sort/
H A Dfsort.h66 #define BUFSIZE (1<<20) macro
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/
H A Dpread.c36 #define BUFSIZE (1*1024) macro
38 #define BUFSIZE (4*1024) macro
49 buf = alloc(BUFSIZE);
55 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
/netbsd-6-1-5-RELEASE/tests/lib/libc/gen/posix_spawn/
H A Dh_fileactions.c40 #define BUFSIZE 16 macro
52 char buf[BUFSIZE];
57 if (read(3, buf, BUFSIZE) != -1 || errno != EBADF) {
63 if (read(4, buf, BUFSIZE) != -1 || errno != EBADF) {
69 if (write(5, buf, BUFSIZE) <= 0) {
75 if (write(6, buf, BUFSIZE) <= 0) {
/netbsd-6-1-5-RELEASE/tests/lib/libc/stdio/
H A Dt_popen.c55 #define BUFSIZE (640*1024) macro
79 if ((buffer = malloc(BUFSIZE)) == NULL)
84 for (index = 0; index < BUFSIZE; index++)
93 if (fwrite(buffer, sizeof(char), BUFSIZE, my_pipe) != BUFSIZE)
106 if (index == BUFSIZE) {
115 if (index < BUFSIZE) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drandfile.c92 #undef BUFSIZE macro
93 #define BUFSIZE 1024 macro
114 MS_STATIC unsigned char buf[BUFSIZE];
158 n = (bytes < BUFSIZE)?(int)bytes:BUFSIZE;
160 n = BUFSIZE;
177 OPENSSL_cleanse(buf,BUFSIZE);
184 unsigned char buf[BUFSIZE];
254 i=(n > BUFSIZE)?BUFSIZE
[all...]
/netbsd-6-1-5-RELEASE/tests/dev/audio/
H A Dh_pad.c48 #define BUFSIZE 1024 macro
53 char buf[BUFSIZE];
54 char zeros[BUFSIZE];
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/des/
H A Dspeed.c118 #define BUFSIZE ((long)1024) macro
182 static unsigned char buf[BUFSIZE];
216 cc=count*3*8/BUFSIZE+1;
217 cd=count*8/BUFSIZE+1;
256 BUFSIZE);
260 BUFSIZE);
264 DES_ncbc_encrypt(buf,buf,BUFSIZE,&sch,
268 count,BUFSIZE,d);
269 c=((double)COUNT(cc)*BUFSIZE)/d;
273 BUFSIZE);
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/bf/
H A Dbfspeed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 BF_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/cast/
H A Dcast_spd.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 CAST_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rc2/
H A Drc2speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 RC2_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rc4/
H A Drc4speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
208 cc=count*8/BUFSIZE+1;
233 printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE);
236 printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE);
240 RC4(&sch,BUFSIZE,buf,buf);
243 count,BUFSIZE,d);
244 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rc5/
H A Drc5speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 RC5_32_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Daddrtoname.h33 #define BUFSIZE 128 macro
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/md2/
H A Dmd2.c63 #define BUFSIZE 1024*16 macro
103 static unsigned char buf[BUFSIZE];
109 i=read(fd,buf,BUFSIZE);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/md5/
H A Dmd5.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ripemd/
H A Drmd160.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/sha/
H A Dsha.c63 #define BUFSIZE 1024*16 macro
102 unsigned char buf[BUFSIZE];
108 i=read(fd,buf,BUFSIZE);
H A Dsha1.c63 #define BUFSIZE 1024*16 macro
105 unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_mmap.c83 #define BUFSIZE (32 * 1024) /* enough size to trigger sosend_loan */ macro
101 char buf[BUFSIZE];
102 char backup[BUFSIZE];
108 val = BUFSIZE;
111 (void)memcpy(backup, vp, BUFSIZE);
116 val = BUFSIZE;
121 val = BUFSIZE;
129 nwritten = write(fds[0], (char *)vp + page, BUFSIZE - page);
135 (void)memset(vp2, pat, BUFSIZE);
137 nread = read(fds[1], buf + page, BUFSIZE
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/idea/
H A Didea_spd.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
210 cc=count*8/BUFSIZE+1;
275 BUFSIZE);
279 BUFSIZE);
283 idea_cbc_encrypt(buf,buf,BUFSIZE,&sch,
287 count,BUFSIZE,d);
288 c=((double)COUNT(cc)*BUFSIZE)/d;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/md4/
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
/netbsd-6-1-5-RELEASE/usr.sbin/eeprom/
H A Ddefs.h40 #undef BUFSIZE macro
41 #define BUFSIZE 1024 macro
H A Dofhandlers.c49 static char err_str[BUFSIZE];
98 char ofio_buf[BUFSIZE];
225 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE];
/netbsd-6-1-5-RELEASE/sys/rump/fs/lib/libsyspuffs/
H A Dpuffs_rumpglue.c58 #define BUFSIZE (64*1024) macro
77 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
88 error = dofileread(pap->fpfd, fp, buf, BUFSIZE,
125 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
/netbsd-6-1-5-RELEASE/sys/dev/ppbus/
H A Dlptvar.h43 #define BUFSIZE PAGE_SIZE macro

Completed in 166 milliseconds

1234