/external/fio/crc/ |
test.c | 23 #define CHUNK 131072U 64 buf = malloc(CHUNK); 65 randomize_buf(buf, CHUNK, 0x8989); 69 fio_md5_update(&ctx, buf, CHUNK); 83 buf = malloc(CHUNK); 84 randomize_buf(buf, CHUNK, 0x8989); 88 fio_crc64(buf, CHUNK); 102 buf = malloc(CHUNK); 103 randomize_buf(buf, CHUNK, 0x8989); 107 fio_crc32(buf, CHUNK); [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
glcpp.c | 46 #define CHUNK 4096 53 if (total_read + CHUNK + 1 > text_size) { 54 text_size = text_size ? text_size * 2 : CHUNK + 1; 61 bytes = fread (text + total_read, 1, CHUNK, fp); 64 if (bytes < CHUNK) {
|
/external/mesa3d/src/glsl/glcpp/ |
glcpp.c | 46 #define CHUNK 4096 53 if (total_read + CHUNK + 1 > text_size) { 54 text_size = text_size ? text_size * 2 : CHUNK + 1; 61 bytes = fread (text + total_read, 1, CHUNK, fp); 64 if (bytes < CHUNK) {
|
/external/zlib/src/examples/ |
zpipe.c | 28 #define CHUNK 16384 41 unsigned char in[CHUNK]; 42 unsigned char out[CHUNK]; 54 strm.avail_in = fread(in, 1, CHUNK, source); 65 strm.avail_out = CHUNK; 69 have = CHUNK - strm.avail_out; 97 unsigned char in[CHUNK]; 98 unsigned char out[CHUNK]; 112 strm.avail_in = fread(in, 1, CHUNK, source); 123 strm.avail_out = CHUNK; [all...] |
gzjoin.c | 75 #define CHUNK 32768 /* must be a power of two and fit in unsigned */ 83 unsigned char *buf; /* allocated buffer of length CHUNK */ 107 in->buf = malloc(CHUNK); 131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); 135 } while (len != 0 && in->left < CHUNK); 174 /* seek past multiples of CHUNK bytes */ 175 if (skip > CHUNK) { 178 left = skip & (CHUNK - 1); 299 junk = malloc(CHUNK); 327 strm.avail_out = CHUNK; [all...] |
zran.c | 64 #define CHUNK 16384 /* file input buffer size */ 151 unsigned char input[CHUNK]; 172 strm.avail_in = fread(input, 1, CHUNK, in); 255 unsigned char input[CHUNK]; 315 strm.avail_in = fread(input, 1, CHUNK, in); 360 unsigned char buf[CHUNK]; 396 len = extract(in, index, offset, buf, CHUNK);
|
gzappend.c | 89 #define CHUNK (1U << LGCHUNK) 272 gz.buf = malloc(CHUNK); 404 in = malloc(CHUNK); 405 out = malloc(CHUNK); 411 len = read(fd, in, CHUNK); 424 strm->avail_out = CHUNK; 427 left = CHUNK - strm->avail_out; 429 len = write(gd, out + CHUNK - strm->avail_out - left, left);
|
/system/extras/tests/bionic/libc/other/ |
test_zlib.c | 43 #define CHUNK 32768 50 unsigned char in[CHUNK]; 51 unsigned char out[CHUNK]; 63 strm.avail_in = fread(in, 1, CHUNK, source); 74 strm.avail_out = CHUNK; 77 have = CHUNK - strm.avail_out; 98 static unsigned char in[CHUNK]; 99 static unsigned char out[CHUNK]; 113 strm.avail_in = fread(in, 1, CHUNK, source); 124 strm.avail_out = CHUNK; [all...] |
test_jpeg.c | 47 #define CHUNK 32768
|
/external/valgrind/main/memcheck/tests/ |
writev1.c | 11 #define CHUNK K_1 /* single chunk */ 21 {(caddr_t)-1, CHUNK}, 62 if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0)
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
ClassHeaderReader.java | 140 private static final int CHUNK = 2048; 145 int rounded = (int)(CHUNK * Math.ceil((float)amount / CHUNK));
|
/external/chromium_org/third_party/smhasher/src/ |
City.cpp | 376 #define CHUNK(multiplier, z) \ 393 CHUNK(1, 1); CHUNK(k0, 0); 394 CHUNK(1, 1); CHUNK(k0, 0); 395 CHUNK(1, 1); CHUNK(k0, 0); 399 CHUNK(k0, 0); 404 CHUNK(k0, 0);
|
/external/jemalloc/test/integration/ |
mallocx.c | 3 #define CHUNK 0x400000
|
posix_memalign.c | 3 #define CHUNK 0x400000
|
aligned_alloc.c | 3 #define CHUNK 0x400000
|
/external/zlib/src/contrib/blast/ |
blast.c | 414 #define CHUNK 16384 418 static unsigned char hold[CHUNK]; 421 return fread(hold, 1, CHUNK, (FILE *)how);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 189 final int CHUNK = 8192; 190 byte[] buf = new byte[CHUNK]; 196 int numRead = data.readEntityData(buf, 0, CHUNK);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sgmllib.py | 358 CHUNK = 1024 # increasing this to 8212 makes the problem go away 363 data = f.read(CHUNK) 365 if len(data) != CHUNK:
|
test_long.py | 810 # Suck up CHUNK bits at a time; 28 is enough so that we suc [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sgmllib.py | 358 CHUNK = 1024 # increasing this to 8212 makes the problem go away 363 data = f.read(CHUNK) 365 if len(data) != CHUNK:
|
test_long.py | 810 # Suck up CHUNK bits at a time; 28 is enough so that we suc [all...] |
/external/doclava/src/com/google/doclava/apicheck/ |
ApiFile.java | 37 final int CHUNK = 1024*1024; 40 hint = stream.available() + CHUNK; 43 if (hint < CHUNK) { 44 hint = CHUNK; 52 byte[] tmp = new byte[buf.length+CHUNK];
|
/external/libpng/contrib/libtests/ |
makepng.c | 21 * an sRGB or the appropriate gAMA chunk is written. "1.8" refers to the 24 * approximately value^(1/1.45) to the color values and so a gAMA chunk of 65909 43 * a tRNS chunk, as follows: 53 * The palette always has 2^bit-depth entries and the tRNS chunk one fewer. The 620 * the images look the same regardless of the gAMA chunk. 1165 png_uint_32 chunk = 0; local [all...] |
pngvalid.c | 2220 png_uint_32 chunk; member in struct:png_modification 2475 png_uint_32 len, chunk; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
tmschema.h | 648 TM_PART(3,PP,CHUNK)
|