Home
last modified time | relevance | path

Searched refs:oldpos (Results 1 – 18 of 18) 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.cpp492 SRBRoot::mapKey(int32_t oldpos) const { in mapKey()
495 return oldpos; in mapKey()
504 if (oldpos < map[i].oldpos) { in mapKey()
510 assert(oldpos == map[start].oldpos); in mapKey()
1310 int32_t lPos = ((const KeyMapEntry *)l)->oldpos; in compareKeySuffixes()
1311 int32_t rPos = ((const KeyMapEntry *)r)->oldpos; in compareKeySuffixes()
1342 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos); in compareKeyOldpos()
1385 map[i].oldpos = in compactKeys()
1399 map[i].oldpos = keyOffset; in compactKeys()
1428 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/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/python/cpython2/Lib/email/
D_parseaddr.py230 oldpos = self.pos
245 self.pos = oldpos
/external/python/cpython2/Lib/test/
Dtest_gzip.py198 oldpos = f.tell()
202 f.seek(oldpos) # negative seek
Dtest_codeccallbacks.py11 oldpos = self.pos
12 realpos = oldpos
19 return (u"<?>", 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/starlark-go/syntax/
Dparse.go123 oldpos := p.tokval.pos
129 return oldpos
/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()