Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dsearch.cpp114 if (matchedindex != USEARCH_DONE && matchedlength != 0) { in getMatchedText()
201 return USEARCH_DONE; in first()
211 return USEARCH_DONE; in following()
220 return USEARCH_DONE; in last()
230 return USEARCH_DONE; in preceding()
246 (matchindex != USEARCH_DONE && in next()
250 return USEARCH_DONE; in next()
260 if (m_search_->matchedIndex != USEARCH_DONE) { in next()
278 return USEARCH_DONE; in next()
303 if (matchindex != USEARCH_DONE) { in previous()
[all …]
Dstsearch.cpp312 m_search_->matchedIndex == USEARCH_DONE ? in handleNext()
318 m_search_->matchedIndex = USEARCH_DONE; in handleNext()
329 return USEARCH_DONE; in handleNext()
354 return USEARCH_DONE; in handleNext()
359 m_search_->matchedIndex == USEARCH_DONE || in handleNext()
365 if (m_search_->matchedIndex == USEARCH_DONE) { in handleNext()
388 return USEARCH_DONE; in handleNext()
391 if (m_search_->matchedIndex == USEARCH_DONE) { in handleNext()
401 return USEARCH_DONE; in handleNext()
410 (m_search_->matchedIndex == USEARCH_DONE ? getOffset() : in handlePrev()
[all …]
Dusearch.cpp769 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
1107 if (lastmatchindex == USEARCH_DONE) { in checkRepeatedMatch()
1455 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1466 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1513 return USEARCH_DONE; in doNextCanonicalPrefixMatch()
1618 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1624 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1641 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
1652 if (result != USEARCH_DONE) { in doNextCanonicalSuffixMatch()
1657 return USEARCH_DONE; in doNextCanonicalSuffixMatch()
[all …]
/external/icu/icu4c/source/test/perf/strsrchperf/
Dstrsrchperf.h65 while (match != USEARCH_DONE) { in ICUForwardSearch()
74 while (match != USEARCH_DONE) { in ICUBackwardSearch()
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c354 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
386 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
428 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || in assertEqualWithUStringSearch()
452 … if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || usearch_getMatchedLength(strsrch) != 0) { in assertEqualWithUStringSearch()
503 … if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || usearch_getMatchedLength(strsrch) != 0) { in assertEqualWithUStringSearch()
1228 if (usearch_getOffset(NULL) != USEARCH_DONE) { in TestGetSetOffset()
1299 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE) { in TestGetSetOffset()
1419 if (usearch_getMatchedStart(NULL) != USEARCH_DONE || in TestGetMatch()
1420 usearch_getMatchedLength(NULL) != USEARCH_DONE) { in TestGetMatch()
1455 USEARCH_DONE || U_SUCCESS(status)){ in TestGetMatch()
[all …]
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp269 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
304 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
347 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
370 if (strsrch->getMatchedStart() != USEARCH_DONE || in assertEqualWithStringSearch()
421 if (strsrch->getMatchedStart() != USEARCH_DONE || strsrch->getMatchedLength() != 0) { in assertEqualWithStringSearch()
1337 if (strsrch->getMatchedStart() != USEARCH_DONE) { in TestGetSetOffset()
1464 if (strsrch->getMatchedStart() != USEARCH_DONE || in TestGetMatch()
1534 if (strsrch->following(text.length(), status) != USEARCH_DONE) { in TestSetMatch()
1537 if (strsrch->preceding(0, status) != USEARCH_DONE) { in TestSetMatch()
1570 strsrch->getMatchedStart() != USEARCH_DONE) { in TestReset()
[all …]
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp257 if (offset == USEARCH_DONE) { in findPattern()
260 while (offset != USEARCH_DONE) { in findPattern()
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h145 #define USEARCH_DONE -1 macro