Home
last modified time | relevance | path

Searched refs:matchtext (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp263 UnicodeString matchtext; in assertEqualWithStringSearch() local
294 strsrch->getMatchedText(matchtext); in assertEqualWithStringSearch()
299 matchtext, 0, in assertEqualWithStringSearch()
300 matchtext.length())) { in assertEqualWithStringSearch()
336 strsrch->getMatchedText(matchtext); in assertEqualWithStringSearch()
341 matchtext, 0, in assertEqualWithStringSearch()
342 matchtext.length())) { in assertEqualWithStringSearch()
1442 UnicodeString matchtext; in TestGetMatch() local
1459 strsrch->getMatchedText(matchtext); in TestGetMatch()
1460 if (matchtext.length() != matchlength || U_FAILURE(status)){ in TestGetMatch()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c345 UChar matchtext[128]; in assertEqualWithUStringSearch() local
377 if (usearch_getMatchedText(strsrch, matchtext, 128, &status) != in assertEqualWithUStringSearch()
379 memcmp(matchtext, in assertEqualWithUStringSearch()
418 if (usearch_getMatchedText(strsrch, matchtext, 128, &status) != in assertEqualWithUStringSearch()
420 memcmp(matchtext, in assertEqualWithUStringSearch()
1413 UChar matchtext[128]; in TestGetMatch() local
1456 if (usearch_getMatchedText(NULL, matchtext, 128, &status) != in TestGetMatch()
1466 if (usearch_getMatchedText(strsrch, matchtext, 0, &status) != in TestGetMatch()
1471 if (usearch_getMatchedText(strsrch, matchtext, matchlength, &status) in TestGetMatch()
1472 != (int32_t)matchlength || matchtext[matchlength - 1] == 0 || in TestGetMatch()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java672 String matchtext; in assertEqualWithStringSearch() local
692 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
695 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
723 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
726 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
1123 String matchtext; in TestGetMatch() local
1136 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1137 if (matchtext.length() != matchlength){ in TestGetMatch()
1147 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1148 if (matchtext != null) { in TestGetMatch()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java671 String matchtext; in assertEqualWithStringSearch() local
691 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
694 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
722 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
725 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
1122 String matchtext; in TestGetMatch() local
1135 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1136 if (matchtext.length() != matchlength){ in TestGetMatch()
1146 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1147 if (matchtext != null) { in TestGetMatch()