Home
last modified time | relevance | path

Searched refs:unescape (Results 1 – 25 of 161) sorted by relevance

1234567

/external/icu/icu4c/source/test/intltest/
Dscientificnumberformattertest.cpp65 UnicodeString(expected).unescape(), in TestBasic()
80 UnicodeString(expected).unescape(), in TestBasic()
94 UnicodeString(expected).unescape(), in TestBasic()
113 UnicodeString(expected).unescape(), in TestFarsi()
140 UnicodeString(expected).unescape(), in TestPlusSignInExponentMarkup()
167 UnicodeString(expected).unescape(), in TestPlusSignInExponentSuperscript()
189 UnicodeString(expected).unescape(), in TestFixedDecimalMarkup()
211 UnicodeString(expected).unescape(), in TestFixedDecimalSuperscript()
Dnumfmtspectest.cpp37 upattern = upattern.unescape(); in nfWithPattern()
194 upattern = upattern.unescape(); in TestPadding()
211 upattern = upattern.unescape(); in TestPadding()
256 upattern = upattern.unescape(); in assertPatternFr()
257 uexpected = uexpected.unescape(); in assertPatternFr()
Dstrcase.cpp150 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); in TestCaseConversion()
265 deseretInput=UnicodeString("\\U0001043C\\U00010414", "").unescape(), in TestCaseConversion()
266 deseretLower=UnicodeString("\\U0001043C\\U0001043C", "").unescape(), in TestCaseConversion()
267 deseretUpper=UnicodeString("\\U00010414\\U00010414", "").unescape(); in TestCaseConversion()
283 …tring("ab'cD \\uFB00i\\u0131I\\u0130 \\u01C7\\u01C8\\u01C9 \\U0001043C\\U00010414", "").unescape(), in TestCaseConversion()
284 …ring("ab'cd \\uFB00i\\u0131ii\\u0307 \\u01C9\\u01C9\\u01C9 \\U0001043C\\U0001043C", "").unescape(), in TestCaseConversion()
285 …er=UnicodeString("AB'CD FFIII\\u0130 \\u01C7\\u01C7\\u01C7 \\U00010414\\U00010414", "").unescape(); in TestCaseConversion()
305 …03a3\\u0308j \\u0307\\u03a3\\u0308j i\\u00ad\\u03a3\\u0308 \\u0307\\u03a3\\u0308 ", "").unescape(), in TestCaseConversion()
306 …03c3\\u0308j \\u0307\\u03c3\\u0308j i\\u00ad\\u03c2\\u0308 \\u0307\\u03c3\\u0308 ", "").unescape(), in TestCaseConversion()
307 …03a3\\u0308J \\u0307\\u03a3\\u0308J I\\u00ad\\u03a3\\u0308 \\u0307\\u03a3\\u0308 ", "").unescape(); in TestCaseConversion()
[all …]
Ditspoof.cpp113 UnicodeString s2 = UnicodeString("\\u0441\\u0445\\u0455").unescape(); // Cyrillic "cxs" in testSpoofAPI()
209 UnicodeString uInput = UnicodeString(input).unescape(); in checkSkeleton()
210 UnicodeString uExpected = UnicodeString(expected).unescape(); in checkSkeleton()
243 UnicodeString s = UnicodeString("abcd\\u0301ef").unescape(); in testInvisible()
249 UnicodeString s2 = UnicodeString("abcd\\u0301\\u0302\\u0301ef").unescape(); in testInvisible()
257 UnicodeString s3 = UnicodeString("abcd\\u00e1\\u0301xyz").unescape(); in testInvisible()
266 UnicodeString s = UnicodeString("B\\u00c1\\u0301").unescape(); in testBug8654()
567 UnicodeString testString = UnicodeString(test.fId).unescape(); in testRestrictionLevel()
631 UnicodeString testString = UnicodeString(test.fTestString).unescape(); in testMixedNumbers()
632 UnicodeSet expectedSet(UnicodeString(test.fExpectedSet).unescape(), status); in testMixedNumbers()
[all …]
Dtstnrapi.cpp25 UnicodeString s=UnicodeString("a\\u0308\\uac00\\U0002f800", "").unescape(); in TestNormalizerAPI()
69 nfkc!=UnicodeString("TE\\u0139TELTELTELTELTELTELTELTELTEL", "").unescape() || in TestNormalizerAPI()
70 nfkd!=UnicodeString("TEL\\u0301TELTELTELTELTELTELTELTELTEL", "").unescape() in TestNormalizerAPI()
Dnumberformat2test.cpp1402 assertEquals("", expectedSymbol.unescape(), info.getSymbol()); in TestCurrencyAffixInfo()
1403 assertEquals("", expectedSymbolIso.unescape(), info.getISO()); in TestCurrencyAffixInfo()
1404 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("one").toString()); in TestCurrencyAffixInfo()
1405 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("other").toString()); in TestCurrencyAffixInfo()
1406 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("two").toString()); in TestCurrencyAffixInfo()
1422 assertEquals("", expectedSymbol.unescape(), info.getSymbol()); in TestCurrencyAffixInfo()
1423 assertEquals("", expectedSymbolIso.unescape(), info.getISO()); in TestCurrencyAffixInfo()
1424 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("one").toString()); in TestCurrencyAffixInfo()
1425 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("other").toString()); in TestCurrencyAffixInfo()
1426 assertEquals("", expectedSymbols.unescape(), info.getLong().getByCategory("two").toString()); in TestCurrencyAffixInfo()
[all …]
Dnumbertest_affixutils.cpp226 AffixUtils::unescape(input, sb, 0, provider, status); in testUnescapeWithSymbolProvider()
236 AffixUtils::unescape(u"-+%", sb, 4, provider, status); in testUnescapeWithSymbolProvider()
244 int32_t length = AffixUtils::unescape(input, nsb, 0, defaultProvider, status); in unescapeWithDefaults()
Dlistformattertest.cpp461 UnicodeString and_string = UnicodeString("\\u53CA", -1, US_INV).unescape(); in TestChineseTradHK()
462 UnicodeString comma_string = UnicodeString("\\u3001", -1, US_INV).unescape(); in TestChineseTradHK()
476 UnicodeString and_string = UnicodeString(" \\u0438 ", -1, US_INV).unescape(); in TestRussian()
492 …pair_string = UnicodeString(" \\u0d15\\u0d42\\u0d1f\\u0d3e\\u0d24\\u0d46 ", -1, US_INV).unescape(); in TestMalayalam()
493 …total_string = UnicodeString(" \\u0d0e\\u0d28\\u0d4d\\u0d28\\u0d3f\\u0d35", -1, US_INV).unescape(); in TestMalayalam()
Dtstnorm.cpp72 return str.unescape(); in str()
360 a = a.unescape(); in TestZeroIndex()
367 exp = exp.unescape(); in TestZeroIndex()
379 UnicodeString exp = UnicodeString(DATA[i+2], "").unescape(); in TestZeroIndex()
844 left=UnicodeString(cases[i][1], "").unescape(); in TestConcatenate()
845 right=UnicodeString(cases[i][2], "").unescape(); in TestConcatenate()
846 expect=UnicodeString(cases[i][3], "").unescape(); in TestConcatenate()
1102 s[i]=UnicodeString(strings[i], "").unescape(); in TestCompare()
1481 UnicodeString input=UnicodeString(pair.input, -1, US_INV).unescape(); in TestCustomComp()
1482 UnicodeString expected=UnicodeString(pair.expected, -1, US_INV).unescape(); in TestCustomComp()
[all …]
/external/curl/tests/data/
Dtest153723 libcurl URL escape/unescape tests
37 unescape == original? YES
39 [old] unescape == original? YES
41 unescape -1 length: (nil) 2017
/external/cldr/tools/java/org/unicode/cldr/util/
DIsoCurrencyParser.java41 .put(Utility.unescape("\u00C5LAND ISLANDS"), "AX")
49 .put(Utility.unescape("C\u00D4TE D\u2019IVOIRE"), "CI")
52 .put(Utility.unescape("CURA\u00C7AO"), "CW")
64 .put(Utility.unescape("KOREA (THE DEMOCRATIC PEOPLE\u2019S REPUBLIC OF)"), "KP")
67 .put(Utility.unescape("LAO PEOPLE\u2019S DEMOCRATIC REPUBLIC (THE)"), "LA")
77 .put(Utility.unescape("R\u00C9UNION"), "RE")
91 .put(Utility.unescape("INTERNATIONAL MONETARY FUND (IMF)\u00A0"), "ZZ")
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DWebPlatformUrlTestData.java95 element.input = unescape(parts[i++]); in load()
100 : unescape(base); in load()
106 element.set(nameAndValue[0], unescape(nameAndValue[1])); in load()
114 private static String unescape(String s) throws EOFException {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java809 String input = Utility.unescape(tests[i][0]); in staticTest()
810 String expect = Utility.unescape(tests[i][outCol]); in staticTest()
825 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in staticTest()
826 String expect =Utility.unescape( tests[i][outCol]); in staticTest()
854 String input = Utility.unescape(tests[i][0]); in decomposeTest()
855 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
870 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest()
871 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
897 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest()
898 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java812 String input = Utility.unescape(tests[i][0]); in staticTest()
813 String expect = Utility.unescape(tests[i][outCol]); in staticTest()
828 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in staticTest()
829 String expect =Utility.unescape( tests[i][outCol]); in staticTest()
857 String input = Utility.unescape(tests[i][0]); in decomposeTest()
858 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
873 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest()
874 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
900 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest()
901 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest()
[all …]
/external/python/cpython3/Lib/html/
Dparser.py15 from html import unescape
163 self.handle_data(unescape(rawdata[i:j]))
196 self.handle_data(unescape(rawdata[i:k]))
247 self.handle_data(unescape(rawdata[i:n]))
326 attrvalue = unescape(attrvalue)
466 def unescape(self, s): member in HTMLParser
470 return unescape(s)
/external/python/setuptools/setuptools/
Dpy33compat.py54 unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape) variable
/external/clang/tools/scan-build-py/libscanbuild/
Dshell.py58 def unescape(arg): function
66 return [unescape(arg) for arg in shlex.split(string)]
/external/icu/icu4c/source/tools/genrb/
Dread.c182 c = unescape(buf, status); in getStringToken()
242 c = unescape(buf, status); in getStringToken()
288 c = unescape(buf, status); in getStringToken()
435 U_CFUNC UChar32 unescape(UCHARBUF *buf, UErrorCode *status) { in unescape() function
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DAffixUtilsTest.java210 AffixUtils.unescape(input, sb, 0, provider); in testUnescapeWithSymbolProvider()
217 AffixUtils.unescape("-+%", sb, 4, provider); in testUnescapeWithSymbolProvider()
243 int length = AffixUtils.unescape(input, nsb, 0, DEFAULT_SYMBOL_PROVIDER); in unescapeWithDefaults()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DAffixUtilsTest.java207 AffixUtils.unescape(input, sb, 0, provider); in testUnescapeWithSymbolProvider()
214 AffixUtils.unescape("-+%", sb, 4, provider); in testUnescapeWithSymbolProvider()
240 int length = AffixUtils.unescape(input, nsb, 0, DEFAULT_SYMBOL_PROVIDER); in unescapeWithDefaults()
/external/python/cpython3/Lib/test/
Dtest_html.py22 self.assertEqual(html.unescape(text), expected,
27 self.assertEqual(html.unescape(text), expected,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DIETFUtils.java23 private static String unescape(String elt) in unescape() method in IETFUtils
159 values.addElement(unescape(value)); in rDNsFromString()
177 values.addElement(unescape(value)); in rDNsFromString()
184 builder.addRDN(oid, unescape(value)); in rDNsFromString()
201 builder.addRDN(oid, unescape(value)); in rDNsFromString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x500/style/
DIETFUtils.java27 private static String unescape(String elt) in unescape() method in IETFUtils
163 values.addElement(unescape(value)); in rDNsFromString()
181 values.addElement(unescape(value)); in rDNsFromString()
188 builder.addRDN(oid, unescape(value)); in rDNsFromString()
205 builder.addRDN(oid, unescape(value)); in rDNsFromString()
/external/python/cpython2/Doc/tools/extensions/
Dpyspecific.py62 issue = utils.unescape(text)
72 title = utils.unescape(title)
73 target = utils.unescape(target)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java374 String s2 = Utility.unescape("\\u0441\\u0445\\u0455"); // Cyrillic "cxs" in TestSpoofAPI()
453 String uInput = Utility.unescape(input); in checkSkeleton()
454 String uExpected = Utility.unescape(expected); in checkSkeleton()
538 String s = Utility.unescape("abcd\\u0301ef"); in TestInvisible()
545 String s2 = Utility.unescape("abcd\\u0301\\u0302\\u0301ef"); in TestInvisible()
553 String s3 = Utility.unescape("abcd\\u00e1\\u0301xyz"); in TestInvisible()
647 String identifier = Utility.unescape("ABC\\U0001D7CF\\U0001D7D0\\U0001D7D1"); in TestBug11635()

1234567