Searched refs:buffer_size (Results 1 – 2 of 2) sorted by relevance
78 static constexpr size_t buffer_size = 32768; in ApplyBSDiffPatchAndStreamOutput() local85 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()
131 size_t buffer_size = 0; // # bytes read so far in LoadPartitionContents() local140 size_t next = current_size - buffer_size; in LoadPartitionContents()148 buffer_size += read; in LoadPartitionContents()181 buffer.resize(buffer_size); in LoadPartitionContents()