Searched refs:strm (Results 1 – 1 of 1) sorted by relevance
134 z_stream strm; in DeflateBuffer() local135 strm.zalloc = Z_NULL; in DeflateBuffer()136 strm.zfree = Z_NULL; in DeflateBuffer()137 strm.opaque = Z_NULL; in DeflateBuffer()138 int init_ret = deflateInit(&strm, 1); in DeflateBuffer()143 uint32_t out_size = dchecked_integral_cast<uint32_t>(deflateBound(&strm, in_buffer.size())); in DeflateBuffer()146 strm.avail_in = in_buffer.size(); in DeflateBuffer()147 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in DeflateBuffer()148 strm.avail_out = out_size; in DeflateBuffer()149 strm.next_out = &compressed_buffer[0]; in DeflateBuffer()[all …]