Lines Matching refs:outfile
119 int outfile; member
139 if (me->outfile != -1) in out()
144 ret = (int)write(me->outfile, buf, ret); in out()
200 int outfile, z_stream *strm) in lunpipe() argument
221 outd.outfile = outfile; in lunpipe()
382 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument
414 ret = lunpipe(have, next, indp, outfile, strm); in gunpipe()
466 outd.outfile = outfile; in gunpipe()
550 int infile, outfile; in gunzip() local
565 outfile = -1; in gunzip()
568 outfile = 1; /* stdout */ in gunzip()
571 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); in gunzip()
572 if (outfile == -1) { in gunzip()
581 ret = gunpipe(strm, infile, outfile); in gunzip()
582 if (outfile > 2) close(outfile); in gunzip()
589 if (infile > 2 && outfile > 2) { in gunzip()
598 if (outfile > 2) unlink(outname); in gunzip()
602 if (outfile > 2) unlink(outname); in gunzip()
606 if (outfile > 2) unlink(outname); in gunzip()
621 if (outfile > 2) unlink(outname); in gunzip()