Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dsearch.cpp116 if (matchedindex != USEARCH_DONE && matchedlength != 0) { in getMatchedText()
203 return USEARCH_DONE; in first()
213 return USEARCH_DONE; in following()
222 return USEARCH_DONE; in last()
232 return USEARCH_DONE; in preceding()
248 (matchindex != USEARCH_DONE && in next()
252 return USEARCH_DONE; in next()
262 if (m_search_->matchedIndex != USEARCH_DONE) { in next()
280 return USEARCH_DONE; in next()
305 if (matchindex != USEARCH_DONE) { in previous()
[all …]
Dstsearch.cpp314 m_search_->matchedIndex == USEARCH_DONE ? in handleNext()
320 m_search_->matchedIndex = USEARCH_DONE; in handleNext()
331 return USEARCH_DONE; in handleNext()
356 return USEARCH_DONE; in handleNext()
361 m_search_->matchedIndex == USEARCH_DONE || in handleNext()
367 if (m_search_->matchedIndex == USEARCH_DONE) { in handleNext()
390 return USEARCH_DONE; in handleNext()
393 if (m_search_->matchedIndex == USEARCH_DONE) { in handleNext()
403 return USEARCH_DONE; in handleNext()
412 (m_search_->matchedIndex == USEARCH_DONE ? getOffset() : in handlePrev()
[all …]
Dusearch.cpp771 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
1109 if (lastmatchindex == USEARCH_DONE) { in checkRepeatedMatch()
1457 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1468 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1515 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1620 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1626 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1643 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1654 if (result != USEARCH_DONE) { in doNextCanonicalSuffixMatch()
1659 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
[all …]
/external/icu/icu4c/source/test/perf/strsrchperf/
Dstrsrchperf.h70 while (match != USEARCH_DONE) { in ICUForwardSearch()
79 while (match != USEARCH_DONE) { in ICUBackwardSearch()
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c356 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
388 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
430 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
454 … if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || usearch_getMatchedLength(strsrch) != 0) { in assertEqualWithUStringSearch()
505 … if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || usearch_getMatchedLength(strsrch) != 0) { in assertEqualWithUStringSearch()
1230 if (usearch_getOffset(NULL) != USEARCH_DONE) { in TestGetSetOffset()
1301 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE) { in TestGetSetOffset()
1421 if (usearch_getMatchedStart(NULL) != USEARCH_DONE || in TestGetMatch()
1422 usearch_getMatchedLength(NULL) != USEARCH_DONE) { in TestGetMatch()
1457 USEARCH_DONE || U_SUCCESS(status)){ in TestGetMatch()
[all …]
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp272 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
307 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
350 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
373 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
424 if (strsrch->getMatchedStart() != USEARCH_DONE || strsrch->getMatchedLength() != 0) { in assertEqualWithStringSearch()
1340 if (strsrch->getMatchedStart() != USEARCH_DONE) { in TestGetSetOffset()
1467 if (strsrch->getMatchedStart() != USEARCH_DONE || in TestGetMatch()
1537 if (strsrch->following(text.length(), status) != USEARCH_DONE) { in TestSetMatch()
1540 if (strsrch->preceding(0, status) != USEARCH_DONE) { in TestSetMatch()
1573 strsrch->getMatchedStart() != USEARCH_DONE) { in TestReset()
[all …]
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp262 if (offset == USEARCH_DONE) { in findPattern()
265 while (offset != USEARCH_DONE) { in findPattern()
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h147 #define USEARCH_DONE -1 macro