Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__0.py15 def fixlongs(glyphID, textLength, textOffset): argument
16 return int(glyphID), int(textLength), textOffset
28 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
29 indices.append((glyphID, textLength, textOffset))
42 for index, textLength, textOffset in self.indices:
43 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
45 for index, textLength, textOffset in self.extra_indices:
46 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
DT_S_I__1.py25 for i, (glyphID, textLength, textOffset) in enumerate(indices):
30 if textOffset > totalLength:
60 assert nextTextOffset >= textOffset, "entries not sorted by offset"
65 textLength = nextTextOffset - textOffset
70 text = data[textOffset:textOffset+textLength]
/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/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/icu4c/source/i18n/
Dusearch.cpp4520 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextExact() local
4524 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextExact()
4635 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextCanonical() local
4639 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextCanonical()
4752 int32_t textOffset; in usearch_handlePreviousExact() local
4756 textOffset = strsrch->search->matchedIndex + strsrch->search->matchedLength - 1; in usearch_handlePreviousExact()
4775 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4778 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4784 if (usearch_searchBackwards(strsrch, textOffset, &start, &end, status)) { in usearch_handlePreviousExact()
4905 int32_t textOffset; in usearch_handlePreviousCanonical() local
[all …]
Dsmpdtfmt.cpp2648 int32_t &textOffset, in matchLiterals() argument
2681 int32_t t = textOffset; in matchLiterals()
2734 if (t == textOffset && text.charAt(t) == 0x2e && in matchLiterals()
2773 for (t = textOffset; t < text.length(); t += 1) { in matchLiterals()
2784 textOffset = t; in matchLiterals()
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1395 const UnicodeString &text, int32_t &textOffset,