Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dstsearch.cpp296 result->setMatchStart(m_strsrch_->search->matchedIndex); in safeClone()
311 m_search_->matchedIndex = in handleNext()
312 m_search_->matchedIndex == USEARCH_DONE ? in handleNext()
313 getOffset() : m_search_->matchedIndex + 1; in handleNext()
315 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, in handleNext()
317 if (m_search_->matchedIndex == m_search_->textLength) { in handleNext()
318 m_search_->matchedIndex = USEARCH_DONE; in handleNext()
339 m_search_->matchedIndex = position - 1; in handleNext()
359 m_search_->matchedIndex == USEARCH_DONE || in handleNext()
360 (m_breakiterator_->isBoundary(m_search_->matchedIndex) && in handleNext()
[all …]
Dsearch.cpp33 m_search_->matchedIndex = other.m_search_->matchedIndex; in SearchIterator()
102 return m_search_->matchedIndex; in getMatchedStart()
112 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText()
188 m_search_->matchedIndex == that.m_search_->matchedIndex && in operator ==()
240 int32_t matchindex = m_search_->matchedIndex; in next()
260 if (m_search_->matchedIndex != USEARCH_DONE) { in next()
295 int32_t matchindex = m_search_->matchedIndex; in previous()
352 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
371 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
388 m_search_->matchedIndex = USEARCH_DONE; in SearchIterator()
[all …]
Dusearch.cpp769 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
1105 int32_t lastmatchindex = strsrch->search->matchedIndex; in checkRepeatedMatch()
1276 strsrch->search->matchedIndex = start; in checkNextExactMatch()
1919 strsrch->search->matchedIndex = getPreviousUStringSearchBaseOffset( in checkNextCanonicalMatch()
1923 strsrch->search->matchedIndex; in checkNextCanonicalMatch()
1944 strsrch->search->matchedIndex = start; in checkNextCanonicalMatch()
2123 strsrch->search->matchedIndex = *textoffset; in checkPreviousExactMatch()
2557 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2583 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2724 result->search->matchedIndex = USEARCH_DONE; in usearch_openFromCollator()
[all …]
Dplurfmt.cpp528 int matchedIndex = -1; in parseType() local
559 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
560 matchedIndex = currMatchIndex; in parseType()
565 if (matchedIndex >= 0) { in parseType()
566 pos.setBeginIndex(matchedIndex); in parseType()
567 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h143 int32_t matchedIndex; member
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralFormat.java702 int matchedIndex = -1; in parseType() local
733 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
734 matchedIndex = currMatchIndex; in parseType()
740 pos.setBeginIndex(matchedIndex); in parseType()
741 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java721 int matchedIndex = -1; in parseType() local
752 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
753 matchedIndex = currMatchIndex; in parseType()
759 pos.setBeginIndex(matchedIndex); in parseType()
760 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()