Home
last modified time | relevance | path

Searched refs:CHUNK (Results 1 – 11 of 11) 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/chromium_org/third_party/mesa/src/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/valgrind/main/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/chromium_org/third_party/smhasher/src/
DCity.cpp376 #define CHUNK(multiplier, z) \ in CityHashCrc256Long() macro
393 CHUNK(1, 1); CHUNK(k0, 0); in CityHashCrc256Long()
394 CHUNK(1, 1); CHUNK(k0, 0); in CityHashCrc256Long()
395 CHUNK(1, 1); CHUNK(k0, 0); in CityHashCrc256Long()
399 CHUNK(k0, 0); in CityHashCrc256Long()
404 CHUNK(k0, 0); in CityHashCrc256Long()
/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.java37 final int CHUNK = 1024*1024; in parseApi() local
40 hint = stream.available() + CHUNK; in parseApi()
43 if (hint < CHUNK) { in parseApi()
44 hint = CHUNK; in parseApi()
52 byte[] tmp = new byte[buf.length+CHUNK]; in parseApi()
/external/srec/config/en.us/dictionary/
Dc0.619877 CHUNK CH AH1 NG K