• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/zlib-55/zlib/examples/

Lines Matching defs:strm

192    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 is assumed to have been
382 local int gunpipe(z_stream *strm, int infile, int outfile)
398 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */
406 strm->msg = (char *)"incorrect header check";
414 ret = lunpipe(have, next, indp, outfile, strm);
422 strm->msg = (char *)"unknown compression method";
435 strm->msg = (char *)"unknown header flags set";
472 strm->next_in = next;
473 strm->avail_in = have;
474 ret = inflateBack(strm, in, indp, out, &outd);
476 next = strm->next_in;
477 have = strm->avail_in;
478 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */
488 strm->msg = (char *)"incorrect data check";
499 strm->msg = (char *)"incorrect length check";
540 an empty string, write to stdout. strm is a pre-initialized inflateBack
547 local int gunzip(z_stream *strm, char *inname, char *outname, int test)
581 ret = gunpipe(strm, infile, outfile);
599 fprintf(stderr, "gun data error on %s: %s\n", inname, strm->msg);
607 if (strm->next_in != Z_NULL) {
635 z_stream strm;
639 strm.zalloc = Z_NULL;
640 strm.zfree = Z_NULL;
641 strm.opaque = Z_NULL;
642 ret = inflateBackInit(&strm, 15, window);
691 ret = gunzip(&strm, *argv, outname, test);
696 ret = gunzip(&strm, NULL, NULL, test);
699 inflateBackEnd(&strm);