Searched refs:buffer_size (Results 1 – 2 of 2) sorted by relevance
80 static constexpr size_t buffer_size = 32768; in ApplyBSDiffPatchAndStreamOutput() local87 std::vector<uint8_t> buffer(buffer_size); in ApplyBSDiffPatchAndStreamOutput()88 strm.avail_out = buffer_size; in ApplyBSDiffPatchAndStreamOutput()101 size_t have = buffer_size - strm.avail_out; in ApplyBSDiffPatchAndStreamOutput()
421 size_t buffer_size = std::min<size_t>(32768, nti->writer->AvailableSpace()); in receive_brotli_new_data() local422 if (buffer_size == 0) { in receive_brotli_new_data()426 uint8_t buffer[buffer_size]; in receive_brotli_new_data()428 size_t available_out = buffer_size; in receive_brotli_new_data()441 LOG(DEBUG) << "bytes to write: " << buffer_size - available_out << ", bytes consumed " in receive_brotli_new_data()444 size_t write_now = buffer_size - available_out; in receive_brotli_new_data()