Lines Matching refs:in_buffer
123 std::unique_ptr<uint8_t[]> DeflateBuffer(ArrayRef<const uint8_t> in_buffer, in DeflateBuffer() argument
134 uint32_t out_size = dchecked_integral_cast<uint32_t>(deflateBound(&strm, in_buffer.size())); in DeflateBuffer()
137 strm.avail_in = in_buffer.size(); in DeflateBuffer()
138 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in DeflateBuffer()
159 int InflateBuffer(ArrayRef<const uint8_t> in_buffer, /*out*/ ArrayRef<uint8_t> out_buffer) { in InflateBuffer() argument
165 strm.avail_in = in_buffer.size(); in InflateBuffer()
166 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in InflateBuffer()
485 ArrayRef<const uint8_t> in_buffer(Get(), Size()); in Deflate() local
487 std::unique_ptr<uint8_t[]> compressed_buffer = DeflateBuffer(in_buffer, &output_size); in Deflate()
501 ArrayRef<const uint8_t> in_buffer(Get(), Size()); in Inflate() local
504 int ret = InflateBuffer(in_buffer, out_buffer); in Inflate()