Home
last modified time | relevance | path

Searched refs:charText (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/test/intltest/
Dutxttest.cpp862 UText charText = UTEXT_INITIALIZER; in ComparisonTest() local
870 utext_openUTF8(&charText, chars, -1, &status); in ComparisonTest()
947 UTEXT_SETNATIVEINDEX(&charText, 0); in ComparisonTest()
949 …if (utext_compare(&test2, -1, &charText, -1) != 0) errln("utext_compare() failed, UTF8-based UText… in ComparisonTest()
950 UTEXT_SETNATIVEINDEX(&charText, 0); in ComparisonTest()
952 …if (utext_compare(&test3, -1, &charText, -1) <= 0) errln("utext_compare() failed, UTF8-based UText… in ComparisonTest()
953 UTEXT_SETNATIVEINDEX(&charText, 0); in ComparisonTest()
955 …if (utext_compare(&test4, -1, &charText, -1) >= 0) errln("utext_compare() failed, UTF8-based UText… in ComparisonTest()
958 UTEXT_SETNATIVEINDEX(&charText, 0); in ComparisonTest()
960 …if (utext_compareNativeLimit(&test2, -1, &charText, -1) != 0) errln("utext_compareNativeLimit() fa… in ComparisonTest()
[all …]
Dcsdetest.cpp713 … const char charText[] = "Here is some random English text that should be detected as ISO-8859-1." in Ticket6394Test() local
717 char latin1Text[sizeof(charText)]; in Ticket6394Test()
718 …UnicodeString(charText).extract(0, sizeof(charText)-2, latin1Text, sizeof(latin1Text), "ISO-8859-1… in Ticket6394Test()