Searched refs:strm (Results 1 - 25 of 91) sorted by relevance

1234

/external/libmicrohttpd/src/microspdy/
H A Dcompression.h38 * @param strm Zlib stream on which we work
42 SPDYF_zlib_deflate_init(z_stream *strm);
49 * @param strm Zlib stream on which we work
52 SPDYF_zlib_deflate_end(z_stream *strm);
58 * @param strm Zlib stream on which we work
69 SPDYF_zlib_deflate(z_stream *strm,
81 * @param strm Zlib stream on which we work
85 SPDYF_zlib_inflate_init(z_stream *strm);
92 * @param strm Zlib stream on which we work
95 SPDYF_zlib_inflate_end(z_stream *strm);
[all...]
/external/pdfium/third_party/zlib_v128/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm
89 z_streamp strm = &(state->strm); local
177 z_streamp strm = &(state->strm); local
229 z_streamp strm = &(state->strm); local
295 z_streamp strm; local
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
105 z_streamp strm)
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm->total_in = strm
104 inflateResetKeep( z_streamp strm) argument
129 inflateReset( z_streamp strm) argument
142 inflateReset2( z_streamp strm, int windowBits) argument
180 inflateInit2_( z_streamp strm, int windowBits, const char *version, int stream_size) argument
222 inflateInit_( z_streamp strm, const char *version, int stream_size) argument
230 inflatePrime( z_streamp strm, int bits, int value) argument
379 updatewindow( z_streamp strm, const Bytef *end, unsigned copy) argument
605 inflate( z_streamp strm, int flush) argument
[all...]
H A Dgzwrite.c19 z_streamp strm = &(state->strm); local
39 strm->zalloc = Z_NULL;
40 strm->zfree = Z_NULL;
41 strm->opaque = Z_NULL;
42 ret = deflateInit2(strm, state->level, Z_DEFLATED,
57 strm->avail_out = state->size;
58 strm->next_out = state->out;
59 state->x.next = strm->next_out;
76 z_streamp strm local
139 z_streamp strm = &(state->strm); local
172 z_streamp strm; local
252 z_streamp strm; local
314 z_streamp strm; local
394 z_streamp strm; local
502 z_streamp strm; local
[all...]
H A Ddeflate.c86 local void flush_pending OF((z_streamp strm));
87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
202 z_streamp strm,
207 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
209 /* To do: ignore strm->next_in if we use it as window */
214 z_streamp strm,
236 if (strm == Z_NULL) return Z_STREAM_ERROR;
238 strm->msg = Z_NULL;
239 if (strm->zalloc == (alloc_func)0) {
243 strm
201 deflateInit_( z_streamp strm, int level, const char *version, int stream_size) argument
213 deflateInit2_( z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) argument
322 deflateSetDictionary( z_streamp strm, const Bytef *dictionary, uInt dictLength) argument
391 deflateResetKeep( z_streamp strm) argument
426 deflateReset( z_streamp strm) argument
449 deflatePending( z_streamp strm, unsigned *pending, int *bits) argument
489 deflateParams( z_streamp strm, int level, int strategy) argument
530 deflateTune( z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) argument
565 deflateBound( z_streamp strm, uLong sourceLen) argument
641 flush_pending( z_streamp strm) argument
664 deflate( z_streamp strm, int flush) argument
978 deflateEnd( z_streamp strm) argument
1075 read_buf( z_streamp strm, Bytef *buf, unsigned size) argument
[all...]
/external/syslinux/com32/lib/zlib/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int updatewindow OF((z_streamp strm, unsigned out));
103 int ZEXPORT inflateReset(strm)
104 z_streamp strm;
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
109 state = (struct inflate_state FAR *)strm->state;
110 strm
[all...]
H A Ddeflate.c86 local void flush_pending OF((z_streamp strm));
87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
198 int ZEXPORT deflateInit_(strm, level, version, stream_size)
199 z_streamp strm;
204 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
206 /* To do: ignore strm->next_in if we use it as window */
210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
212 z_streamp strm;
234 if (strm == Z_NULL) return Z_STREAM_ERROR;
236 strm
[all...]
/external/zlib/src/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
104 int ZEXPORT inflateResetKeep(strm)
105 z_streamp strm;
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm
[all...]
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm
89 z_streamp strm = &(state->strm); local
177 z_streamp strm = &(state->strm); local
229 z_streamp strm = &(state->strm); local
295 z_streamp strm; local
[all...]
H A Ddeflate.c86 local void flush_pending OF((z_streamp strm));
87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
201 int ZEXPORT deflateInit_(strm, level, version, stream_size)
202 z_streamp strm;
207 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
209 /* To do: ignore strm->next_in if we use it as window */
213 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
215 z_streamp strm;
237 if (strm == Z_NULL) return Z_STREAM_ERROR;
239 strm
[all...]
H A Dgzwrite.c19 z_streamp strm = &(state->strm); local
39 strm->zalloc = Z_NULL;
40 strm->zfree = Z_NULL;
41 strm->opaque = Z_NULL;
42 ret = deflateInit2(strm, state->level, Z_DEFLATED,
57 strm->avail_out = state->size;
58 strm->next_out = state->out;
59 state->x.next = strm->next_out;
76 z_streamp strm local
139 z_streamp strm = &(state->strm); local
172 z_streamp strm; local
252 z_streamp strm; local
314 z_streamp strm; local
395 z_streamp strm; local
503 z_streamp strm; local
[all...]
/external/squashfs-tools/squashfs-tools/
H A Dlzma_xz_wrapper.c43 lzma_stream strm = LZMA_STREAM_INIT; local
49 res = lzma_alone_encoder(&strm, &opt);
51 lzma_end(&strm);
55 strm.next_out = dest;
56 strm.avail_out = block_size;
57 strm.next_in = src;
58 strm.avail_in = size;
60 res = lzma_code(&strm, LZMA_FINISH);
61 lzma_end(&strm);
80 return (int) strm
102 lzma_stream strm = LZMA_STREAM_INIT; local
[all...]
/external/zlib/src/examples/
H A Dzpipe.c40 z_stream strm; local
45 strm.zalloc = Z_NULL;
46 strm.zfree = Z_NULL;
47 strm.opaque = Z_NULL;
48 ret = deflateInit(&strm, level);
54 strm.avail_in = fread(in, 1, CHUNK, source);
56 (void)deflateEnd(&strm);
60 strm.next_in = in;
65 strm.avail_out = CHUNK;
66 strm
96 z_stream strm; local
[all...]
H A Dzran.c150 z_stream strm; local
155 strm.zalloc = Z_NULL;
156 strm.zfree = Z_NULL;
157 strm.opaque = Z_NULL;
158 strm.avail_in = 0;
159 strm.next_in = Z_NULL;
160 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */
169 strm.avail_out = 0;
172 strm.avail_in = fread(input, 1, CHUNK, in);
177 if (strm
253 z_stream strm; local
[all...]
H A Dgzappend.c255 /* decompress gzip file "name", return strm with a deflate stream ready to
259 local int gzscan(char *name, z_stream *strm, int level) argument
283 strm->zalloc = Z_NULL;
284 strm->zfree = Z_NULL;
285 strm->opaque = Z_NULL;
286 ret = inflateInit2(strm, -15);
293 strm->avail_in = gz.left;
294 strm->next_in = gz.next;
299 if (strm->avail_in == 0) {
301 strm
388 gztack(char *name, int gd, z_stream *strm, int last) argument
469 z_stream strm; local
[all...]
H A Dgzjoin.c254 local void zpull(z_streamp strm, bin *in) argument
260 strm->avail_in = in->left;
261 strm->next_in = in->next;
289 z_stream strm; /* zlib inflate stream */ local
300 strm.zalloc = Z_NULL;
301 strm.zfree = Z_NULL;
302 strm.opaque = Z_NULL;
303 strm.avail_in = 0;
304 strm.next_in = Z_NULL;
305 ret = inflateInit2(&strm,
[all...]
/external/zlib/src/test/
H A Dinfcover.c32 z_stream strm;
33 mem_setup(&strm) initializes the memory tracking and sets the
34 zalloc, zfree, and opaque members of strm to use
35 memory tracking for all zlib operations on strm
36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
41 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used
42 mem_high(&strm, "msg") prints to stderr "msg" and the high water mark
43 mem_done(&strm, "msg") ends memory tracking, releases all allocations
50 strm members to Z_NULL to use the default memory
52 using strm
158 mem_setup(z_stream *strm) argument
176 mem_limit(z_stream *strm, size_t limit) argument
184 mem_used(z_stream *strm, char *prefix) argument
192 mem_high(z_stream *strm, char *prefix) argument
200 mem_done(z_stream *strm, char *prefix) argument
290 z_stream strm, copy; local
353 z_stream strm; local
391 z_stream strm, copy; local
473 z_stream strm; local
513 z_stream strm; local
[all...]
/external/zlib/src/contrib/infback9/
H A Dinfback9.h23 ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm,
26 ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm));
27 ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm,
31 #define inflateBack9Init(strm, window) \
32 inflateBack9Init_((strm), (window), \
/external/freetype/src/gzip/
H A Dzlib.h176 ZEXTERN(int) deflateInit OF((z_streamp strm, int level));
258 deflate() sets strm->adler to the adler32 checksum of all input read
289 ZEXTERN(int) inflateInit OF((z_streamp strm));
309 ZEXTERN(int) inflate OF((z_streamp strm, int flush));
356 below), inflate sets strm-adler to the adler32 checksum of the
358 it sets strm->adler to the adler32 checksum of all output produced
378 ZEXTERN(int) inflateEnd OF((z_streamp strm));
396 ZEXTERN(int) deflateInit2 OF((z_streamp strm,
459 Upon return of this function, strm->adler is set to the Adler32 value
509 be compressed and flushed. In particular, strm
[all...]
/external/bzip2/
H A Dbzlib.c149 ( bz_stream* strm,
159 if (strm == NULL ||
165 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc;
166 if (strm->bzfree == NULL) strm->bzfree = default_bzfree;
170 s->strm = strm;
203 strm->state = s;
204 strm
148 BZ2_bzCompressInit( bz_stream* strm, int blockSize100k, int verbosity, int workFactor ) argument
407 BZ2_bzCompress( bz_stream *strm, int action ) argument
492 BZ2_bzDecompressInit( bz_stream* strm, int verbosity, int small ) argument
898 bz_stream strm; member in struct:__anon726
1256 bz_stream strm; local
1307 bz_stream strm; local
[all...]
/external/libxml2/
H A Dxzlib.c75 lzma_stream strm; /* stream structure in-place (not a pointer) */ member in struct:__anon12181
132 state->strm.avail_in = 0; /* no input data yet */
257 lzma_stream *strm = &(state->strm); local
263 unsigned tmp = strm->avail_in;
266 strm->avail_in = tmp;
269 strm->avail_in = tmp;
270 strm->next_in = state->in;
280 state->strm.avail_in = state->zstrm.avail_in;
281 state->strm
292 lzma_stream *strm = &(state->strm); local
300 lzma_stream *strm = &(state->strm); local
370 z_streamp strm = &(state->zstrm); local
387 lzma_stream *strm = &(state->strm); local
535 lzma_stream *strm = &(state->strm); local
636 lzma_stream *strm = &(state->strm); local
693 lzma_stream *strm; local
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c54 strm->avail_in >= 6
55 strm->avail_out >= 258
56 start >= strm->avail_out
70 Therefore if strm->avail_in >= 6, then there is enough input to avoid
75 requires strm->avail_out >= 258 for each loop to avoid checking for
86 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */
88 /* 32 16 */ unsigned char FAR *out; /* edi rdi local strm->next_out */
92 /* 64 32 */ code const FAR *lcode; /* ebp rbp local strm->lencode */
93 /* 72 36 */ code const FAR *dcode; /* r11 local strm->distcode */
94 /* 80 40 */ size_t /*unsigned long */hold; /* edx rdx local strm
[all...]

Completed in 462 milliseconds

1234