Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgpatch.cpp78 static constexpr size_t buffer_size = 32768; in ApplyBSDiffPatchAndStreamOutput() local
85 std::vector<uint8_t> buffer(buffer_size); in ApplyBSDiffPatchAndStreamOutput()
86 strm.avail_out = buffer_size; in ApplyBSDiffPatchAndStreamOutput()
99 size_t have = buffer_size - strm.avail_out; in ApplyBSDiffPatchAndStreamOutput()
Dapplypatch.cpp131 size_t buffer_size = 0; // # bytes read so far in LoadPartitionContents() local
140 size_t next = current_size - buffer_size; in LoadPartitionContents()
148 buffer_size += read; in LoadPartitionContents()
181 buffer.resize(buffer_size); in LoadPartitionContents()