/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);
|
/external/valgrind/memcheck/tests/solaris/ |
sendfilev.c | 11 #define CHUNK (8 * 1024) 23 char chunk1[CHUNK]; 26 if (nbytes != CHUNK) { 50 vec[1].sfv_len = CHUNK;
|
/external/valgrind/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/netperf/doc/examples/ |
bloat.sh | 13 CHUNK=60 25 # sleep CHUNK seconds 26 sleep $CHUNK 32 netperf -H $1 -l `expr $CHUNK \* 2` -t TCP_STREAM -D 0.25 -v 2 -- -m 1K 2>&1 > netperf_stream.out 36 # sleep another CHUNK seconds 37 sleep $CHUNK
|
/external/fio/crc/ |
test.c | 26 #define CHUNK 131072U 289 uint64_t mb = CHUNK * NR_CHUNKS; 308 buf = malloc(CHUNK); 310 fill_random_buf(&state, buf, CHUNK); 327 t[i].fn(&t[i], buf, CHUNK); 331 t[i].fn(&t[i], buf, CHUNK);
|
/external/libxml2/ |
testlimits.c | 153 #define CHUNK 4096 155 char filling[CHUNK + 1]; 160 for (i = 0;i < CHUNK;i++) { 163 filling[CHUNK] = 0; 212 if (len > CHUNK) len = CHUNK; 358 if (len > CHUNK) len = CHUNK; [all...] |
/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/jemalloc/test/integration/ |
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);
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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 | 39 final int CHUNK = 1024*1024; 42 hint = stream.available() + CHUNK; 45 if (hint < CHUNK) { 46 hint = CHUNK; 54 byte[] tmp = new byte[buf.length+CHUNK];
|
/toolchain/binutils/binutils-2.25/bfd/ |
ihex.c | 130 #define CHUNK 16 721 char buf[9 + CHUNK * 2 + 4]; 782 if (count > CHUNK) 783 now = CHUNK;
|
/external/libpng/contrib/libtests/ |
makepng.c | 22 * an sRGB or the appropriate gAMA chunk is written. "1.8" refers to the 25 * approximately value^(1/1.45) to the color values and so a gAMA chunk of 65909 44 * given the PNG file has a tRNS chunk, as follows: 54 * The palette always has 2^bit-depth entries and the tRNS chunk one fewer. The 57 * For formats other than color-mapped ones if --tRNS is specified a tRNS chunk 870 * the images look the same regardless of the gAMA chunk. 1487 png_uint_32 chunk = 0; local [all...] |