Home
last modified time | relevance | path

Searched refs:matchedindex (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Dsearch.cpp112 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText() local
114 if (matchedindex != USEARCH_DONE && matchedlength != 0) { in getMatchedText()
115 result.setTo(m_search_->text + matchedindex, matchedlength); in getMatchedText()
Dusearch.cpp3312 int32_t matchedindex = search->matchedIndex; in usearch_previous() local
3320 if (matchedindex != USEARCH_DONE) { in usearch_previous()
3321 return matchedindex; in usearch_previous()
3326 if (offset == 0 || matchedindex == 0 || in usearch_previous()
3329 (matchedindex != USEARCH_DONE && in usearch_previous()
3330 matchedindex < strsrch->pattern.defaultShiftSize)))) { in usearch_previous()
3338 if (offset == 0 || matchedindex == 0) { in usearch_previous()
3348 (matchedindex == USEARCH_DONE ? offset : matchedindex); in usearch_previous()