Searched refs:strm (Results 1 – 1 of 1) sorted by relevance
138 z_stream strm; in DeflateBuffer() local139 strm.zalloc = Z_NULL; in DeflateBuffer()140 strm.zfree = Z_NULL; in DeflateBuffer()141 strm.opaque = Z_NULL; in DeflateBuffer()142 int init_ret = deflateInit(&strm, 1); in DeflateBuffer()147 uint32_t out_size = dchecked_integral_cast<uint32_t>(deflateBound(&strm, in_buffer.size())); in DeflateBuffer()150 strm.avail_in = in_buffer.size(); in DeflateBuffer()151 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in DeflateBuffer()152 strm.avail_out = out_size; in DeflateBuffer()153 strm.next_out = &compressed_buffer[0]; in DeflateBuffer()[all …]