Lines Matching refs:outfile
119 int outfile;
139 if (me->outfile != -1)
144 ret = (int)write(me->outfile, buf, ret);
190 /* Decompress a compress (LZW) file from indp to outfile. The compress magic
200 int outfile, z_stream *strm)
221 outd.outfile = outfile;
370 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
373 to the output file. If outfile is -1, then the gzip stream(s) integrity is
382 local int gunpipe(z_stream *strm, int infile, int outfile)
414 ret = lunpipe(have, next, indp, outfile, strm);
466 outd.outfile = outfile;
550 int infile, outfile;
565 outfile = -1;
568 outfile = 1; /* stdout */
571 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666);
572 if (outfile == -1) {
581 ret = gunpipe(strm, infile, outfile);
582 if (outfile > 2) close(outfile);
589 if (infile > 2 && outfile > 2) {
598 if (outfile > 2) unlink(outname);
602 if (outfile > 2) unlink(outname);
606 if (outfile > 2) unlink(outname);
621 if (outfile > 2) unlink(outname);