Searched defs:BUFSIZE (Results 1 - 25 of 37) sorted by last modified time

12

/external/tcpdump/
H A Daddrtoname.h33 #define BUFSIZE 128 macro
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dbcel.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...
/external/pdfium/fpdfsdk/src/javascript/
H A DDocument.cpp1793 const int BUFSIZE = 17; local
1794 FX_BYTE buf[BUFSIZE];
1827 buf[BUFSIZE - 1] = 0;
/external/pixman/test/
H A Dlowlevel-blt-bench.c46 #define BUFSIZE (WIDTH * HEIGHT * 4) macro
70 memcpy (dst, src, BUFSIZE - 64);
71 memcpy (src, dst, BUFSIZE - 64);
72 n += 4 * (BUFSIZE - 64);
83 memcpy ((char *)dst + 1, (char *)src + x, BUFSIZE - 64);
84 memcpy ((char *)src + 1, (char *)dst + x, BUFSIZE - 64);
85 n -= 4 * (BUFSIZE - 64);
468 memcpy (dst, src, BUFSIZE);
469 memcpy (src, dst, BUFSIZE);
488 memcpy (dst, src, BUFSIZE);
[all...]
H A Dprng-test.c57 #define BUFSIZE (8 * 1024 * 1024) macro
65 uint8_t *buf = aligned_malloc (16, BUFSIZE + 1);
70 prng_randmemset_r (&prng, buf, BUFSIZE, 0);
73 (double)BUFSIZE * N / 1000000. / (t2 - t1));
77 prng_randmemset_r (&prng, buf + 1, BUFSIZE, 0);
80 (double)BUFSIZE * N / 1000000. / (t2 - t1));
85 prng_randmemset_r (&prng, buf, BUFSIZE, RANDMEMSET_MORE_00_AND_FF);
89 (double)BUFSIZE * N / 1000000. / (t2 - t1));
94 prng_randmemset_r (&prng, buf + 1, BUFSIZE, RANDMEMSET_MORE_00_AND_FF);
98 (double)BUFSIZE *
[all...]
/external/openssl/apps/
H A Ddgst.c71 #undef BUFSIZE macro
72 #define BUFSIZE 1024*8 macro
135 if ((buf=(unsigned char *)OPENSSL_malloc(BUFSIZE)) == NULL)
540 OPENSSL_cleanse(buf,BUFSIZE);
568 i=BIO_read(bp,(char *)buf,BUFSIZE);
601 len = BUFSIZE;
611 len=BIO_gets(bp,(char *)buf,BUFSIZE);
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
H A Dspeed.c226 #undef BUFSIZE macro
227 #define BUFSIZE ((long)1024*8+1) macro
667 if ((buf=(unsigned char *)OPENSSL_malloc((int)BUFSIZE)) == NULL)
672 if ((buf2=(unsigned char *)OPENSSL_malloc((int)BUFSIZE)) == NULL)
/external/openssl/crypto/bn/
H A Dbnspeed.c120 #undef BUFSIZE macro
121 #define BUFSIZE ((long)1024*8) macro
H A Dexpspeed.c146 #undef BUFSIZE macro
147 #define BUFSIZE ((long)1024*8) macro
/external/openssl/crypto/des/
H A Ddes.c109 #define BUFSIZE (8*1024) macro
375 static unsigned char buf[BUFSIZE+8],obuf[BUFSIZE+8];
381 if ( (( buf=OPENSSL_malloc(BUFSIZE+8)) == NULL) ||
382 ((obuf=OPENSSL_malloc(BUFSIZE+8)) == NULL))
473 num=l=fread(&(buf[rem]),1,BUFSIZE,DES_IN);
572 l=uufread(buf,1,BUFSIZE,DES_IN);
574 l=fread(buf,1,BUFSIZE,DES_IN);
614 ll=uufread(&(buf[rem]),1,BUFSIZE,DES_IN);
616 ll=fread(&(buf[rem]),1,BUFSIZE,DES_I
[all...]
H A Ddes_opts.c335 #define BUFSIZE ((long)1024) macro
421 static unsigned char buf[BUFSIZE];
465 cc=count*3*8/BUFSIZE+1;
466 cd=count*8/BUFSIZE+1;
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...]
/external/openssl/crypto/md4/
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
/external/openssl/crypto/md5/
H A Dmd5.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/external/openssl/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...]
/external/openssl/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;
/external/openssl/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;
/external/openssl/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);
/external/openssl/crypto/txt_db/
H A Dtxt_db.c66 #undef BUFSIZE macro
67 #define BUFSIZE 512 macro
78 int size=BUFSIZE;
111 size+=BUFSIZE;
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
H A DNanoHTTPD.java847 public static final int BUFSIZE = 8192; field in class:NanoHTTPD.HTTPSession
862 this.inputStream = new PushbackInputStream(inputStream, BUFSIZE);
868 this.inputStream = new PushbackInputStream(inputStream, BUFSIZE);
884 byte[] buf = new byte[BUFSIZE];
890 read = inputStream.read(buf, 0, BUFSIZE);
907 read = inputStream.read(buf, rlen, BUFSIZE - rlen);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dattr.c49 #define BUFSIZE 1024 macro
53 char buf[BUFSIZE]; \
56 size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \
/external/ipsec-tools/src/racoon/
H A Dvar.h52 #define BUFSIZE 5120 macro
/external/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c1501 int32_t BUFSIZE = sizeof(buffer)/sizeof(buffer[0]); local
1509 unum_formatDouble(fmt, vals[i], buffer, BUFSIZE, NULL, &status);
1562 int len = unum_getTextAttribute(fmt, UNUM_DEFAULT_RULESET, buffer, BUFSIZE, &status);
1572 len = unum_getTextAttribute(fmt, UNUM_PUBLIC_RULESETS, buffer, BUFSIZE, &status);
1590 int len2 = unum_getTextAttribute(fmt, UNUM_DEFAULT_RULESET, buffer, BUFSIZE, &status);
1599 unum_formatDouble(fmt, vals[i], buffer, BUFSIZE, NULL, &status);
1616 unum_toPattern(fmt, FALSE, buffer, BUFSIZE, &status);
1629 int len = unum_getSymbol(fmt, UNUM_CURRENCY_SYMBOL, buffer, BUFSIZE, &status);

Completed in 478 milliseconds

12