Lines Matching defs:strm

14    strm provides memory allocation functions in zalloc and zfree, or
19 int ZEXPORT inflateBack9Init_(z_stream FAR *strm, unsigned char FAR *window,
26 if (strm == Z_NULL || window == Z_NULL)
28 strm->msg = Z_NULL; /* in case we return an error */
29 if (strm->zalloc == (alloc_func)0) {
30 strm->zalloc = zcalloc;
31 strm->opaque = (voidpf)0;
33 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
34 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
38 strm->state = (voidpf)state;
187 strm provides the memory allocation functions and window buffer on input,
189 returns, strm will also provide an error message.
206 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
211 are not correct, i.e. strm is Z_NULL or the state was not initialized.
213 int ZEXPORT inflateBack9(z_stream FAR *strm, in_func in, void FAR *in_desc,
243 /* Check that the strm exists and that the state was initialized */
244 if (strm == Z_NULL || strm->state == Z_NULL)
246 state = (struct inflate_state FAR *)strm->state;
249 strm->msg = Z_NULL;
254 next = strm->next_in;
255 have = next != Z_NULL ? strm->avail_in : 0;
297 strm->msg = (char *)"invalid block type";
308 strm->msg = (char *)"invalid stored block lengths";
345 strm->msg = (char *)"too many length symbols";
366 strm->msg = (char *)"invalid code lengths set";
390 strm->msg = (char *)"invalid bit length repeat";
413 strm->msg = (char *)"invalid bit length repeat";
427 strm->msg = (char *)"invalid code -- missing end-of-block";
441 strm->msg = (char *)"invalid literal/lengths set";
451 strm->msg = (char *)"invalid distances set";
499 strm->msg = (char *)"invalid literal/length code";
531 strm->msg = (char *)"invalid distance code";
545 strm->msg = (char *)"invalid distance too far back";
592 strm->next_in = next;
593 strm->avail_in = have;
597 int ZEXPORT inflateBack9End(z_stream FAR *strm) {
598 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
600 ZFREE(strm, strm->state);
601 strm->state = Z_NULL;