Searched defs:gz (Results 1 - 3 of 3) sorted by relevance
/dovecot/src/lib-compression/ |
H A D | test-compression.c | 102 const struct compression_handler *gz = compression_lookup_handler("gz"); local 107 if (gz == NULL || gz->create_ostream == NULL) 114 output = gz->create_ostream(buf_output, 6); 120 output = gz->create_ostream(buf_output, 6); 133 input = gz->create_istream(test_input, TRUE); 152 test_begin("gz concat"); 159 test_begin("gz no concat"); 166 const struct compression_handler *gz local [all...] |
H A D | istream-zlib.c | 33 bool gz:1; member in struct:zlib_istream 80 zlib_read_error(zstream, "missing gz header"); 84 zlib_read_error(zstream, "gz header is too large"); 98 zlib_read_error(zstream, "wrong magic in header (not gz file?)"); 146 zlib_read_error(zstream, "missing gz trailer"); 157 zlib_read_error(zstream, "gz trailer has wrong CRC value"); 186 if (!zstream->gz || i_stream_read_eof(stream->parent)) { 339 zstream->header_read = !zstream->gz; 340 zstream->trailer_read = !zstream->gz; 479 i_stream_create_zlib(struct istream *input, bool gz, boo argument [all...] |
H A D | ostream-zlib.c | 25 bool gz:1; member in struct:zlib_ostream 75 if (!zstream->gz) 120 flush = zstream->ostream.corked || zstream->gz ? 152 i_assert(zstream->gz); 153 i_panic("zlib.write(%s) failed: Can't write more data to .gz after flushing", 192 flush = !zstream->gz ? Z_SYNC_FLUSH : 291 o_stream_create_zlib(struct ostream *output, int level, bool gz) argument 304 zstream->gz = gz; 305 if (!gz) [all...] |
Completed in 13 milliseconds