Home
last modified time | relevance | path

Searched refs:oldpos (Results 1 – 20 of 20) sorted by relevance

/external/bsdiff/
Dbspatch.cc261 int64_t oldpos = 0; in bspatch() local
282 int64_t seek_offset = oldpos; in bspatch()
287 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(), in bspatch()
303 std::min<uint64_t>(oldpos + control_entry.diff_size, old_file_size); in bspatch()
333 if (oldpos > INT64_MAX - static_cast<int64_t>(control_entry.diff_size)) in bspatch()
335 oldpos += control_entry.diff_size; in bspatch()
337 if (oldpos > static_cast<int64_t>(old_file_size)) { in bspatch()
341 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(), in bspatch()
365 oldpos > INT64_MAX - control_entry.offset_increment) in bspatch()
367 oldpos += control_entry.offset_increment; in bspatch()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp491 SRBRoot::mapKey(int32_t oldpos) const { in mapKey()
494 return oldpos; in mapKey()
503 if (oldpos < map[i].oldpos) { in mapKey()
509 assert(oldpos == map[start].oldpos); in mapKey()
1309 int32_t lPos = ((const KeyMapEntry *)l)->oldpos; in compareKeySuffixes()
1310 int32_t rPos = ((const KeyMapEntry *)r)->oldpos; in compareKeySuffixes()
1341 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos); in compareKeyOldpos()
1384 map[i].oldpos = in compactKeys()
1398 map[i].oldpos = keyOffset; in compactKeys()
1427 map[i].newpos = map[i].oldpos; in compactKeys()
[all …]
Dreslist.h70 int32_t oldpos, newpos; member
92 int32_t mapKey(int32_t oldpos) const;
/external/python/setuptools/setuptools/
Dsite-patch.py43 oldpos = getattr(sys, '__egginsert', 0) # save old insertion position
49 sys.__egginsert += oldpos # restore effective old position
/external/libvterm/src/
Dstate.c31 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) in updatecursor() argument
33 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row) in updatecursor()
40 …if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) in updatecursor()
242 VTermPos oldpos = state->pos; in on_text() local
394 updatecursor(state, &oldpos, 0); in on_text()
412 VTermPos oldpos = state->pos; in on_control() local
493 updatecursor(state, &oldpos, 1); in on_control()
540 VTermPos oldpos = state->pos; in savecursor() local
550 updatecursor(state, &oldpos, 1); in savecursor()
663 VTermPos oldpos = state->pos; in on_escape() local
[all …]
Dscreen.c387 static int movecursor(VTermPos pos, VTermPos oldpos, int visible, void *user) in movecursor() argument
392 return (*screen->callbacks->movecursor)(pos, oldpos, visible, screen->cbdata); in movecursor()
/external/guava/guava/src/com/google/common/base/
DCharMatcher.java729 int oldpos = 0;
731 buf.append(string, oldpos, pos);
733 oldpos = pos + 1;
734 pos = indexIn(string, oldpos);
737 buf.append(string, oldpos, len);
/external/guava/android/guava/src/com/google/common/base/
DCharMatcher.java728 int oldpos = 0;
730 buf.append(string, oldpos, pos);
732 oldpos = pos + 1;
733 pos = indexIn(string, oldpos);
736 buf.append(string, oldpos, len);
/external/freetype/src/cid/
Dcidload.c699 FT_ULong oldpos = FT_STREAM_POS(); in cid_hex_to_binary() local
700 FT_ULong size = stream->size - oldpos; in cid_hex_to_binary()
712 plimit = p + FT_STREAM_POS() - oldpos; in cid_hex_to_binary()
/external/libvterm/include/
Dvterm.h352 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user);
425 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user);
/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py11 oldpos = self.pos
12 realpos = oldpos
19 return (u"<?>", oldpos)
Dtest_gzip.py198 oldpos = f.tell()
202 f.seek(oldpos) # negative seek
/external/python/cpython2/Lib/email/
D_parseaddr.py230 oldpos = self.pos
245 self.pos = oldpos
/external/python/cpython3/Lib/email/
D_parseaddr.py265 oldpos = self.pos
280 self.pos = oldpos
/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py15 oldpos = self.pos
16 realpos = oldpos
23 return ("<?>", oldpos)
Dtest_gzip.py255 oldpos = f.tell()
259 f.seek(oldpos) # negative seek
/external/python/apitools/apitools/base/py/
Dgzip_test.py229 oldpos = f.tell()
234 f.seek(oldpos) # negative seek
/external/python/cpython2/Lib/
Drfc822.py557 oldpos = self.pos
572 self.pos = oldpos
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1455 int oldpos = indexes.position(); in ARRAY() local
1471 indexes.position(oldpos); in ARRAY()
1755 int oldpos = toUTable.position(); in matchToU() local
1757 toUTable.position(oldpos); in matchToU()
3674 int oldpos = fromUTableUChars.position(); in matchFromU() local
3676 fromUTableUChars.position(oldpos); in matchFromU()
3677 oldpos = fromUTableValues.position(); in matchFromU()
3679 fromUTableValues.position(oldpos); in matchFromU()
/external/python/cpython2/Objects/
Dunicodeobject.c4213 Py_ssize_t oldpos = p - PyUnicode_AS_UNICODE(v); in PyUnicode_DecodeCharmap() local
4222 p = PyUnicode_AS_UNICODE(v) + oldpos; in PyUnicode_DecodeCharmap()
4247 Py_ssize_t oldpos = p - PyUnicode_AS_UNICODE(v); in PyUnicode_DecodeCharmap() local
4257 p = PyUnicode_AS_UNICODE(v) + oldpos; in PyUnicode_DecodeCharmap()