Lines Matching defs:GZIP
9 1.2 14 Oct 2018 Handle gzip streams with multiple members
11 1.3 18 Feb 2023 Permit raw deflate streams as well as zlib and gzip
12 Permit crossing gzip member boundaries when extracting
129 #define GZIP 31
139 int mode = 0; // mode: RAW, ZLIB, or GZIP (0 => not set yet)
158 // if it is neither zlib nor gzip. This could in theory result
164 strm.next_in[0] == 0x1f ? GZIP :
207 if (ret == Z_STREAM_END && mode == GZIP &&
209 // There is more input after the end of a gzip member. Reset the
210 // inflate state to read another gzip member. On success, this will
212 ret = inflateReset2(&strm, GZIP);
404 // If we're at the end of a gzip member and there's more to read,
405 // continue to the next gzip member.
406 if (ret == Z_STREAM_END && index->mode == GZIP) {
407 // Discard the gzip trailer.
408 unsigned drop = 8; // length of gzip trailer
414 // Read and discard the remainder of the gzip trailer.
425 // There's more after the gzip trailer. Use inflate to skip the
426 // gzip header and resume the raw inflate there.
427 inflateReset2(&strm, GZIP);