Lines Matching full:gzip
9 gzlog provides a mechanism for frequently appending short strings to a gzip
12 the gzip file, only compressing when the amount of uncompressed data has
17 in the gzip file, and is only updated once the gzip file is brought to a
31 foo.gz -- gzip file with the complete log
38 gzip file structure:
43 - gzip trailer
44 - no junk at end (no other gzip streams)
50 well as the crc and length of the gzip data before the append operation.
52 The foo.add file is created before the gzip file is marked for append, and
53 deleted after the gzip file is marked as complete. So if the append
56 operation was interrupted and when recovery is attempted, the gzip file will
68 to be compressed is missing due to some external force, a gzip file with
76 complete, the gzip file is marked as being in the replace state. This
77 completes the gzip file, so an interrupt after being so marked does not
78 result in recompression. Then the dictionary file is replaced, and the gzip
96 (consistent with the gzip format). File pointers are eight bytes long.
97 The crc's and lengths for the gzip trailer are four bytes long. (Note that
98 the length at the end of a gzip file is used for error checking only, and
100 length is two bytes long. The gzip extra field two-byte identification is
116 for the last stored block of the uncompressed data in the gzip file.
128 stored in the gzip file, compressed and uncompressed. It is used to
129 reconstruct the gzip trailer when compressing, as well as when recovering
143 block, or for the compressed data to be terminated and a valid gzip file
174 - Update the crc and length with the new data, and write the gzip trailer.
176 pointers, lengths, and crc's, and mark the gzip file as not in process.
201 - Append the crc and length of the data in the gzip file (previously
305 /* gzip header for gzlog */
307 0x1f, 0x8b, /* magic gzip id */
318 /* initial gzip extra field content (52 == HEAD + EXTRA + 1) */
330 /* initial gzip data and trailer */
405 /* Check the gzip header and read in the extra field, filling in the values in
406 the log structure. Return op on success or -1 if the gzip header was not as
408 field. This assumes that the gzip file has already been opened, with the
605 appending a final empty stored block and the gzip trailer. Return -1 if
694 /* no data to compress -- fix up existing gzip stream */
699 /* complete and truncate gzip stream */
809 this object (e.g. not a gzip file or does not contain the expected extra