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

123

/freebsd-9.3-release/usr.bin/colldef/
H A Dcommon.h6 #define BUFSIZE 80 macro
/freebsd-9.3-release/sys/boot/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-9.3-release/crypto/openssl/crypto/rand/
H A Drandfile.c91 #undef BUFSIZE macro
92 #define BUFSIZE 1024 macro
119 MS_STATIC unsigned char buf[BUFSIZE];
163 n = (bytes < BUFSIZE) ? (int)bytes : BUFSIZE;
165 n = BUFSIZE;
183 OPENSSL_cleanse(buf, BUFSIZE);
190 unsigned char buf[BUFSIZE];
258 i = (n > BUFSIZE) ? BUFSIZE
[all...]
/freebsd-9.3-release/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...]
H A Ddes.c109 #define BUFSIZE (8*1024) macro
362 static unsigned char buf[BUFSIZE + 8], obuf[BUFSIZE + 8];
367 if (((buf = OPENSSL_malloc(BUFSIZE + 8)) == NULL) ||
368 ((obuf = OPENSSL_malloc(BUFSIZE + 8)) == NULL)) {
446 num = l = fread(&(buf[rem]), 1, BUFSIZE, DES_IN);
528 l = uufread(buf, 1, BUFSIZE, DES_IN);
530 l = fread(buf, 1, BUFSIZE, DES_IN);
561 ll = uufread(&(buf[rem]), 1, BUFSIZE, DES_IN);
563 ll = fread(&(buf[rem]), 1, BUFSIZE, DES_I
[all...]
/freebsd-9.3-release/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;
H A Dbf_opts.c132 #define BUFSIZE ((long)1024) macro
215 static unsigned char buf[BUFSIZE];
255 cc = count * 3 * 8 / BUFSIZE + 1;
256 cd = count * 8 / BUFSIZE + 1;
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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;
H A Dcastopts.c142 #define BUFSIZE ((long)1024) macro
225 static unsigned char buf[BUFSIZE];
265 cc = count * 3 * 8 / BUFSIZE + 1;
266 cd = count * 8 / BUFSIZE + 1;
/freebsd-9.3-release/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-9.3-release/bin/csh/
H A Dconfig_p.h87 #define BUFSIZE 8192 macro
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/contrib/tcpdump/
H A Daddrtoname.h33 #define BUFSIZE 128 macro
/freebsd-9.3-release/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-9.3-release/crypto/openssl/crypto/md4/
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
100 static unsigned char buf[BUFSIZE];
/freebsd-9.3-release/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-9.3-release/sys/dev/ppbus/
H A Dppi.c62 #define BUFSIZE 512 macro
72 char ppi_buffer[BUFSIZE];
367 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
410 buffer, min(BUFSIZE, uio->uio_resid), &len);
470 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
478 while (!error && (len = min(uio->uio_resid, BUFSIZE))) {
488 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
525 while ((len = min(uio->uio_resid, BUFSIZE)) != 0) {
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dsysdep.h173 #define BUFSIZE 8192
172 #define BUFSIZE macro
/freebsd-9.3-release/release/picobsd/tinyware/oinit/
H A Doinit.c59 #define BUFSIZE 1024 macro
70 char cwd[BUFSIZE];
135 getcwd(cwd,BUFSIZE);
146 if(getcwd(cwd,BUFSIZE)==NULL) return(-1);
507 char buf[BUFSIZE];
516 res=read(fd,buf,BUFSIZE);
526 getcwd(cwd,BUFSIZE);
532 memset(buf,0,BUFSIZE);
535 if(fgets(buf,BUFSIZE-1,stdin)==NULL) continue;
935 getcwd(cwd,BUFSIZE);
[all...]

Completed in 152 milliseconds

123