Home
last modified time | relevance | path

Searched refs:available_out (Results 1 – 1 of 1) sorted by relevance

/packages/modules/adb/
Dcompression_utils.h94 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
[all …]