Home
last modified time | relevance | path

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

12

/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp190 CharsToUnicodeString("11:58 p.\\u00A0m."), // 08: hhmm -> "hh:mm a" in testAPI()
195 CharsToUnicodeString("mi\\u00E9, 13 ene"), // 13: MMMEd -> "E, d MMM" in testAPI()
196 CharsToUnicodeString("mi\\u00E9 13"), // 14: Ed -> "EEE d" in testAPI()
204CharsToUnicodeString("1999\\u5E741\\u6708"), // 01: yMMM -> y\u5E74M\u6708 in testAPI()
206CharsToUnicodeString("1999\\u5E741\\u670813\\u65E5"), // 03: yMMMd -> y\u5E74M\u6708d\… in testAPI()
208CharsToUnicodeString("1\\u670813\\u65E5"), // 05: MMMd -> M\u6708d\u65E5 in testAPI()
209CharsToUnicodeString("1\\u670813\\u65E5"), // 06: MMMMd -> M\u6708d\u65E5 in testAPI()
210 CharsToUnicodeString("1999/Q1"), // 07: yQQQ -> y/QQQ in testAPI()
211 CharsToUnicodeString("\\u5348\\u5F8C11:58"), // 08: hhmm in testAPI()
215CharsToUnicodeString("1999\\u5E741\\u6708"), // 12: yyyyMMMM -> y\u5E74M\u67… in testAPI()
[all …]
Dtranstst.cpp1107 UnicodeString h = CharsToUnicodeString(DATA[i+1]); in TestHiraganaKatakana()
1108 UnicodeString k = CharsToUnicodeString(DATA[i+2]); in TestHiraganaKatakana()
1168 UnicodeString dev = CharsToUnicodeString("\\u0901\\u090B\\u0925"); in TestInterIndic()
1169 UnicodeString guj = CharsToUnicodeString("\\u0A81\\u0A8B\\u0AA5"); in TestInterIndic()
1282 …expect(*uni2name, CharsToUnicodeString("\\u00A0abc\\u4E01\\u00B5\\u0A81\\uFFFD\\u0004\\u0009\\u008… in TestNameMap()
1283CharsToUnicodeString("\\\\N{NO-BREAK SPACE}abc\\\\N{CJK UNIFIED IDEOGRAPH-4E01}\\\\N{MICRO SIGN}\\… in TestNameMap()
1285CharsToUnicodeString("{\\u00A0abc\\u4E01\\\\N{x\\u00B5\\u0A81\\uFFFD\\u0004\\u0009\\u0081\\uFFFF\\… in TestNameMap()
1300 …UnicodeString s = CharsToUnicodeString("{\\u00A0abc\\u4E01\\\\N{x\\u00B5\\u0A81\\uFFFD\\u0004\\u00… in TestNameMap()
1472 UnicodeString in = CharsToUnicodeString(CANON[i]); in TestNormalizationTransliterator()
1473 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()
543CharsToUnicodeString("a\\u0304"), CharsToUnicodeString("Hindi -\\u0906-"), … in TestKeyboardTransliterator2()
544CharsToUnicodeString("ma\\u0304"), CharsToUnicodeString("Hindi -\\u0906\\u092E\\u093E-"), … in TestKeyboardTransliterator2()
545CharsToUnicodeString("ra\\u0304"), CharsToUnicodeString("Hi\\u0930\\u093Endi -\\u0906\\u092E\\u… in TestKeyboardTransliterator2()
546CharsToUnicodeString(""), CharsToUnicodeString("Hi\\u0930\\u093Endi -\\u0906\\u092E\\u093E-"… in TestKeyboardTransliterator2()
Ddtfmttst.cpp3914 …{ "ja", FALSE, FALSE, CharsToUnicodeString("y\\u5E74M\\u6708d\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3915 …{ "ja", TRUE, FALSE, CharsToUnicodeString("y\\u5E74M\\u6708d\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3916 …{ "ja", FALSE, FALSE, CharsToUnicodeString("y\\u5E74MMMd\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3917 …{ "ja", TRUE, FALSE, CharsToUnicodeString("y\\u5E74MMMd\\u65E5"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3920 …FALSE, FALSE, UnicodeString("yyyy. MMMMM d."), CharsToUnicodeString("2009. 7\\u… in TestNumberAsStringParsing()
3921 …TRUE, FALSE, UnicodeString("yyyy. MMMMM d."), CharsToUnicodeString("2009. 7\\u… in TestNumberAsStringParsing()
3922 …{ "ko", FALSE, FALSE, CharsToUnicodeString("y\\uB144 M\\uC6D4 d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3923 …{ "ko", TRUE, FALSE, CharsToUnicodeString("y\\uB144 M\\uC6D4 d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3924 …{ "ko", FALSE, FALSE, CharsToUnicodeString("y\\uB144 MMM d\\uC77C"), CharsToUnicodeString("20… in TestNumberAsStringParsing()
3925 …{ "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.cpp935 if (!(s==CharsToUnicodeString("1,50\\u00A0$\\u00A0CA"))) in TestCurrency()
945 if (!(s==CharsToUnicodeString("1,50\\u00A0DM"))) in TestCurrency()
953 if (!(s==CharsToUnicodeString("1,50\\u00A0F"))) in TestCurrency()
1006 1234.56, CharsToUnicodeString("\\u20AC1,234.56")); // Euro in TestCurrencyObject()
1009 1234.56, CharsToUnicodeString("\\u00A51,235")); // Yen in TestCurrencyObject()
1026 expectCurrency(*fmt, null, 1234.56, CharsToUnicodeString("1\\u202F234,56 \\u20AC")); in TestCurrencyObject()
1029 1234.56, CharsToUnicodeString("1\\u202F235 JPY")); // Yen in TestCurrencyObject()
1032 …1234.56, CharsToUnicodeString("1\\u202F234,56 CHF")); // no more 0.05 rounding here, see cldrbug 5… in TestCurrencyObject()
1035 1234.56, CharsToUnicodeString("1\\u202F234,56 $US")); in TestCurrencyObject()
1038 1234.56, CharsToUnicodeString("1\\u202F234,56 \\u20AC")); // Euro in TestCurrencyObject()
[all …]
Dincaltst.cpp470 …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()
488 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
497 …UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0… in TestBuddhistFormat()
576 …UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc… in TestJapaneseFormat()
584 …UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc… in TestJapaneseFormat()
592 …UnicodeString expect = CharsToUnicodeString("\\u5b89\\u6c385\\u5e747\\u67084\\u65e5\\u6728\\u66dc\… in TestJapaneseFormat()
601 …UnicodeString expect = CharsToUnicodeString("\\u662d\\u548c64\\u5e741\\u67086\\u65e5\\u91d1\\u66dc… in TestJapaneseFormat()
610 …UnicodeString expect = CharsToUnicodeString("\\u5E73\\u6210\\u5143\\u5E741\\u67089\\u65E5\\u6708\\… in TestJapaneseFormat()
619 …UnicodeString expect = CharsToUnicodeString("\\u5EB7\\u6B632\\u5e742\\u670829\\u65e5\\u65e5\\u66dc… in TestJapaneseFormat()
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.cpp867 …UnicodeString pat = CharsToUnicodeString("''Vous'' {0,choice,0#n''|1#}avez s\\u00E9lectionn\\u00E9… in Test4142938()
875 CharsToUnicodeString("'Vous' n'avez s\\u00E9lectionn\\u00E9 aucun clients personnels."), in Test4142938()
876 CharsToUnicodeString("'Vous' avez s\\u00E9lectionn\\u00E9 "), in Test4142938()
877 CharsToUnicodeString("'Vous' avez s\\u00E9lectionn\\u00E9 ") in Test4142938()
Dtsmthred.cpp521 FormatThreadTestData((double)5.0, CharsToUnicodeString("500\\u00a0%")), in run()
522 FormatThreadTestData( 1.0, CharsToUnicodeString("100\\u00a0%")), in run()
523 FormatThreadTestData( 0.26, CharsToUnicodeString("26\\u00a0%")), in run()
525 … 16384.99, CharsToUnicodeString("1\\u202F638\\u202F499\\u00a0%")), // U+202F = NNBSP in run()
527 81890.23, CharsToUnicodeString("8\\u202F189\\u202F023\\u00a0%")), in run()
Dusettest.cpp906 expectContainment(u"[:Latin:]", "aA", CharsToUnicodeString("\\u0391\\u03B1")); in TestScriptSet()
908 expectContainment(u"[:Greek:]", CharsToUnicodeString("\\u0391\\u03B1"), "aA"); in TestScriptSet()
911 …expectContainment(u"[[:Common:][:Inherited:]]", CharsToUnicodeString("\\U00003099\\U0001D169\\u000… in TestScriptSet()
1101 expectContainment(UnicodeString(DATA[i], -1, US_INV), CharsToUnicodeString(DATA[i+1]), in TestPropertySet()
1102 CharsToUnicodeString(DATA[i+2])); in TestPropertySet()
1418 expectContainment(cm, "abckABCK", CharsToUnicodeString("defDEF\\u212A")); in TestCloseOver()
1750 CharsToUnicodeString("abc\\U00010000"), in TestSurrogate()
1751 CharsToUnicodeString("\\uD800;\\uDC00")); // split apart surrogate-pair in TestSurrogate()
2190 UnicodeString s = CharsToUnicodeString(expStrings[i]); in expectToPattern()
Dthcoll.cpp340 return result = CharsToUnicodeString(chars); in parseChars()
Dintltest.h444 extern UnicodeString CharsToUnicodeString(const char* chars);
Dustrtest.cpp124 if(test3 != CharsToUnicodeString("\\uD841\\uDC02")){ in TestBasicManipulation()
131 if(test3 != CharsToUnicodeString("\\uD841\\uDC02t")){ in TestBasicManipulation()
236 if(v!=CharsToUnicodeString("a\\xe4\\x85")) { in TestBasicManipulation()
Dstrcase.cpp178 test3 = CharsToUnicodeString("S\\u00FC\\u00DFmayrstra\\u00DFe"); in TestCaseConversion()
181 expectedResult = CharsToUnicodeString("S\\u00DCSSMAYRSTRASSE"); in TestCaseConversion()
Dintltest.cpp1786 UnicodeString CharsToUnicodeString(const char* chars){ in CharsToUnicodeString() function
1791 return CharsToUnicodeString(chars); in ctou()
Dtransrt.cpp595 UnicodeString irrelevants = CharsToUnicodeString("\\u2000\\u2001\\u2126\\u212A\\u212B\\u2329"); in test2()
Dssearch.cpp641 UnicodeString ts = CharsToUnicodeString(test[i]); in offsetTest()
Drbbiapts.cpp1470 UnicodeString expected=CharsToUnicodeString(expectedString); in doTest()
Dapicoll.cpp1390 rule = CharsToUnicodeString("\\u0026\\u0071\\u003c\\u1165\\u002f\\u0071\\u0071\\u0071\\u0071"); in TestMaxExpansion()
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1008 expectContainment("[:Latin:]", "aA", CharsToUnicodeString("\\u0391\\u03B1")); in TestScriptSet()
1010 expectContainment("[:Greek:]", CharsToUnicodeString("\\u0391\\u03B1"), "aA"); in TestScriptSet()
1013 …expectContainment("[[:Common:][:Inherited:]]", CharsToUnicodeString("\\U00003099\\U0001D169\\u0000… in TestScriptSet()
1995 CharsToUnicodeString("abc\\U00010000"), in TestSurrogate()
2419 static final String CharsToUnicodeString(String s) { in CharsToUnicodeString() method in UnicodeSetTest
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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