Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/source/i18n/
Dstsearch.cpp299 result->setMatchStart(m_strsrch_->search->matchedIndex); in safeClone()
314 m_search_->matchedIndex = in handleNext()
315 m_search_->matchedIndex == USEARCH_DONE ? in handleNext()
316 getOffset() : m_search_->matchedIndex + 1; in handleNext()
318 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, in handleNext()
320 if (m_search_->matchedIndex == m_search_->textLength) { in handleNext()
321 m_search_->matchedIndex = USEARCH_DONE; in handleNext()
342 m_search_->matchedIndex = position - 1; in handleNext()
362 m_search_->matchedIndex == USEARCH_DONE || in handleNext()
363 (m_breakiterator_->isBoundary(m_search_->matchedIndex) && in handleNext()
[all …]
Dsearch.cpp35 m_search_->matchedIndex = other.m_search_->matchedIndex; in SearchIterator()
103 return m_search_->matchedIndex; in getMatchedStart()
113 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText()
189 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.cpp485 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
674 result->search->matchedIndex = USEARCH_DONE; in usearch_openFromCollator()
765 strsrch->search->matchedIndex = USEARCH_DONE; in usearch_setOffset()
847 return strsrch->search->matchedIndex; in usearch_getMatchedStart()
866 int32_t copyindex = strsrch->search->matchedIndex; in usearch_getMatchedText()
935 strsrch->search->matchedIndex = USEARCH_DONE; in usearch_setText()
1152 (search->matchedIndex != USEARCH_DONE && in usearch_next()
1166 if (search->matchedIndex != USEARCH_DONE) { in usearch_next()
1169 return search->matchedIndex; in usearch_next()
1175 if (search->matchedIndex == USEARCH_DONE) { in usearch_next()
[all …]
Dplurfmt.cpp528 int matchedIndex = -1; in parseType() local
565 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
566 matchedIndex = currMatchIndex; in parseType()
571 if (matchedIndex >= 0) { in parseType()
572 pos.setBeginIndex(matchedIndex); in parseType()
573 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h144 int32_t matchedIndex; member
/third_party/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.cpp485 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
674 result->search->matchedIndex = USEARCH_DONE; in usearch_openFromCollator()
765 strsrch->search->matchedIndex = USEARCH_DONE; in usearch_setOffset()
849 return strsrch->search->matchedIndex; in usearch_getMatchedStart()
868 int32_t copyindex = strsrch->search->matchedIndex; in usearch_getMatchedText()
937 strsrch->search->matchedIndex = USEARCH_DONE; in usearch_setText()
1154 (search->matchedIndex != USEARCH_DONE && in usearch_next()
1168 if (search->matchedIndex != USEARCH_DONE) { in usearch_next()
1171 return search->matchedIndex; in usearch_next()
1177 if (search->matchedIndex == USEARCH_DONE) { in usearch_next()
[all …]
Dplurfmt.cpp528 int matchedIndex = -1; in parseType() local
565 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
566 matchedIndex = currMatchIndex; in parseType()
571 if (matchedIndex >= 0) { in parseType()
572 pos.setBeginIndex(matchedIndex); in parseType()
573 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h144 int32_t matchedIndex; member
/third_party/skia/third_party/externals/icu/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.cpp528 int matchedIndex = -1; in parseType() local
565 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && currArg.length() > matchedWord.length… in parseType()
566 matchedIndex = currMatchIndex; in parseType()
571 if (matchedIndex >= 0) { in parseType()
572 pos.setBeginIndex(matchedIndex); in parseType()
573 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
Dusrchimp.h145 int32_t matchedIndex; member
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java739 int matchedIndex = -1; in parseType() local
776 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
777 matchedIndex = currMatchIndex; in parseType()
783 pos.setBeginIndex(matchedIndex); in parseType()
784 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DPluralFormat.java720 int matchedIndex = -1; in parseType() local
751 …if (currMatchIndex >= 0 && currMatchIndex >= matchedIndex && (matchedWord == null || currArg.lengt… in parseType()
752 matchedIndex = currMatchIndex; in parseType()
758 pos.setBeginIndex(matchedIndex); in parseType()
759 pos.setEndIndex(matchedIndex + matchedWord.length()); in parseType()