Home | History | Annotate | Download | only in test

Lines Matching defs:out

242     unsigned char out[BUFLEN];
250 strm->next_out = out;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
301 unsigned char out[BUFLEN];
310 strm->next_out = out;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
339 void gz_compress OF((FILE *in, gzFile out));
341 int gz_compress_mmap OF((FILE *in, gzFile out));
343 void gz_uncompress OF((gzFile in, FILE *out));
362 void gz_compress(in, out)
364 gzFile out;
374 if (gz_compress_mmap(in, out) == Z_OK) return;
384 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err));
387 if (gzclose(out) != Z_OK) error("failed gzclose");
395 int gz_compress_mmap(in, out)
397 gzFile out;
416 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
418 if (len != (int)buf_len) error(gzerror(out, &err));
422 if (gzclose(out) != Z_OK) error("failed gzclose");
430 void gz_uncompress(in, out)
432 FILE *out;
443 if ((int)fwrite(buf, 1, (unsigned)len, out) != len) {
447 if (fclose(out)) error("failed fclose");
463 gzFile out;
482 out = gzopen(outfile, mode);
483 if (out == NULL) {
487 gz_compress(in, out);
501 FILE *out;
534 out = fopen(outfile, "wb");
535 if (out == NULL) {
540 gz_uncompress(in, out);