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

123

/freebsd-11-stable/usr.bin/colldef/
H A Dcommon.h6 #define BUFSIZE 80 macro
/freebsd-11-stable/stand/i386/libi386/
H A Dpread.c46 #define BUFSIZE (1*1024) macro
48 #define BUFSIZE (4*1024) macro
51 static char buf[BUFSIZE];
65 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
/freebsd-11-stable/contrib/netbsd-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) {
/freebsd-11-stable/lib/libc/tests/gen/
H A Darc4random_test.c42 * BUFSIZE is the number of bytes of rc4 output to compare. The probability
43 * that this test fails spuriously is 2**(-BUFSIZE * 8).
45 #define BUFSIZE 8 macro
55 char parentbuf[BUFSIZE];
56 char childbuf[BUFSIZE];
71 arc4random_buf(page->childbuf, BUFSIZE);
76 arc4random_buf(page->parentbuf, BUFSIZE);
79 ATF_CHECK_MSG(memcmp(page->parentbuf, page->childbuf, BUFSIZE) != 0,
/freebsd-11-stable/contrib/netbsd-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) {
/freebsd-11-stable/contrib/netbsd-tests/dev/audio/
H A Dh_pad.c48 #define BUFSIZE 1024 macro
53 char buf[BUFSIZE];
54 char zeros[BUFSIZE];
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Dspeed.c112 #define BUFSIZE ((long)1024) macro
170 static unsigned char buf[BUFSIZE];
207 cc = count * 3 * 8 / BUFSIZE + 1;
208 cd = count * 8 / BUFSIZE + 1;
246 BUFSIZE);
250 BUFSIZE);
254 DES_ncbc_encrypt(buf, buf, BUFSIZE, &sch, &key, DES_ENCRYPT);
257 count, BUFSIZE, d);
258 c = ((double)COUNT(cc) * BUFSIZE) / d;
262 BUFSIZE);
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bf/
H A Dbfspeed.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
197 cc = count * 8 / BUFSIZE + 1;
241 BUFSIZE);
245 BUFSIZE);
249 BF_cbc_encrypt(buf, buf, BUFSIZE, &sch, &(key[0]), BF_ENCRYPT);
252 count, BUFSIZE, d);
253 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/crypto/openssl/crypto/cast/
H A Dcast_spd.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
197 cc = count * 8 / BUFSIZE + 1;
241 BUFSIZE);
245 BUFSIZE);
249 CAST_cbc_encrypt(buf, buf, BUFSIZE, &sch, &(key[0]), CAST_ENCRYPT);
252 count, BUFSIZE, d);
253 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/crypto/openssl/crypto/rc2/
H A Drc2speed.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
197 cc = count * 8 / BUFSIZE + 1;
241 BUFSIZE);
245 BUFSIZE);
249 RC2_cbc_encrypt(buf, buf, BUFSIZE, &sch, &(key[0]), RC2_ENCRYPT);
252 count, BUFSIZE, d);
253 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/crypto/openssl/crypto/rc4/
H A Drc4speed.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
196 cc = count * 8 / BUFSIZE + 1;
220 printf("Doing RC4 on %ld byte blocks for 10 seconds\n", BUFSIZE);
223 printf("Doing RC4 %ld times on %ld byte blocks\n", cc, BUFSIZE);
227 RC4(&sch, BUFSIZE, buf, buf);
230 count, BUFSIZE, d);
231 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/crypto/openssl/crypto/rc5/
H A Drc5speed.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
197 cc = count * 8 / BUFSIZE + 1;
241 BUFSIZE);
245 BUFSIZE);
249 RC5_32_cbc_encrypt(buf, buf, BUFSIZE, &sch, &(key[0]), RC5_ENCRYPT);
252 count, BUFSIZE, d);
253 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/bin/csh/
H A Dconfig_p.h88 #define BUFSIZE 8192 macro
/freebsd-11-stable/crypto/openssl/crypto/md2/
H A Dmd2.c63 #define BUFSIZE 1024*16 macro
98 static unsigned char buf[BUFSIZE];
103 i = read(fd, buf, BUFSIZE);
/freebsd-11-stable/crypto/openssl/crypto/md5/
H A Dmd5.c63 #define BUFSIZE 1024*16 macro
100 static unsigned char buf[BUFSIZE];
105 i = read(fd, buf, BUFSIZE);
/freebsd-11-stable/crypto/openssl/crypto/ripemd/
H A Drmd160.c63 #define BUFSIZE 1024*16 macro
100 static unsigned char buf[BUFSIZE];
105 i = read(fd, buf, BUFSIZE);
/freebsd-11-stable/crypto/openssl/crypto/sha/
H A Dsha.c63 #define BUFSIZE 1024*16 macro
97 unsigned char buf[BUFSIZE];
102 i = read(fd, buf, BUFSIZE);
H A Dsha1.c63 #define BUFSIZE 1024*16 macro
100 unsigned char buf[BUFSIZE];
105 i = read(fd, buf, BUFSIZE);
/freebsd-11-stable/crypto/openssl/crypto/rand/
H A Drandfile.c111 #undef BUFSIZE macro
112 #define BUFSIZE 1024 macro
139 MS_STATIC unsigned char buf[BUFSIZE];
205 n = (bytes < BUFSIZE) ? (int)bytes : BUFSIZE;
207 n = BUFSIZE;
225 OPENSSL_cleanse(buf, BUFSIZE);
232 unsigned char buf[BUFSIZE];
304 i = (n > BUFSIZE) ? BUFSIZE
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mmap.c87 #define BUFSIZE (32 * 1024) /* enough size to trigger sosend_loan */ macro
105 char buf[BUFSIZE];
106 char backup[BUFSIZE];
112 val = BUFSIZE;
115 (void)memcpy(backup, vp, BUFSIZE);
120 val = BUFSIZE;
125 val = BUFSIZE;
133 nwritten = write(fds[0], (char *)vp + page, BUFSIZE - page);
139 (void)memset(vp2, pat, BUFSIZE);
141 nread = read(fds[1], buf + page, BUFSIZE
[all...]
H A Dt_recvmmsg.c55 #define BUFSIZE 65536 macro
82 buf = malloc(BUFSIZE);
85 mmsgcnt = BUFSIZE / sizeof(DGRAM);
/freebsd-11-stable/crypto/openssl/crypto/idea/
H A Didea_spd.c107 #define BUFSIZE ((long)1024) macro
165 static unsigned char buf[BUFSIZE];
198 cc = count * 8 / BUFSIZE + 1;
260 BUFSIZE);
264 BUFSIZE);
268 idea_cbc_encrypt(buf, buf, BUFSIZE, &sch, &(key[0]), IDEA_ENCRYPT);
271 count, BUFSIZE, d);
272 c = ((double)COUNT(cc) * BUFSIZE) / d;
/freebsd-11-stable/crypto/openssl/crypto/md4/
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
100 static unsigned char buf[BUFSIZE];
/freebsd-11-stable/contrib/opie/
H A Dpermsfile.c41 #define BUFSIZE 128 macro
45 static char buf[BUFSIZE], buf2[8];
159 if (fgets(buf, BUFSIZE, fh) == NULL)
161 buf[BUFSIZE] = 0;
/freebsd-11-stable/contrib/tcpdump/
H A Daddrtoname.h40 #define BUFSIZE 128 macro

Completed in 296 milliseconds

123