Home
last modified time | relevance | path

Searched refs:matchedIndex (Results 1 – 6 of 6) 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.cpp765 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
1101 int32_t lastmatchindex = strsrch->search->matchedIndex; in checkRepeatedMatch()
1272 strsrch->search->matchedIndex = start; in checkNextExactMatch()
1915 strsrch->search->matchedIndex = getPreviousUStringSearchBaseOffset( in checkNextCanonicalMatch()
1919 strsrch->search->matchedIndex; in checkNextCanonicalMatch()
1940 strsrch->search->matchedIndex = start; in checkNextCanonicalMatch()
2119 strsrch->search->matchedIndex = *textoffset; in checkPreviousExactMatch()
2553 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2579 strsrch->search->matchedIndex = *textoffset; in checkPreviousCanonicalMatch()
2720 result->search->matchedIndex = USEARCH_DONE; in usearch_openFromCollator()
[all …]
Dplurfmt.cpp507 int matchedIndex = -1; in parseType() local
538 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
539 matchedIndex = currMatchIndex; in parseType()
544 if (matchedIndex >= 0) { in parseType()
545 pos.setBeginIndex(matchedIndex); in parseType()
546 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h143 int32_t matchedIndex; member
/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()