Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgpatch.cpp80 static constexpr size_t buffer_size = 32768; in ApplyBSDiffPatchAndStreamOutput() local
87 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()
/bootable/recovery/updater/
Dblockimg.cpp421 size_t buffer_size = std::min<size_t>(32768, nti->writer->AvailableSpace()); in receive_brotli_new_data() local
422 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()