Home | History | Annotate | Download | only in bsdiff

Lines Matching refs:oldpos

259   // The oldpos can be negative, but the new pos is only incremented linearly.
260 int64_t oldpos = 0;
281 int64_t seek_offset = oldpos;
284 // because we will skip part where |oldpos| < 0.
286 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(),
302 std::min<uint64_t>(oldpos + control_entry.diff_size, old_file_size);
332 oldpos += control_entry.diff_size;
334 if (oldpos > static_cast<int64_t>(old_file_size)) {
336 // because we skipped part where |oldpos| > old_file_size.
338 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(),
361 oldpos += control_entry.offset_increment;