Lines Matching refs:output_buffer_
60 Decoder(std::span<char> output_buffer) : output_buffer_(output_buffer) {} in Decoder()
65 std::span<char> output_buffer_; member
94 size_t available_out = output_buffer_.size(); in Decode()
95 void* p = output_buffer_.data(); in Decode()
102 *output = std::span(output_buffer_.data(), static_cast<char*>(p)); in Decode()
146 size_t available_out = output_buffer_.size(); in Decode()
147 uint8_t* next_out = reinterpret_cast<uint8_t*>(output_buffer_.data()); in Decode()
155 size_t bytes_emitted = output_buffer_.size() - available_out; in Decode()
156 *output = std::span<char>(output_buffer_.data(), bytes_emitted); in Decode()
250 size_t available_out = output_buffer_.size(); in Decode()
251 char* next_out = output_buffer_.data(); in Decode()
270 *output = std::span<char>(output_buffer_.data(), available_out); in Decode()
300 output_buffer_.append(std::move(header)); in LZ4Encoder()
305 return output_buffer_.size() >= output_block_size_ || lz4_finalized_; in OutputReady()
347 output_buffer_.append(std::move(encode_block)); in Encode()
362 output_buffer_.append(std::move(final_block)); in Encode()
366 size_t len = std::min(output_block_size_, output_buffer_.size()); in Encode()
367 *output = output_buffer_.take_front(len).coalesce(); in Encode()
372 if (lz4_finalized_ && output_buffer_.empty()) { in Encode()
383 IOVector output_buffer_; member
401 out.dst = output_buffer_.data(); in Decode()
404 out.size = static_cast<size_t>(output_buffer_.size()); in Decode()
422 *output = std::span<char>(output_buffer_.data(), out.pos); in Decode()