Searched defs:strm (Results 1 - 13 of 13) sorted by relevance

/vbox/src/libs/zlib-1.2.6/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 Dgzjoin.c253 local void zpull(z_streamp strm, bin *in) argument
259 strm->avail_in = in->left;
260 strm->next_in = in->next;
288 z_stream strm; /* zlib inflate stream */ local
299 strm.zalloc = Z_NULL;
300 strm.zfree = Z_NULL;
301 strm.opaque = Z_NULL;
302 strm.avail_in = 0;
303 strm.next_in = Z_NULL;
304 ret = inflateInit2(&strm,
[all...]
H A Dzran.c145 z_stream strm; local
150 strm.zalloc = Z_NULL;
151 strm.zfree = Z_NULL;
152 strm.opaque = Z_NULL;
153 strm.avail_in = 0;
154 strm.next_in = Z_NULL;
155 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */
164 strm.avail_out = 0;
167 strm.avail_in = fread(input, 1, CHUNK, in);
172 if (strm
248 z_stream strm; local
[all...]
H A Dgun.c192 of buffered input at next. strm is used for passing error information back
196 file, read error, or write error (a write error indicated by strm->next_in
200 int outfile, z_stream *strm)
229 strm->msg = (char *)"unknown lzw flags set";
234 strm->msg = (char *)"lzw bits out of range";
254 strm->msg = (char *)"invalid lzw code";
281 strm->next_in = outbuf; /* signal write error */
321 strm->msg = (char *)"invalid lzw code";
353 strm->next_in = outbuf; /* signal write error */
370 /* Decompress a gzip file from infile to outfile. strm i
199 lunpipe(unsigned have, unsigned char *next, struct ind *indp, int outfile, z_stream *strm) argument
382 gunpipe(z_stream *strm, int infile, int outfile) argument
547 gunzip(z_stream *strm, char *inname, char *outname, int test) argument
635 z_stream strm; local
[all...]
H A Dgzappend.c253 /* decompress gzip file "name", return strm with a deflate stream ready to
257 local int gzscan(char *name, z_stream *strm, int level) argument
281 strm->zalloc = Z_NULL;
282 strm->zfree = Z_NULL;
283 strm->opaque = Z_NULL;
284 ret = inflateInit2(strm, -15);
291 strm->avail_in = gz.left;
292 strm->next_in = gz.next;
297 if (strm->avail_in == 0) {
299 strm
386 gztack(char *name, int gd, z_stream *strm, int last) argument
467 z_stream strm; local
[all...]
H A Dgzlog.c614 z_stream strm; local
620 strm.zalloc = Z_NULL;
621 strm.zfree = Z_NULL;
622 strm.opaque = Z_NULL;
623 if (deflateInit2(&strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, -15, 8,
634 deflateEnd(&strm);
638 deflateSetDictionary(&strm, buf, (uint)dict);
647 deflateEnd(&strm);
650 deflatePrime(&strm, (8 - log->back) & 7, *buf);
653 strm
[all...]
/vbox/src/libs/zlib-1.2.6/
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)
61 memmove(state->in, strm->next_in, strm->avail_in);
62 if (gz_load(state, state->in + strm->avail_in,
63 state->size - strm->avail_in, &got) == -1)
65 strm->avail_in += got;
66 strm
83 z_streamp strm = &(state->strm); local
171 z_streamp strm = &(state->strm); local
223 z_streamp strm = &(state->strm); local
289 z_streamp strm; local
[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
173 z_streamp strm; local
249 z_streamp strm; local
307 z_streamp strm; local
383 z_streamp strm; local
490 z_streamp strm; local
[all...]
H A Dgzguts.h178 z_stream strm; /* stream structure in-place (not a pointer) */ member in struct:__anon17372
H A Ddeflate.h98 z_streamp strm; /* pointer back to this zlib stream */ member in struct:internal_state
/vbox/src/libs/zlib-1.2.6/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...]
H A Dminigzip.c171 z_stream strm; member in struct:gzFile_s
204 gz->strm.zalloc = myalloc;
205 gz->strm.zfree = myfree;
206 gz->strm.opaque = Z_NULL;
208 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0);
210 gz->strm.next_in = 0;
211 gz->strm.avail_in = Z_NULL;
212 ret = inflateInit2(&(gz->strm), 15 + 16);
221 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm));
237 z_stream *strm; local
264 z_stream *strm; local
296 z_stream *strm; local
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dnanohttp.c156 z_stream *strm; /* Zlib stream object */ member in struct:xmlNanoHTTPCtxt
421 if (ctxt->strm != NULL) {
422 inflateEnd(ctxt->strm);
423 xmlFree(ctxt->strm);
773 ctxt->strm = xmlMalloc(sizeof(z_stream));
775 if (ctxt->strm != NULL) {
776 ctxt->strm->zalloc = Z_NULL;
777 ctxt->strm->zfree = Z_NULL;
778 ctxt->strm->opaque = Z_NULL;
779 ctxt->strm
[all...]

Completed in 2015 milliseconds