Lines Matching refs:available_out
94 size_t available_out = output_buffer_.size(); in Decode() local
96 while (available_out > 0 && !input_buffer_.empty()) { in Decode()
97 size_t len = std::min(available_out, input_buffer_.front_size()); in Decode()
99 available_out -= len; in Decode()
117 size_t available_out = output->size(); in Encode() local
120 while (available_out > 0 && !input_buffer_.empty()) { in Encode()
121 size_t len = std::min(available_out, input_buffer_.front_size()); in Encode()
123 available_out -= len; in Encode()
127 output->resize(output->size() - available_out); in Encode()
146 size_t available_out = output_buffer_.size(); in Decode() local
150 decoder_.get(), &available_in, &next_in, &available_out, &next_out, nullptr); in Decode()
155 size_t bytes_emitted = output_buffer_.size() - available_out; in Decode()
195 size_t available_out = output_bytes_left_; in Encode() local
205 &available_out, &next_out, nullptr)) { in Encode()
212 output_bytes_left_ = available_out; in Encode()
250 size_t available_out = output_buffer_.size(); in Decode() local
253 size_t rc = LZ4F_decompress(decoder_.get(), next_out, &available_out, next_in, in Decode()
270 *output = std::span<char>(output_buffer_.data(), available_out); in Decode()
331 size_t available_out = encode_block.capacity(); in Encode() local
334 size_t rc = LZ4F_compressUpdate(encoder_.get(), next_out, available_out, next_in, in Encode()
343 available_out -= rc; in Encode()
346 encode_block.resize(encode_block_size - available_out); in Encode()