Home
last modified time | relevance | path

Searched refs:CHUNK (Results 1 – 8 of 8) 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.c74 #define CHUNK 32768 /* must be a power of two and fit in unsigned */ macro
106 in->buf = malloc(CHUNK); in bopen()
130 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); in bload()
134 } while (len != 0 && in->left < CHUNK); in bload()
174 if (skip > CHUNK) { in bskip()
177 left = skip & (CHUNK - 1); in bskip()
298 junk = malloc(CHUNK); in gzcopy()
326 strm.avail_out = CHUNK; in gzcopy()
337 len += CHUNK - strm.avail_out; in gzcopy()
Dzran.c59 #define CHUNK 16384 /* file input buffer size */ macro
146 unsigned char input[CHUNK]; in build_index()
167 strm.avail_in = fread(input, 1, CHUNK, in); in build_index()
250 unsigned char input[CHUNK]; in extract()
310 strm.avail_in = fread(input, 1, CHUNK, in); in extract()
355 unsigned char buf[CHUNK]; in main()
391 len = extract(in, index, offset, buf, CHUNK); in main()
Dgzappend.c87 #define CHUNK (1U << LGCHUNK) macro
270 gz.buf = malloc(CHUNK); in gzscan()
402 in = fd == -1 ? NULL : malloc(CHUNK); in gztack()
403 out = malloc(CHUNK); in gztack()
409 len = fd == -1 ? 0 : read(fd, in, CHUNK); in gztack()
422 strm->avail_out = CHUNK; in gztack()
425 left = CHUNK - strm->avail_out; in gztack()
427 len = write(gd, out + CHUNK - strm->avail_out - left, left); in gztack()
/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/zlib/src/contrib/blast/
Dblast.c412 #define CHUNK 16384 macro
416 static unsigned char hold[CHUNK]; in inf()
419 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