Home
last modified time | relevance | path

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

123

/external/v8/test/mjsunit/
Descape.js64 assertEquals(s, unescape(escape(s)));
74 assertEquals(example, unescape(escape(example)));
78 assertEquals(unescape("%41%4A%4a"), "AJJ");
81 assertEquals("%U1234", unescape("%U1234"));
84 assertEquals("%", unescape("%"));
85 assertEquals("%4", unescape("%4"));
86 assertEquals("%u", unescape("%u"));
87 assertEquals("%u4", unescape("%u4"));
88 assertEquals("%u44", unescape("%u44"));
89 assertEquals("%u444", unescape("%u444"));
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
D15.1.2.5-1.js82 …array[item++] = new TestCase( SECTION, "unescape.length", 1, unescape.length );
84 …w TestCase( SECTION, "delete unescape.length", false, delete unescape.length );
88 array[item++] = new TestCase( SECTION, "unescape()", "undefined", unescape() );
89 … array[item++] = new TestCase( SECTION, "unescape('')", "", unescape('') );
90 …array[item++] = new TestCase( SECTION, "unescape( null )", "null", unescape(null) );
91 …array[item++] = new TestCase( SECTION, "unescape( void 0 )", "undefined", unescape(void 0)…
92 …array[item++] = new TestCase( SECTION, "unescape( true )", "true", unescape( true )…
93 …array[item++] = new TestCase( SECTION, "unescape( false )", "false", unescape( false …
95 …array[item++] = new TestCase( SECTION, "unescape( new Boolean(true) )", "true", unescape(new Boo…
96 …array[item++] = new TestCase( SECTION, "unescape( new Boolean(false) )", "false", unescape(new…
[all …]
D15.1.2.5-2.js91 unescape( "%" + (ToHexString(CHARCODE)).substring(0,1) ) );
100 unescape( "%u" + (ToHexString(CHARCODE)).substring(0,1) ) );
112 unescape( "%u"+(ToUnicodeString(CHARCODE)).substring(0,3) )
D15.1.2.5-3.js96 unescape( "%" + (ToHexString(CHARCODE)).substring(0,1)+
108 unescape( "%u" + (ToHexString(CHARCODE)).substring(0,1)+
124 unescape( "%" + (ToUnicodeString(CHARCODE)).substring(0,3)+
/external/icu4c/test/intltest/
Dstrcase.cpp80 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); in TestCaseConversion()
195 deseretInput=UnicodeString("\\U0001043C\\U00010414", "").unescape(), in TestCaseConversion()
196 deseretLower=UnicodeString("\\U0001043C\\U0001043C", "").unescape(), in TestCaseConversion()
197 deseretUpper=UnicodeString("\\U00010414\\U00010414", "").unescape(); in TestCaseConversion()
213 …tring("ab'cD \\uFB00i\\u0131I\\u0130 \\u01C7\\u01C8\\u01C9 \\U0001043C\\U00010414", "").unescape(), in TestCaseConversion()
214 …ring("ab'cd \\uFB00i\\u0131ii\\u0307 \\u01C9\\u01C9\\u01C9 \\U0001043C\\U0001043C", "").unescape(), in TestCaseConversion()
215 …er=UnicodeString("AB'CD FFIII\\u0130 \\u01C7\\u01C7\\u01C7 \\U00010414\\U00010414", "").unescape(); in TestCaseConversion()
235 …03a3\\u0308j \\u0307\\u03a3\\u0308j i\\u00ad\\u03a3\\u0308 \\u0307\\u03a3\\u0308 ", "").unescape(), in TestCaseConversion()
236 …03c3\\u0308j \\u0307\\u03c3\\u0308j i\\u00ad\\u03c2\\u0308 \\u0307\\u03c3\\u0308 ", "").unescape(), in TestCaseConversion()
237 …03a3\\u0308J \\u0307\\u03a3\\u0308J I\\u00ad\\u03a3\\u0308 \\u0307\\u03a3\\u0308 ", "").unescape(); in TestCaseConversion()
[all …]
Ditspoof.cpp118 UnicodeString s2 = UnicodeString("\\u0441\\u0445\\u0455").unescape(); // Cyrillic "cxs" in testSpoofAPI()
216 UnicodeString uInput = UnicodeString(input).unescape(); in checkSkeleton()
217 UnicodeString uExpected = UnicodeString(expected).unescape(); in checkSkeleton()
249 UnicodeString s = UnicodeString("abcd\\u0301ef").unescape(); in testInvisible()
255 UnicodeString s2 = UnicodeString("abcd\\u0301\\u0302\\u0301ef").unescape(); in testInvisible()
263 UnicodeString s3 = UnicodeString("abcd\\u00e1\\u0301xyz").unescape(); in testInvisible()
272 UnicodeString s = UnicodeString("B\\u00c1\\u0301").unescape(); in testBug8654()
Dtstnrapi.cpp23 UnicodeString s=UnicodeString("a\\u0308\\uac00\\U0002f800", "").unescape(); in TestNormalizerAPI()
67 nfkc!=UnicodeString("TE\\u0139TELTELTELTELTELTELTELTELTEL", "").unescape() || in TestNormalizerAPI()
68 nfkd!=UnicodeString("TEL\\u0301TELTELTELTELTELTELTELTELTEL", "").unescape() in TestNormalizerAPI()
Dtstnorm.cpp70 return str.unescape(); in str()
357 a = a.unescape(); in TestZeroIndex()
364 exp = exp.unescape(); in TestZeroIndex()
376 UnicodeString exp = UnicodeString(DATA[i+2], "").unescape(); in TestZeroIndex()
815 left=UnicodeString(cases[i][1], "").unescape(); in TestConcatenate()
816 right=UnicodeString(cases[i][2], "").unescape(); in TestConcatenate()
817 expect=UnicodeString(cases[i][3], "").unescape(); in TestConcatenate()
1073 s[i]=UnicodeString(strings[i], "").unescape(); in TestCompare()
1411 UnicodeString input=UnicodeString(pair.input, -1, US_INV).unescape(); in TestCustomComp()
1412 UnicodeString expected=UnicodeString(pair.expected, -1, US_INV).unescape(); in TestCustomComp()
[all …]
Dssearch.cpp255 text = text.unescape(); in searchTest()
262 text = text.unescape(); in searchTest()
271 text = text.unescape(); in searchTest()
280 text = text.unescape(); in searchTest()
593 text = text.unescape(); in bmSearchTest()
600 text = text.unescape(); in bmSearchTest()
609 text = text.unescape(); in bmSearchTest()
618 text = text.unescape(); in bmSearchTest()
1265 longPattern = new BoyerMooreSearch(data, lp.unescape(), NULL, status); in boyerMooreTest()
1266 shortPattern = new BoyerMooreSearch(data, sp.unescape(), NULL, status); in boyerMooreTest()
[all …]
Ducharstrietest.cpp786 builder_->add(UnicodeString(data[index].s, -1, US_INV).unescape(), in buildTrie()
824 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst()
860 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext()
938 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextWithState()
993 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextString()
1034 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkIterator()
Duts46test.cpp138 expected=UNICODE_STRING_SIMPLE("xn--bcher\\uFFFDde-65a").unescape(); in TestAPI()
209 UnicodeString input=UNICODE_STRING_SIMPLE("\\u0000A_2+2=4\\u000A.e\\u00DFen.net").unescape(); in TestNotSTD3()
213 UNICODE_STRING_SIMPLE("\\u0000a_2+2=4\\u000A.essen.net").unescape() || in TestNotSTD3()
227 input=UNICODE_STRING_SIMPLE("a\\u2260b\\u226Ec\\u226Fd").unescape(); in TestNotSTD3()
Dtmsgfmt.cpp692 …MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
705 …internalFormat( msgFmt1 , testArgs[i], 2, exp[i].unescape() ,(char*)"From TestMessageFormat::testS… in testMsgFormatSelect()
714 …MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
727 …internalFormat( msgFmt2 , testArgs[i], 2, exp[i].unescape() ,(char*)"From TestMessageFormat::testS… in testMsgFormatSelect()
758 …MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
771 …internalFormat( msgFmt4 , testArgs[i], 3, exp[i].unescape() ,(char*)"From TestMessageFormat::testS… in testMsgFormatSelect()
781 …MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
796 …internalFormat( msgFmt5 , testArgs[i], 3, exp[i].unescape() ,(char*)"From TestMessageFormat::testS… in testMsgFormatSelect()
Dustrtest.cpp150 UnicodeString s=UNICODE_STRING("\\U0002f999\\U0001d15f\\u00c4\\u1ed0", 32).unescape(); in TestBasicManipulation()
435 UnicodeString s=UNICODE_STRING("a\\u0308b", 8).unescape(); in TestCompare()
584 UnicodeString s=UNICODE_STRING("\\U0002f999\\U0001d15f\\u00c4\\u1ed0", 32).unescape(); in TestExtract()
1020 test=UNICODE_STRING("\\U0002f999\\U0001d15f\\u00c4\\u1ed0", 32).unescape(); in TestReverse()
1029 test=UNICODE_STRING_SIMPLE("ab\\U0001F4A9e").unescape(); in TestReverse()
1030 UnicodeString expected=UNICODE_STRING_SIMPLE("e\\U0001F4A9ba").unescape(); in TestReverse()
1325 UnicodeString result = IN.unescape(); in TestUnescape()
1333 if (!UNICODE_STRING("wrong \\u sequence", 17).unescape().isEmpty()) { in TestUnescape()
1359 UnicodeString s=UNICODE_STRING("\\U0002f999\\U0001d15f\\u00c4\\u1ed0", 32).unescape(); in TestCountChar32()
2055 if(dest!=UNICODE_STRING_SIMPLE("ab\\U00050000cdefghij").unescape()) { in doTestAppendable()
Dtufmtts.cpp309 …_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]. in testGreek()
Dalphaindextst.cpp147 const UnicodeString Cyrillic = UNICODE_STRING_SIMPLE("\\u0410\\u0443\\u0435").unescape(); in APITest()
378 …es[nameCount] = UnicodeString(pinyinTestData[nameCount], -1, UnicodeString::kInvariant).unescape(); in HackPinyinTest()
/external/linux-tools-perf/config/
Dutilities.mak30 # $(call unescape-nl...)
34 # unescape-nl
36 # Usage: text = $(call unescape-nl,escaped-text[,escape])
40 unescape-nl = $(subst $(call nl-escape,$(2)),$(newline),$(1))
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
74 define shell-unescape-nl
128 "$$(echo $(call escape-nl,$(shell-sq),$(2)) | $(call shell-unescape-nl,$(2)))"
144 lookup = $(call unescape-nl,$(shell sh -c $(_l-sh)))
/external/icu4c/tools/genrb/
Dread.c178 c = unescape(buf, status); in getStringToken()
238 c = unescape(buf, status); in getStringToken()
284 c = unescape(buf, status); in getStringToken()
431 UChar32 unescape(UCHARBUF *buf, in unescape() function
Dread.h41 UChar32 unescape(UCHARBUF *buf, UErrorCode *status);
/external/v8/test/mjsunit/regress/
Dregress-3247124.js28 var foo = unescape("%E0%E2%EA%F4%FB%E3%F5%E1%E9%ED%F3%FA%E7%FC%C0%C2%CA%D4%DB%C3%D5%C1%C9%CD%D3%DA%…
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/
D12.10-1.js145 this.unescape = new Function( "return this.value" );
/external/webkit/PerformanceTests/SunSpider/
DUNCOVERED46 unescape
/external/v8/src/
Duri.js179 function Encode(uri, unescape) { argument
188 if (unescape(cc1)) {
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
Dgroup-file-parser.rb130 def unescape( text ) method in ANTLR3.Template.GroupFile.Parser
156 unescape( token.text[ 1...-1 ] )
/external/chromium/chrome/browser/resources/shared/js/
Dutil.js68 var query = unescape(location.search.substring(1));
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
D15.4.4.3-1.js98unescape("%u000B%u000Btrue%u000Bfalse%u000B123%u000B[object Object]%u000Btrue"),

123