Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dstsearch.cpp298 result->setMatchStart(m_strsrch_->search->matchedIndex); in safeClone()
313 m_search_->matchedIndex = in handleNext()
314 m_search_->matchedIndex == USEARCH_DONE ? in handleNext()
315 getOffset() : m_search_->matchedIndex + 1; in handleNext()
317 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, in handleNext()
319 if (m_search_->matchedIndex == m_search_->textLength) { in handleNext()
320 m_search_->matchedIndex = USEARCH_DONE; in handleNext()
341 m_search_->matchedIndex = position - 1; in handleNext()
361 m_search_->matchedIndex == USEARCH_DONE || in handleNext()
362 (m_breakiterator_->isBoundary(m_search_->matchedIndex) && in handleNext()
[all …]
Dsearch.cpp35 m_search_->matchedIndex = other.m_search_->matchedIndex; in SearchIterator()
104 return m_search_->matchedIndex; in getMatchedStart()
114 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText()
190 m_search_->matchedIndex == that.m_search_->matchedIndex && in operator ==()
242 int32_t matchindex = m_search_->matchedIndex; in next()
262 if (m_search_->matchedIndex != USEARCH_DONE) { in next()
297 int32_t matchindex = m_search_->matchedIndex; in previous()
354 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
373 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
390 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
[all …]
Dusearch.cpp771 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
1107 int32_t lastmatchindex = strsrch->search->matchedIndex; in checkRepeatedMatch()
1278 strsrch->search->matchedIndex = start; in checkNextExactMatch()
1921 strsrch->search->matchedIndex = getPreviousUStringSearchBaseOffset( in checkNextCanonicalMatch()
1925 strsrch->search->matchedIndex; in checkNextCanonicalMatch()
1946 strsrch->search->matchedIndex = start; in checkNextCanonicalMatch()
2125 strsrch->search->matchedIndex = *textoffset; in checkPreviousExactMatch()
2559 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2585 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2726 result->search->matchedIndex = USEARCH_DONE; in usearch_openFromCollator()
[all …]
Dplurfmt.cpp530 int matchedIndex = -1; in parseType() local
561 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
562 matchedIndex = currMatchIndex; in parseType()
567 if (matchedIndex >= 0) { in parseType()
568 pos.setBeginIndex(matchedIndex); in parseType()
569 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h145 int32_t matchedIndex; member
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralFormat.java707 int matchedIndex = -1; in parseType() local
738 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
739 matchedIndex = currMatchIndex; in parseType()
745 pos.setBeginIndex(matchedIndex); in parseType()
746 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java726 int matchedIndex = -1; in parseType() local
757 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
758 matchedIndex = currMatchIndex; in parseType()
764 pos.setBeginIndex(matchedIndex); in parseType()
765 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()