Searched refs:buffer_size (Results 1 – 3 of 3) sorted by relevance
76 static constexpr size_t buffer_size = 32768; in ApplyBSDiffPatchAndStreamOutput() local82 std::vector<uint8_t> buffer(buffer_size); in ApplyBSDiffPatchAndStreamOutput()83 strm->avail_out = buffer_size; in ApplyBSDiffPatchAndStreamOutput()96 size_t have = buffer_size - strm->avail_out; in ApplyBSDiffPatchAndStreamOutput()
129 size_t buffer_size = 0; // # bytes read so far in LoadPartitionContents() local138 size_t next = current_size - buffer_size; in LoadPartitionContents()146 buffer_size += read; in LoadPartitionContents()179 buffer.resize(buffer_size); in LoadPartitionContents()
326 size_t buffer_size = std::min<size_t>(32768, nti->writer->AvailableSpace()); in receive_brotli_new_data() local327 if (buffer_size == 0) { in receive_brotli_new_data()331 uint8_t buffer[buffer_size]; in receive_brotli_new_data()333 size_t available_out = buffer_size; in receive_brotli_new_data()346 LOG(DEBUG) << "bytes to write: " << buffer_size - available_out << ", bytes consumed " in receive_brotli_new_data()349 size_t write_now = buffer_size - available_out; in receive_brotli_new_data()