Lines Matching refs:zstream

1095   z_stream zstream;  in InflateEntryToWriter()  local
1101 memset(&zstream, 0, sizeof(zstream)); in InflateEntryToWriter()
1102 zstream.zalloc = Z_NULL; in InflateEntryToWriter()
1103 zstream.zfree = Z_NULL; in InflateEntryToWriter()
1104 zstream.opaque = Z_NULL; in InflateEntryToWriter()
1105 zstream.next_in = NULL; in InflateEntryToWriter()
1106 zstream.avail_in = 0; in InflateEntryToWriter()
1107 zstream.next_out = &write_buf[0]; in InflateEntryToWriter()
1108 zstream.avail_out = kBufSize; in InflateEntryToWriter()
1109 zstream.data_type = Z_UNKNOWN; in InflateEntryToWriter()
1115 zerr = zlib_inflateInit2(&zstream, -MAX_WBITS); in InflateEntryToWriter()
1131 std::unique_ptr<z_stream, decltype(zstream_deleter)> zstream_guard(&zstream, zstream_deleter); in InflateEntryToWriter()
1138 if (zstream.avail_in == 0) { in InflateEntryToWriter()
1148 zstream.next_in = &read_buf[0]; in InflateEntryToWriter()
1149 zstream.avail_in = getSize; in InflateEntryToWriter()
1153 zerr = inflate(&zstream, Z_NO_FLUSH); in InflateEntryToWriter()
1156 zerr, zstream.next_in, zstream.avail_in, in InflateEntryToWriter()
1157 zstream.next_out, zstream.avail_out); in InflateEntryToWriter()
1162 if (zstream.avail_out == 0 || in InflateEntryToWriter()
1163 (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in InflateEntryToWriter()
1164 const size_t write_size = zstream.next_out - &write_buf[0]; in InflateEntryToWriter()
1170 zstream.next_out = &write_buf[0]; in InflateEntryToWriter()
1171 zstream.avail_out = kBufSize; in InflateEntryToWriter()
1178 *crc_out = zstream.adler; in InflateEntryToWriter()
1180 if (zstream.total_out != uncompressed_length || compressed_length != 0) { in InflateEntryToWriter()
1182 zstream.total_out, uncompressed_length); in InflateEntryToWriter()