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 != matchlength || matchtext[matchlength - 1] == 0 || in TestGetMatch()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java675 String matchtext; in assertEqualWithStringSearch() local
695 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
698 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
726 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
729 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
1126 String matchtext; in TestGetMatch() local
1139 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1140 if (matchtext.length() != matchlength){ in TestGetMatch()
1150 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1151 if (matchtext != null) { in TestGetMatch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java678 String matchtext; in assertEqualWithStringSearch() local
698 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
701 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
729 matchtext = strsrch.getMatchedText(); in assertEqualWithStringSearch()
732 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
1129 String matchtext; in TestGetMatch() local
1142 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1143 if (matchtext.length() != matchlength){ in TestGetMatch()
1153 matchtext = strsrch.getMatchedText(); in TestGetMatch()
1154 if (matchtext != null) { in TestGetMatch()