Home
last modified time | relevance | path

Searched refs:CharsToUnicodeString (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp179 CharsToUnicodeString("mi\\u00E9., 13 ene."), // 13: MMMEd -> "E, d MMM" in testAPI()
180 CharsToUnicodeString("mi\\u00E9. 13"), // 14: Ed -> "EEE d" in testAPI()
186CharsToUnicodeString("1999\\u5E741\\u6708"), // 01: yMMM -> y\u5E74M\u6708 in testAPI()
188CharsToUnicodeString("1999\\u5E741\\u670813\\u65E5"), // 03: yMMMd -> y\u5E74M\u6708d\… in testAPI()
190CharsToUnicodeString("1\\u670813\\u65E5"), // 05: MMMd -> M\u6708d\u65E5 in testAPI()
191CharsToUnicodeString("1\\u670813\\u65E5"), // 06: MMMMd -> M\u6708d\u65E5 in testAPI()
192 CharsToUnicodeString("1999/Q1"), // 07: yQQQ -> y/QQQ in testAPI()
193 CharsToUnicodeString("\\u5348\\u5F8C11:58"), // 08: hhmm in testAPI()
197CharsToUnicodeString("1999\\u5E741\\u6708"), // 12: yyyyMMMM -> y\u5E74M\u67… in testAPI()
198CharsToUnicodeString("1\\u670813\\u65E5(\\u6C34)"), // 13: MMMEd -> M\u6708d\u65E5(E… in testAPI()
[all …]
Dtranstst.cpp1106 UnicodeString h = CharsToUnicodeString(DATA[i+1]); in TestHiraganaKatakana()
1107 UnicodeString k = CharsToUnicodeString(DATA[i+2]); in TestHiraganaKatakana()
1167 UnicodeString dev = CharsToUnicodeString("\\u0901\\u090B\\u0925"); in TestInterIndic()
1168 UnicodeString guj = CharsToUnicodeString("\\u0A81\\u0A8B\\u0AA5"); in TestInterIndic()
1281 …expect(*uni2name, CharsToUnicodeString("\\u00A0abc\\u4E01\\u00B5\\u0A81\\uFFFD\\u0004\\u0009\\u008… in TestNameMap()
1282CharsToUnicodeString("\\\\N{NO-BREAK SPACE}abc\\\\N{CJK UNIFIED IDEOGRAPH-4E01}\\\\N{MICRO SIGN}\\… in TestNameMap()
1284CharsToUnicodeString("{\\u00A0abc\\u4E01\\\\N{x\\u00B5\\u0A81\\uFFFD\\u0004\\u0009\\u0081\\uFFFF\\… in TestNameMap()
1299 …UnicodeString s = CharsToUnicodeString("{\\u00A0abc\\u4E01\\\\N{x\\u00B5\\u0A81\\uFFFD\\u0004\\u00… in TestNameMap()
1471 UnicodeString in = CharsToUnicodeString(CANON[i]); in TestNormalizationTransliterator()
1472 UnicodeString expd = CharsToUnicodeString(CANON[i+1]); in TestNormalizationTransliterator()
[all …]
Dtransapi.cpp277 …"Latin-Devanagari",CharsToUnicodeString("bha\\u0304rata"), CharsToUnicodeString("\\u092D\\u093E\\u… in TestTransliterate1()
278 …n-Devanagari",UnicodeString("kra ksha khra gra cra dya dhya",""), CharsToUnicodeString("\\u0915\\u… in TestTransliterate1()
280 …"Devanagari-Latin", CharsToUnicodeString("\\u092D\\u093E\\u0930\\u0924"), CharsToUnicode… in TestTransliterate1()
328 …"Hex-Any", CharsToUnicodeString("\\u0068\\u0065\\u006C\\u006C\\u006F\\u0021\\u0020"), "0",… in TestTransliterate2()
330 …"Devanagari-Latin", CharsToUnicodeString("\\u092D\\u093E\\u0930\\u0924"), "0", "1", "bha", Cha… in TestTransliterate2()
331 …ri-Latin", CharsToUnicodeString("\\u092D\\u093E\\u0930\\u0924"), "1", "2", CharsToUnicodeStrin… in TestTransliterate2()
542CharsToUnicodeString("a\\u0304"), CharsToUnicodeString("Hindi -\\u0906-"), … in TestKeyboardTransliterator2()
543CharsToUnicodeString("ma\\u0304"), CharsToUnicodeString("Hindi -\\u0906\\u092E\\u093E-"), … in TestKeyboardTransliterator2()
544CharsToUnicodeString("ra\\u0304"), CharsToUnicodeString("Hi\\u0930\\u093Endi -\\u0906\\u092E\\u… in TestKeyboardTransliterator2()
545CharsToUnicodeString(""), CharsToUnicodeString("Hi\\u0930\\u093Endi -\\u0906\\u092E\\u093E-"… in TestKeyboardTransliterator2()
Ddtfmttst.cpp3842 …{ "ja", FALSE, FALSE, CharsToUnicodeString("y\\u5E74M\\u6708d\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3843 …{ "ja", TRUE, FALSE, CharsToUnicodeString("y\\u5E74M\\u6708d\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3844 …{ "ja", FALSE, FALSE, CharsToUnicodeString("y\\u5E74MMMd\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3845 …{ "ja", TRUE, FALSE, CharsToUnicodeString("y\\u5E74MMMd\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3848 …FALSE, FALSE, UnicodeString("yyyy. MMMMM d."), CharsToUnicodeString("2009. 7\\u… in TestNumberAsStringParsing()
3849 …TRUE, FALSE, UnicodeString("yyyy. MMMMM d."), CharsToUnicodeString("2009. 7\\u… in TestNumberAsStringParsing()
3850 …{ "ko", FALSE, FALSE, CharsToUnicodeString("y\\uB144 M\\uC6D4 d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3851 …{ "ko", TRUE, FALSE, CharsToUnicodeString("y\\uB144 M\\uC6D4 d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3852 …{ "ko", FALSE, FALSE, CharsToUnicodeString("y\\uB144 MMM d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3853 …{ "ko", TRUE, FALSE, CharsToUnicodeString("y\\uB144 MMM d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
[all …]
Dcpdtrtst.cpp380 …"Hiragana-Katakana", CharsToUnicodeString("\\u3041\\u308f\\u3099\\u306e\\u30… in TestTransliterate()
381CharsToUnicodeString("\\u30A1\\u30f7\\u30ce\\u30ab\\u30fa"), in TestTransliterate()
382 …"Hiragana-Katakana;Katakana-Hiragana", CharsToUnicodeString("\\u3041\\u308f\\u3099\\u306e\\u30… in TestTransliterate()
383CharsToUnicodeString("\\u3041\\u308f\\u3099\\u306e\\u304b\\u3051"), in TestTransliterate()
384 …"Katakana-Hiragana;Hiragana-Katakana", CharsToUnicodeString("\\u30A1\\u30f7\\u30ce\\u30f5\\u30… in TestTransliterate()
385CharsToUnicodeString("\\u30A1\\u30f7\\u30ce\\u30ab\\u30b1"), in TestTransliterate()
386 …"Latin-Katakana;Katakana-Latin", CharsToUnicodeString("vavivuvevohuzizuzonyinyun… in TestTransliterate()
387CharsToUnicodeString("vavivuvevohuzizuzonyinyunyasesuzezu"), in TestTransliterate()
Dnumfmtst.cpp886 if (!(s==CharsToUnicodeString("1,50\\u00A0$"))) in TestCurrency()
896 if (!(s==CharsToUnicodeString("1,50\\u00A0DM"))) in TestCurrency()
904 if (!(s==CharsToUnicodeString("1,50\\u00A0F"))) in TestCurrency()
957 1234.56, CharsToUnicodeString("\\u20AC1,234.56")); // Euro in TestCurrencyObject()
960 1234.56, CharsToUnicodeString("\\u00A51,235")); // Yen in TestCurrencyObject()
977 expectCurrency(*fmt, null, 1234.56, CharsToUnicodeString("1\\u202F234,56 \\u20AC")); in TestCurrencyObject()
980 1234.56, CharsToUnicodeString("1\\u202F235 JPY")); // Yen in TestCurrencyObject()
983 …1234.56, CharsToUnicodeString("1\\u202F234,56 CHF")); // no more 0.05 rounding here, see cldrbug 5… in TestCurrencyObject()
986 1234.56, CharsToUnicodeString("1\\u202F234,56 $US")); in TestCurrencyObject()
989 1234.56, CharsToUnicodeString("1\\u202F234,56 \\u20AC")); // Euro in TestCurrencyObject()
[all …]
Dincaltst.cpp452 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
461 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
470 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
479 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
571 …UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc… in TestJapaneseFormat()
579 …UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc… in TestJapaneseFormat()
587 …UnicodeString expect = CharsToUnicodeString("\\u5b89\\u6c385\\u5e747\\u67084\\u65e5\\u6728\\u66dc\… in TestJapaneseFormat()
596 …UnicodeString expect = CharsToUnicodeString("\\u662d\\u548c64\\u5e741\\u67086\\u65e5\\u91d1\\u66dc… in TestJapaneseFormat()
605 …UnicodeString expect = CharsToUnicodeString("\\u5EB7\\u6B632\\u5e742\\u670829\\u65e5\\u65e5\\u66dc… in TestJapaneseFormat()
Dtsmthred.cpp632 FormatThreadTestData((double)5.0, CharsToUnicodeString("500\\u00a0%")), in run()
633 FormatThreadTestData( 1.0, CharsToUnicodeString("100\\u00a0%")), in run()
634 FormatThreadTestData( 0.26, CharsToUnicodeString("26\\u00a0%")), in run()
636 … 16384.99, CharsToUnicodeString("1\\u202F638\\u202F499\\u00a0%")), // U+202F = NNBSP in run()
638 81890.23, CharsToUnicodeString("8\\u202F189\\u202F023\\u00a0%")), in run()
717 expected= CharsToUnicodeString( in run()
729 expected= CharsToUnicodeString( in run()
Dcanittst.cpp154 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); in TestBasic()
167 …tEqual(i + UnicodeString(": "), testStr, collectionToString(set), CharsToUnicodeString(testArray[i… in TestBasic()
Ditercoll.cpp147 source= CharsToUnicodeString("\\u0e41\\u0e02\\u0e41\\u0e02\\u0e27abc"); in TestPrevious()
158 source= CharsToUnicodeString("\\u0061\\u30CF\\u3099\\u30FC"); in TestPrevious()
486 source = CharsToUnicodeString("a\\u0300\\u0325"); in TestAssignment()
Dmsfmrgts.cpp866 …UnicodeString pat = CharsToUnicodeString("''Vous'' {0,choice,0#n''|1#}avez s\\u00E9lectionn\\u00E9… in Test4142938()
874 CharsToUnicodeString("'Vous' n'avez s\\u00E9lectionn\\u00E9 aucun clients personnels."), in Test4142938()
875 CharsToUnicodeString("'Vous' avez s\\u00E9lectionn\\u00E9 "), in Test4142938()
876 CharsToUnicodeString("'Vous' avez s\\u00E9lectionn\\u00E9 ") in Test4142938()
Dloctest.cpp834 dataTable[i][j] = CharsToUnicodeString(rawData[i][j]); in setUpDataTable()
1071 CharsToUnicodeString("Su\\u00E8de"), in TestAtypicalLocales()
1072 CharsToUnicodeString("R\\u00E9publique dominicaine"), in TestAtypicalLocales()
1075 CharsToUnicodeString("alem\\u00E1n (Canad\\u00E1)"), in TestAtypicalLocales()
1076 CharsToUnicodeString("japon\\u00E9s (Sud\\u00E1frica)"), in TestAtypicalLocales()
1077 CharsToUnicodeString("ruso (M\\u00E9xico)"), in TestAtypicalLocales()
1078 CharsToUnicodeString("ingl\\u00E9s (Francia)"), in TestAtypicalLocales()
1079 CharsToUnicodeString("espa\\u00F1ol (Alemania)"), in TestAtypicalLocales()
1082 CharsToUnicodeString("Rep\\u00FAblica Dominicana"), in TestAtypicalLocales()
1083 CharsToUnicodeString("B\\u00E9lgica") }; in TestAtypicalLocales()
Dusettest.cpp868 …expectContainment(UNICODE_STRING_SIMPLE("[:Latin:]"), "aA", CharsToUnicodeString("\\u0391\\u03B1")… in TestScriptSet()
870 …expectContainment(UNICODE_STRING_SIMPLE("[:Greek:]"), CharsToUnicodeString("\\u0391\\u03B1"), "aA"… in TestScriptSet()
873 …expectContainment(UNICODE_STRING_SIMPLE("[[:Common:][:Inherited:]]"), CharsToUnicodeString("\\U000… in TestScriptSet()
1063 expectContainment(UnicodeString(DATA[i], -1, US_INV), CharsToUnicodeString(DATA[i+1]), in TestPropertySet()
1064 CharsToUnicodeString(DATA[i+2])); in TestPropertySet()
1380 expectContainment(cm, "abckABCK", CharsToUnicodeString("defDEF\\u212A")); in TestCloseOver()
1712 CharsToUnicodeString("abc\\U00010000"), in TestSurrogate()
1713 CharsToUnicodeString("\\uD800;\\uDC00")); // split apart surrogate-pair in TestSurrogate()
2152 UnicodeString s = CharsToUnicodeString(expStrings[i]); in expectToPattern()
Dthcoll.cpp340 return result = CharsToUnicodeString(chars); in parseChars()
Dintltest.h407 extern UnicodeString CharsToUnicodeString(const char* chars);
Dustrtest.cpp121 if(test3 != CharsToUnicodeString("\\uD841\\uDC02")){ in TestBasicManipulation()
128 if(test3 != CharsToUnicodeString("\\uD841\\uDC02t")){ in TestBasicManipulation()
233 if(v!=CharsToUnicodeString("a\\xe4\\x85")) { in TestBasicManipulation()
Dintltest.cpp1770 UnicodeString CharsToUnicodeString(const char* chars){ in CharsToUnicodeString() function
1775 return CharsToUnicodeString(chars); in ctou()
Dstrcase.cpp176 test3 = CharsToUnicodeString("S\\u00FC\\u00DFmayrstra\\u00DFe"); in TestCaseConversion()
179 expectedResult = CharsToUnicodeString("S\\u00DCSSMAYRSTRASSE"); in TestCaseConversion()
Dssearch.cpp631 UnicodeString ts = CharsToUnicodeString(test[i]); in offsetTest()
Dtransrt.cpp594 UnicodeString irrelevants = CharsToUnicodeString("\\u2000\\u2001\\u2126\\u212A\\u212B\\u2329"); in test2()
Drbbiapts.cpp1464 UnicodeString expected=CharsToUnicodeString(expectedString); in doTest()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java1222 CharsToUnicodeString("BA\\u039A\\u0391"), in TestCompoundFilter()
1223 CharsToUnicodeString("\\u03b2A\\u03ba\\u03b1")); in TestCompoundFilter()
1366 static final String CharsToUnicodeString(String s) { in CharsToUnicodeString() method in TransliteratorTest
1373 expect(CharsToUnicodeString("$a=\\U00010300; $s=[\\U00010300-\\U00010323];" + in TestSupplemental()
1375 CharsToUnicodeString("ab\\U0001030Fx"), in TestSupplemental()
1376 CharsToUnicodeString("\\U00010300bix")); in TestSupplemental()
1378 expect(CharsToUnicodeString("$a=[a-z\\U00010300-\\U00010323];" + in TestSupplemental()
1381 CharsToUnicodeString("aB\\U00010300\\U00010400c\\U00010401\\U00010301D"), in TestSupplemental()
1382 CharsToUnicodeString("Ba\\U00010400\\U00010300\\U00010401cD\\U00010301")); in TestSupplemental()
1392 expect(CharsToUnicodeString("$a=[a\\U00010300-\\U00010323];" + in TestSupplemental()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java1225 CharsToUnicodeString("BA\\u039A\\u0391"), in TestCompoundFilter()
1226 CharsToUnicodeString("\\u03b2A\\u03ba\\u03b1")); in TestCompoundFilter()
1369 static final String CharsToUnicodeString(String s) { in CharsToUnicodeString() method in TransliteratorTest
1376 expect(CharsToUnicodeString("$a=\\U00010300; $s=[\\U00010300-\\U00010323];" + in TestSupplemental()
1378 CharsToUnicodeString("ab\\U0001030Fx"), in TestSupplemental()
1379 CharsToUnicodeString("\\U00010300bix")); in TestSupplemental()
1381 expect(CharsToUnicodeString("$a=[a-z\\U00010300-\\U00010323];" + in TestSupplemental()
1384 CharsToUnicodeString("aB\\U00010300\\U00010400c\\U00010401\\U00010301D"), in TestSupplemental()
1385 CharsToUnicodeString("Ba\\U00010400\\U00010300\\U00010401cD\\U00010301")); in TestSupplemental()
1395 expect(CharsToUnicodeString("$a=[a\\U00010300-\\U00010323];" + in TestSupplemental()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1003 expectContainment("[:Latin:]", "aA", CharsToUnicodeString("\\u0391\\u03B1")); in TestScriptSet()
1005 expectContainment("[:Greek:]", CharsToUnicodeString("\\u0391\\u03B1"), "aA"); in TestScriptSet()
1008 …expectContainment("[[:Common:][:Inherited:]]", CharsToUnicodeString("\\U00003099\\U0001D169\\u0000… in TestScriptSet()
1990 CharsToUnicodeString("abc\\U00010000"), in TestSurrogate()
2414 static final String CharsToUnicodeString(String s) { in CharsToUnicodeString() method in UnicodeSetTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java1006 expectContainment("[:Latin:]", "aA", CharsToUnicodeString("\\u0391\\u03B1")); in TestScriptSet()
1008 expectContainment("[:Greek:]", CharsToUnicodeString("\\u0391\\u03B1"), "aA"); in TestScriptSet()
1011 …expectContainment("[[:Common:][:Inherited:]]", CharsToUnicodeString("\\U00003099\\U0001D169\\u0000… in TestScriptSet()
1993 CharsToUnicodeString("abc\\U00010000"), in TestSurrogate()
2417 static final String CharsToUnicodeString(String s) { in CharsToUnicodeString() method in UnicodeSetTest

12