Lines Matching refs:new_data
105 std::vector<unsigned char> new_data;
106 if (ApplyBSDiffPatchMem(old_data, old_size, patch, patch_offset, &new_data) != 0) {
110 if (sink(new_data.data(), new_data.size(), token) < static_cast<ssize_t>(new_data.size())) {
114 if (ctx) SHA1_Update(ctx, new_data.data(), new_data.size());
120 std::vector<unsigned char>* new_data) {
181 new_data->resize(new_size);
210 if (FillBuffer(new_data->data() + newpos, ctrl[0], &dstream) != 0) {
218 (*new_data)[newpos+i] += old_data[oldpos+i];
233 if (FillBuffer(new_data->data() + newpos, ctrl[1], &estream) != 0) {