Searched refs:in_buffer (Results 1 – 1 of 1) sorted by relevance
123 std::unique_ptr<uint8_t[]> DeflateBuffer(ArrayRef<const uint8_t> in_buffer, in DeflateBuffer() argument134 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() argument165 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() local487 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[all …]