Home
last modified time | relevance | path

Searched refs:CHUNK (Results 1 – 19 of 19) sorted by relevance

/external/zlib/src/examples/
Dzpipe.c28 #define CHUNK 16384 macro
41 unsigned char in[CHUNK]; in def()
42 unsigned char out[CHUNK]; in def()
54 strm.avail_in = fread(in, 1, CHUNK, source); in def()
65 strm.avail_out = CHUNK; in def()
69 have = CHUNK - strm.avail_out; in def()
97 unsigned char in[CHUNK]; in inf()
98 unsigned char out[CHUNK]; in inf()
112 strm.avail_in = fread(in, 1, CHUNK, source); in inf()
123 strm.avail_out = CHUNK; in inf()
[all …]
Dgzjoin.c75 #define CHUNK 32768 /* must be a power of two and fit in unsigned */ macro
107 in->buf = malloc(CHUNK); in bopen()
131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); in bload()
135 } while (len != 0 && in->left < CHUNK); in bload()
175 if (skip > CHUNK) { in bskip()
178 left = skip & (CHUNK - 1); in bskip()
299 junk = malloc(CHUNK); in gzcopy()
327 strm.avail_out = CHUNK; in gzcopy()
338 len += CHUNK - strm.avail_out; in gzcopy()
Dzran.c64 #define CHUNK 16384 /* file input buffer size */ macro
151 unsigned char input[CHUNK]; in build_index()
172 strm.avail_in = fread(input, 1, CHUNK, in); in build_index()
255 unsigned char input[CHUNK]; in extract()
315 strm.avail_in = fread(input, 1, CHUNK, in); in extract()
360 unsigned char buf[CHUNK]; in main()
396 len = extract(in, index, offset, buf, CHUNK); in main()
Dgzappend.c89 #define CHUNK (1U << LGCHUNK) macro
272 gz.buf = malloc(CHUNK); in gzscan()
404 in = malloc(CHUNK); in gztack()
405 out = malloc(CHUNK); in gztack()
411 len = read(fd, in, CHUNK); in gztack()
424 strm->avail_out = CHUNK; in gztack()
427 left = CHUNK - strm->avail_out; in gztack()
429 len = write(gd, out + CHUNK - strm->avail_out - left, left); in gztack()
/external/mesa3d/src/glsl/glcpp/
Dglcpp.c46 #define CHUNK 4096 in load_text_fp() macro
53 if (total_read + CHUNK + 1 > text_size) { in load_text_fp()
54 text_size = text_size ? text_size * 2 : CHUNK + 1; in load_text_fp()
61 bytes = fread (text + total_read, 1, CHUNK, fp); in load_text_fp()
64 if (bytes < CHUNK) { in load_text_fp()
/external/libxml2/
Dtestlimits.c153 #define CHUNK 4096 macro
155 char filling[CHUNK + 1];
160 for (i = 0;i < CHUNK;i++) { in fillFilling()
163 filling[CHUNK] = 0; in fillFilling()
212 if (len > CHUNK) len = CHUNK; in hugeRead()
358 if (len > CHUNK) len = CHUNK; in crazyRead()
1385 {"huge:textNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
1386 {"huge:textNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
1387 {"huge:textNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
1389 {"huge:attrNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
[all …]
/external/valgrind/memcheck/tests/solaris/
Dsendfilev.c11 #define CHUNK (8 * 1024) macro
23 char chunk1[CHUNK]; in main()
26 if (nbytes != CHUNK) { in main()
50 vec[1].sfv_len = CHUNK; in main()
/external/valgrind/memcheck/tests/
Dwritev1.c11 #define CHUNK K_1 /* single chunk */ macro
21 {(caddr_t)-1, CHUNK},
62 if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0) in main()
/external/netperf/doc/examples/
Dbloat.sh13 CHUNK=60
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
37 sleep $CHUNK
/external/fio/crc/
Dtest.c26 #define CHUNK 131072U macro
289 uint64_t mb = CHUNK * NR_CHUNKS; in fio_crctest()
308 buf = malloc(CHUNK); in fio_crctest()
310 fill_random_buf(&state, buf, CHUNK); in fio_crctest()
327 t[i].fn(&t[i], buf, CHUNK); in fio_crctest()
331 t[i].fn(&t[i], buf, CHUNK); in fio_crctest()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassHeaderReader.java140 private static final int CHUNK = 2048; field in ClassHeaderReader
145 int rounded = (int)(CHUNK * Math.ceil((float)amount / CHUNK)); in buffer()
/external/zlib/src/contrib/blast/
Dblast.c414 #define CHUNK 16384 macro
418 static unsigned char hold[CHUNK]; in inf()
421 return fread(hold, 1, CHUNK, (FILE *)how); in inf()
/external/doclava/src/com/google/doclava/apicheck/
DApiFile.java39 final int CHUNK = 1024*1024; in parseApi() local
42 hint = stream.available() + CHUNK; in parseApi()
45 if (hint < CHUNK) { in parseApi()
46 hint = CHUNK; in parseApi()
54 byte[] tmp = new byte[buf.length+CHUNK]; in parseApi()
/external/libpng/contrib/libtests/
Dmakepng.c1512 # define CHUNK(a,b,c,d) (((a)<<24)+((b)<<16)+((c)<<8)+(d)) in find_insert() macro
1516 case CHUNK(105,67,67,80): /* iCCP */ in find_insert()
1521 case CHUNK(116,69,88,116): /* tEXt */ in find_insert()
1526 case CHUNK(122,84,88,116): /* zTXt */ in find_insert()
1531 case CHUNK(105,84,88,116): /* iTXt */ in find_insert()
1536 case CHUNK(104,73,83,84): /* hIST */ in find_insert()
1541 case CHUNK(115,66,73,84): /* sBIT */ in find_insert()
1547 case CHUNK(115,80,76,84): /* sPLT */ in find_insert()
Dpngvalid.c2585 #define CHUNK(a,b,c,d) (((a)<<24)+((b)<<16)+((c)<<8)+(d)) macro
2586 #define CHUNK_IHDR CHUNK(73,72,68,82)
2587 #define CHUNK_PLTE CHUNK(80,76,84,69)
2588 #define CHUNK_IDAT CHUNK(73,68,65,84)
2589 #define CHUNK_IEND CHUNK(73,69,78,68)
2590 #define CHUNK_cHRM CHUNK(99,72,82,77)
2591 #define CHUNK_gAMA CHUNK(103,65,77,65)
2592 #define CHUNK_sBIT CHUNK(115,66,73,84)
2593 #define CHUNK_sRGB CHUNK(115,82,71,66)
/external/jemalloc/test/integration/
Dposix_memalign.c3 #define CHUNK 0x400000 macro
Daligned_alloc.c3 #define CHUNK 0x400000 macro
/external/libxml2/doc/html/
Dindex.sgml406 <ANCHOR id="INPUT-CHUNK-CAPS" href="libxml/libxml-parserInternals.html#INPUT-CHUNK-CAPS">
/external/libpng/
Dlibpng-manual.txt3296 unk_chunk[1].data = (unsigned char *) "MY CHUNK DATA";