Searched refs:newpos (Results 1 – 1 of 1) sorted by relevance
193 off_t oldpos = 0, newpos = 0; in ApplyBSDiffPatchMem() local198 while (newpos < *new_size) { in ApplyBSDiffPatchMem()209 if (newpos + ctrl[0] > *new_size) { in ApplyBSDiffPatchMem()215 if (FillBuffer(*new_data + newpos, ctrl[0], &dstream) != 0) { in ApplyBSDiffPatchMem()223 (*new_data)[newpos+i] += old_data[oldpos+i]; in ApplyBSDiffPatchMem()228 newpos += ctrl[0]; in ApplyBSDiffPatchMem()232 if (newpos + ctrl[1] > *new_size) { in ApplyBSDiffPatchMem()238 if (FillBuffer(*new_data + newpos, ctrl[1], &estream) != 0) { in ApplyBSDiffPatchMem()244 newpos += ctrl[1]; in ApplyBSDiffPatchMem()