Home
last modified time | relevance | path

Searched refs:textOffset (Results 1 – 8 of 8) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__0.py13 def fixlongs(glyphID, textLength, textOffset): argument
14 return int(glyphID), int(textLength), textOffset
26 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
27 indices.append((glyphID, textLength, textOffset))
40 for index, textLength, textOffset in self.indices:
41 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
43 for index, textLength, textOffset in self.extra_indices:
44 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
DT_S_I__1.py24 for i, (glyphID, textLength, textOffset) in enumerate(indices):
29 if textOffset > totalLength:
59 assert nextTextOffset >= textOffset, "entries not sorted by offset"
64 textLength = nextTextOffset - textOffset
69 text = data[textOffset:textOffset+textLength]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringSearch.java1506 int textOffset = textIter_.getOffset(); in handleNextCommonImpl() local
1509 if (search(textOffset, match)) { in handleNextCommonImpl()
1533 int textOffset; in handlePreviousCommonImpl() local
1537 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()
1552 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1555 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1559 if (searchBackwards(textOffset, match)) { in handlePreviousCommonImpl()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DStringSearch.java1522 int textOffset = textIter_.getOffset(); in handleNextCommonImpl() local
1525 if (search(textOffset, match)) { in handleNextCommonImpl()
1549 int textOffset; in handlePreviousCommonImpl() local
1553 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()
1568 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1571 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1575 if (searchBackwards(textOffset, match)) { in handlePreviousCommonImpl()
/external/icu/icu4c/source/i18n/
Dusearch.cpp4526 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextExact() local
4530 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextExact()
4641 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextCanonical() local
4645 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextCanonical()
4758 int32_t textOffset; in usearch_handlePreviousExact() local
4762 textOffset = strsrch->search->matchedIndex + strsrch->search->matchedLength - 1; in usearch_handlePreviousExact()
4781 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4784 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4790 if (usearch_searchBackwards(strsrch, textOffset, &start, &end, status)) { in usearch_handlePreviousExact()
4911 int32_t textOffset; in usearch_handlePreviousCanonical() local
[all …]
Dsmpdtfmt.cpp2732 int32_t &textOffset, in matchLiterals() argument
2765 int32_t t = textOffset; in matchLiterals()
2818 if (t == textOffset && text.charAt(t) == 0x2e && in matchLiterals()
2857 for (t = textOffset; t < text.length(); t += 1) { in matchLiterals()
2868 textOffset = t; in matchLiterals()
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1400 const UnicodeString &text, int32_t &textOffset,
/external/icu/libicu/cts_headers/unicode/
Dsmpdtfmt.h1400 const UnicodeString &text, int32_t &textOffset,