Home | History | Annotate | Download | only in infback9

Lines Matching refs: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;
186 strm provides the memory allocation functions and window buffer on input,
188 returns, strm will also provide an error message.
205 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
210 are not correct, i.e. strm is Z_NULL or the state was not initialized.
212 int ZEXPORT inflateBack9(z_stream FAR *strm, in_func in, void FAR *in_desc,
242 /* Check that the strm exists and that the state was initialized */
243 if (strm == Z_NULL || strm->state == Z_NULL)
245 state = (struct inflate_state FAR *)strm->state;
248 strm->msg = Z_NULL;
253 next = strm->next_in;
254 have = next != Z_NULL ? strm->avail_in : 0;
296 strm->msg = (char *)"invalid block type";
307 strm->msg = (char *)"invalid stored block lengths";
344 strm->msg = (char *)"too many length symbols";
365 strm->msg = (char *)"invalid code lengths set";
389 strm->msg = (char *)"invalid bit length repeat";
412 strm->msg = (char *)"invalid bit length repeat";
426 strm->msg = (char *)"invalid code -- missing end-of-block";
440 strm->msg = (char *)"invalid literal/lengths set";
450 strm->msg = (char *)"invalid distances set";
498 strm->msg = (char *)"invalid literal/length code";
530 strm->msg = (char *)"invalid distance code";
544 strm->msg = (char *)"invalid distance too far back";
591 strm->next_in = next;
592 strm->avail_in = have;
596 int ZEXPORT inflateBack9End(z_stream FAR *strm) {
597 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
599 ZFREE(strm, strm->state);
600 strm->state = Z_NULL;