Lines Matching full:strm
189 of buffered input at next. strm is used for passing error information back
193 file, read error, or write error (a write error indicated by strm->next_in
197 int outfile, z_stream *strm)
225 strm->msg = (char *)"unknown lzw flags set";
230 strm->msg = (char *)"lzw bits out of range";
250 strm->msg = (char *)"invalid lzw code";
277 strm->next_in = outbuf; /* signal write error */
317 strm->msg = (char *)"invalid lzw code";
347 strm->next_in = outbuf; /* signal write error */
362 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
374 local int gunpipe(z_stream *strm, int infile, int outfile)
390 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */
398 strm->msg = (char *)"incorrect header check";
406 ret = lunpipe(have, next, indp, outfile, strm);
414 strm->msg = (char *)"unknown compression method";
427 strm->msg = (char *)"unknown header flags set";
464 strm->next_in = next;
465 strm->avail_in = have;
466 ret = inflateBack(strm, in, indp, out, &outd);
468 next = strm->next_in;
469 have = strm->avail_in;
470 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */
480 strm->msg = (char *)"incorrect data check";
491 strm->msg = (char *)"incorrect length check";
532 an empty string, write to stdout. strm is a pre-initialized inflateBack
539 local int gunzip(z_stream *strm, char *inname, char *outname, int test)
573 ret = gunpipe(strm, infile, outfile);
591 fprintf(stderr, "gun data error on %s: %s\n", inname, strm->msg);
599 if (strm->next_in != Z_NULL) {
627 z_stream strm;
631 strm.zalloc = Z_NULL;
632 strm.zfree = Z_NULL;
633 strm.opaque = Z_NULL;
634 ret = inflateBackInit(&strm, 15, window);
683 ret = gunzip(&strm, *argv, outname, test);
688 ret = gunzip(&strm, NULL, NULL, test);
691 inflateBackEnd(&strm);