Lines Matching full:strm
14 strm provides memory allocation functions in zalloc and zfree, or
19 int ZEXPORT inflateBack9Init_(strm, window, version, stream_size)
20 z_stream FAR *strm;
30 if (strm == Z_NULL || window == Z_NULL)
32 strm->msg = Z_NULL; /* in case we return an error */
33 if (strm->zalloc == (alloc_func)0) {
34 strm->zalloc = zcalloc;
35 strm->opaque = (voidpf)0;
37 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
38 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
42 strm->state = (voidpf)state;
191 strm provides the memory allocation functions and window buffer on input,
193 returns, strm will also provide an error message.
210 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
215 are not correct, i.e. strm is Z_NULL or the state was not initialized.
217 int ZEXPORT inflateBack9(strm, in, in_desc, out, out_desc)
218 z_stream FAR *strm;
253 /* Check that the strm exists and that the state was initialized */
254 if (strm == Z_NULL || strm->state == Z_NULL)
256 state = (struct inflate_state FAR *)strm->state;
259 strm->msg = Z_NULL;
265 next = strm->next_in;
266 have = next != Z_NULL ? strm->avail_in : 0;
308 strm->msg = (char *)"invalid block type";
319 strm->msg = (char *)"invalid stored block lengths";
356 strm->msg = (char *)"too many length symbols";
377 strm->msg = (char *)"invalid code lengths set";
401 strm->msg = (char *)"invalid bit length repeat";
424 strm->msg = (char *)"invalid bit length repeat";
443 strm->msg = (char *)"invalid literal/lengths set";
453 strm->msg = (char *)"invalid distances set";
501 strm->msg = (char *)"invalid literal/length code";
533 strm->msg = (char *)"invalid distance code";
547 strm->msg = (char *)"invalid distance too far back";
594 strm->next_in = next;
595 strm->avail_in = have;
599 int ZEXPORT inflateBack9End(strm)
600 z_stream FAR *strm;
602 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
604 ZFREE(strm, strm->state);
605 strm->state = Z_NULL;