Lines Matching refs:outfile
120 int outfile; member
140 if (me->outfile != -1) in out()
145 ret = (int)write(me->outfile, buf, ret); in out()
201 int outfile, z_stream *strm) in lunpipe() argument
222 outd.outfile = outfile; in lunpipe()
383 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument
415 ret = lunpipe(have, next, indp, outfile, strm); in gunpipe()
467 outd.outfile = outfile; in gunpipe()
551 int infile, outfile; in gunzip() local
566 outfile = -1; in gunzip()
569 outfile = 1; /* stdout */ in gunzip()
572 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); in gunzip()
573 if (outfile == -1) { in gunzip()
582 ret = gunpipe(strm, infile, outfile); in gunzip()
583 if (outfile > 2) close(outfile); in gunzip()
590 if (infile > 2 && outfile > 2) { in gunzip()
599 if (outfile > 2) unlink(outname); in gunzip()
603 if (outfile > 2) unlink(outname); in gunzip()
607 if (outfile > 2) unlink(outname); in gunzip()
622 if (outfile > 2) unlink(outname); in gunzip()