Home
last modified time | relevance | path

Searched refs:matchedLength (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/i18n/
Dsearch.cpp34 m_search_->matchedLength = other.m_search_->matchedLength; in SearchIterator()
107 return m_search_->matchedLength; in getMatchedLength()
113 int32_t matchedlength = m_search_->matchedLength; in getMatchedText()
189 m_search_->matchedLength == that.m_search_->matchedLength && in operator ==()
241 int32_t matchlength = m_search_->matchedLength; in next()
317 matchindex += m_search_->matchedLength - 2; in previous()
353 m_search_->matchedLength = 0; in SearchIterator()
372 m_search_->matchedLength = 0; in SearchIterator()
389 m_search_->matchedLength = 0; in SearchIterator()
408 m_search_->matchedLength = that.m_search_->matchedLength; in operator =()
[all …]
Dstsearch.cpp297 result->setMatchLength(m_strsrch_->search->matchedLength); in safeClone()
314 m_search_->matchedLength = 0; in handleNext()
332 if (m_search_->matchedLength <= 0) { in handleNext()
362 m_search_->matchedLength)) in handleNext()
419 m_search_->matchedLength = 0; in handlePrev()
450 m_search_->matchedLength)) in handlePrev()
Dusearch.cpp770 strsrch->search->matchedLength = 0; in setMatchNotFound()
1118 result = start < lastmatchindex + strsrch->search->matchedLength; in checkRepeatedMatch()
1277 strsrch->search->matchedLength = *textoffset - start; in checkNextExactMatch()
1922 strsrch->search->matchedLength = *textoffset - in checkNextCanonicalMatch()
1945 strsrch->search->matchedLength = *textoffset - start; in checkNextCanonicalMatch()
2124 strsrch->search->matchedLength = end - *textoffset; in checkPreviousExactMatch()
2558 strsrch->search->matchedLength = in checkPreviousCanonicalMatch()
2584 strsrch->search->matchedLength = end - *textoffset; in checkPreviousCanonicalMatch()
2723 result->search->matchedLength = 0; in usearch_openFromCollator()
2816 strsrch->search->matchedLength = 0; in usearch_setOffset()
[all …]
Dusrchimp.h144 int32_t matchedLength; member
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java126 int matchedLength() { in matchedLength() method in SearchIterator.Search
130 void setMatchedLength(int matchedLength) { in setMatchedLength() argument
131 SearchIterator.this.matchLength = matchedLength; in setMatchedLength()
323 return search_.matchedLength(); in getMatchLength()
367 if (search_.matchedLength() > 0) { in getMatchedText()
368 int limit = search_.matchedIndex_ + search_.matchedLength(); in getMatchedText()
369 StringBuilder result = new StringBuilder(search_.matchedLength()); in getMatchedText()
401 int matchlength = search_.matchedLength(); in next()
483 matchindex += search_.matchedLength() - 2; in previous()
DStringSearch.java494 if (search_.matchedLength() <= 0) { in handleNext()
1552 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java123 int matchedLength() { in matchedLength() method in SearchIterator.Search
127 void setMatchedLength(int matchedLength) { in setMatchedLength() argument
128 SearchIterator.this.matchLength = matchedLength; in setMatchedLength()
312 return search_.matchedLength(); in getMatchLength()
353 if (search_.matchedLength() > 0) { in getMatchedText()
354 int limit = search_.matchedIndex_ + search_.matchedLength(); in getMatchedText()
355 StringBuilder result = new StringBuilder(search_.matchedLength()); in getMatchedText()
386 int matchlength = search_.matchedLength(); in next()
467 matchindex += search_.matchedLength() - 2; in previous()
DStringSearch.java478 if (search_.matchedLength() <= 0) { in handleNext()
1536 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()