• Home
  • Raw
  • Download

Lines Matching full:gzip

24   jloup@gzip.org          madler@alumni.caltech.edu
29 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
62 The library also supports reading and writing files in gzip (.gz) format
64 with "gz". The gzip format is different from the zlib format. gzip is a
65 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
67 This library can optionally read and write gzip and raw deflate streams in
71 and on communications channels. The gzip format was designed for single-
110 gzip header information passed to and from zlib routines. See RFC 1952
116 int32_t xflags; /* extra flags (not used when writing a gzip file) */
126 …int32_t done; /* true when done reading gzip header (not used when writing a gzip fi…
331 so far (that is, total_in bytes). If a gzip stream is being generated, then
428 the zlib or gzip format, this will cause inflate() to return immediately
486 inflate() can decompress and check either zlib-wrapped or gzip-wrapped
488 initializing with inflateInit2(). Any information contained in the gzip
490 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
491 produced so far. The CRC-32 is checked against the gzip trailer, as is the
558 windowBits can also be greater than 15 for optional gzip encoding. Add
559 16 to windowBits to write a simple gzip header and trailer around the
560 compressed data instead of a zlib wrapper. The gzip header will have no
563 if the operating system was determined at compile time. If a gzip stream is
566 For raw deflate or gzip encoding, a request for a 256-byte window is
792 deflateSetHeader() provides gzip header information for when a gzip
796 in the provided zng_gz_header structure are written to the gzip header (xflag is
800 available there. If hcrc is true, a gzip header crc is included. Note that
801 the current versions of the command-line version of gzip (up through version
803 gzip file" and give up.
805 If deflateSetHeader is not used, the default gzip header has text false,
807 fields. The gzip header is returned to the default state by deflateReset().
835 not looking for a zlib or gzip header, not generating a check value, and not
841 the uncompressed data as is done in the zlib, gzip, and zip formats. For
845 windowBits can also be greater than 15 for optional gzip decoding. Add
846 32 to windowBits to enable zlib and gzip decoding with automatic header
847 detection, or add 16 to decode only the gzip format (the zlib format will
848 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
850 below), inflate() will *not* automatically decode concatenated gzip members.
851 inflate() will return Z_STREAM_END at the end of the gzip member. The state
852 would need to be reset to continue decoding a subsequent gzip member. This
853 *must* be done if there is more data after a gzip member, in order for the
854 decompression to be compliant with the gzip standard (RFC 1952).
1017 inflateGetHeader() requests that gzip header information be stored in the
1020 As inflate() processes the gzip stream, head->done is zero until the header
1023 no gzip header information forthcoming. Note that Z_BLOCK or Z_TREES can be
1027 The text, time, xflags, and os fields are filled in with the gzip header
1048 retrieve the header from the next gzip stream.
1096 A raw deflate stream is one with no zlib or gzip header or trailer.
1097 This routine would normally be used in a utility that reads zip or gzip
1181 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
1182 and decode gzip streams (to avoid linking crc code)
1277 /* gzip file access functions */
1280 This library supports reading and writing files in gzip (.gz) format with
1282 "gz". The gzip format is different from the zlib format. gzip is a gzip
1286 typedef struct gzFile_s *gzFile; /* semi-opaque gzip file descriptor */
1291 Opens a gzip (.gz) file for reading or writing. The mode parameter is as
1298 the gzip format.
1300 "a" can be used instead of "w" to request that the gzip stream that will
1302 reading and writing to the same gzip file is not supported. The addition of
1307 These functions, as well as gzip, will read and decode a sequence of gzip
1310 appending, gzopen does not test whether the file begins with a gzip stream,
1311 nor does it look for the end of the gzip streams to begin appending. gzopen
1312 will simply append a gzip stream to the existing file.
1314 gzopen can be used to read a file which is not in gzip format; in this
1317 byte gzip header.
1383 the input file is not in gzip format, gzread copies the given number of
1386 After reaching the end of a gzip stream in the input, gzread will continue
1387 to read, looking for another gzip stream. Any number of gzip streams may be
1389 If something other than a gzip stream is encountered after a gzip stream,
1392 gzread can be used to read a gzip file that is being concurrently written.
1396 gzread to be tried again. Z_OK indicates that a gzip stream was completed
1398 middle of a gzip stream. Note that gzread does not return -1 in the event
1399 of an incomplete gzip stream. This error is deferred until gzclose(), which
1400 will return Z_BUF_ERROR if the last gzread ended in the middle of a gzip
1531 gzip stream is completed in the output. If gzwrite() is called again, a new
1532 gzip stream will be started in the output. gzread() is able to read such
1533 concatenated gzip streams.
1572 reading a gzip stream from the middle of a file using gzdopen().
1581 includes the count of bytes that precede the gzip stream, for example when
1607 (0) if file is a gzip stream being decompressed.
1610 does not contain a gzip stream.
1614 is a gzip file. Therefore if gzbuffer() is used, it should be called before
1622 gzip file reading and decompression, which may not be desired.)
1636 last read ended in the middle of a gzip stream, or Z_OK on success.
1674 clearerr() function in stdio. This is useful for continuing to read a gzip