Home | History | Annotate | Download | only in examples

Lines Matching full:gzip

8    1.1  21 Feb 2005  Decompress concatenated gzip streams
27 decompresses the data in the named gzip files. If no arguments are given,
34 listed files or stdin will be tested as gzip files for integrity (without
38 Like gzip, gun allows concatenated gzip streams and will decompress them,
39 writing all of the uncompressed data to the output. Unlike gzip, gun allows
116 bytes output, both for checking against the gzip trailer. (The length in
117 the gzip trailer is stored modulo 2^32, so it's ok if a long is 32 bits and
165 unsigned char match[65280 + 2]; /* buffer for reversed match or gzip
371 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
373 of a series of gzip streams, in which case all of them will be decompressed
374 to the output file. If outfile is -1, then the gzip stream(s) integrity is
380 prematurely or a write error occurs, or Z_ERRNO if junk (not a another gzip
381 stream) follows a valid gzip stream.
396 /* decompress concatenated gzip streams */
398 first = 1; /* looking for first gzip header */
401 /* look for the two magic header bytes for a gzip stream */
404 break; /* empty gzip stream is ok */
409 break; /* not a gzip or compress header */
419 /* process remainder of gzip header */
506 /* go back and look for another gzip stream */
539 decompress without writing and check the gzip trailer for integrity. If