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/cronet/third_party/icu/source/tools/genrb/
Dreslist.cpp504 SRBRoot::mapKey(int32_t oldpos) const { in mapKey()
507 return oldpos; in mapKey()
516 if (oldpos < map[i].oldpos) { in mapKey()
522 assert(oldpos == map[start].oldpos); in mapKey()
1314 int32_t lPos = ((const KeyMapEntry *)l)->oldpos; in compareKeySuffixes()
1315 int32_t rPos = ((const KeyMapEntry *)r)->oldpos; in compareKeySuffixes()
1346 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos); in compareKeyOldpos()
1389 map[i].oldpos = in compactKeys()
1403 map[i].oldpos = keyOffset; in compactKeys()
1432 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/icu/icu4c/source/tools/genrb/
Dreslist.cpp504 SRBRoot::mapKey(int32_t oldpos) const { in mapKey()
507 return oldpos; in mapKey()
516 if (oldpos < map[i].oldpos) { in mapKey()
522 assert(oldpos == map[start].oldpos); in mapKey()
1314 int32_t lPos = ((const KeyMapEntry *)l)->oldpos; in compareKeySuffixes()
1315 int32_t rPos = ((const KeyMapEntry *)r)->oldpos; in compareKeySuffixes()
1346 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos); in compareKeyOldpos()
1389 map[i].oldpos = in compactKeys()
1403 map[i].oldpos = keyOffset; in compactKeys()
1432 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/openthread/third_party/tcplp/lib/
Dcbuf.c151 size_t oldpos; in cbuf_read_offset() local
157 oldpos = chdr->r_index; in cbuf_read_offset()
160 chdr->r_index = oldpos; in cbuf_read_offset()
/external/guava/android/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/guava/src/com/google/common/base/
DCharMatcher.java730 int oldpos = 0;
732 buf.append(string, oldpos, pos);
734 oldpos = pos + 1;
735 pos = indexIn(string, oldpos);
738 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/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.py269 oldpos = self.pos
284 self.pos = oldpos
/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py15 oldpos = self.pos
16 realpos = oldpos
23 return ("<?>", oldpos)
Dtest_gzip.py256 oldpos = f.tell()
260 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()