Searched refs:newpos (Results 1 – 1 of 1) sorted by relevance
183 off_t oldpos = 0, newpos = 0; in ApplyBSDiffPatchMem() local188 while (newpos < new_size) { in ApplyBSDiffPatchMem()204 if (newpos + ctrl[0] > new_size) { in ApplyBSDiffPatchMem()210 if (FillBuffer(new_data->data() + newpos, ctrl[0], &dstream) != 0) { in ApplyBSDiffPatchMem()218 (*new_data)[newpos+i] += old_data[oldpos+i]; in ApplyBSDiffPatchMem()223 newpos += ctrl[0]; in ApplyBSDiffPatchMem()227 if (newpos + ctrl[1] > new_size) { in ApplyBSDiffPatchMem()233 if (FillBuffer(new_data->data() + newpos, ctrl[1], &estream) != 0) { in ApplyBSDiffPatchMem()239 newpos += ctrl[1]; in ApplyBSDiffPatchMem()