Home
last modified time | relevance | path

Searched refs:fromCharCode (Results 1 – 25 of 106) sorted by relevance

12345

/external/v8/test/webkit/fast/js/kde/
Dencode_decode_uri-expected.txt29 PASS decodeURI(encodeURI(String.fromCharCode(0))) is String.fromCharCode(0)
30 PASS decodeURI(encodeURI(String.fromCharCode(55295))) is String.fromCharCode(55295)
31 PASS decodeURI(encodeURI(String.fromCharCode(57344))) is String.fromCharCode(57344)
32 PASS decodeURI(encodeURI(String.fromCharCode(65533))) is String.fromCharCode(65533)
33 PASS decodeURI(encodeURI(String.fromCharCode(65534))) is String.fromCharCode(65534)
34 PASS decodeURI(encodeURI(String.fromCharCode(65535))) is String.fromCharCode(65535)
35 PASS encodeURI(String.fromCharCode(56320)) threw exception URIError: URI malformed.
36 PASS encodeURI(String.fromCharCode(57343)) threw exception URIError: URI malformed.
37 …codeURI(encodeURI(String.fromCharCode(55296) + String.fromCharCode(56320))) is String.fromCharCode
38 …codeURI(encodeURI(String.fromCharCode(56319) + String.fromCharCode(56320))) is String.fromCharCode
[all …]
/external/v8/test/webkit/
DparseFloat.js26 var nonASCIINonSpaceCharacter = String.fromCharCode(0x13A0);
27 var illegalUTF16Sequence = String.fromCharCode(0xD800);
29 var tab = String.fromCharCode(9);
30 var nbsp = String.fromCharCode(0xA0);
31 var ff = String.fromCharCode(0xC);
32 var vt = String.fromCharCode(0xB);
33 var cr = String.fromCharCode(0xD);
34 var lf = String.fromCharCode(0xA);
35 var ls = String.fromCharCode(0x2028);
36 var ps = String.fromCharCode(0x2029);
[all …]
DToNumber.js26 var nullCharacter = String.fromCharCode(0);
27 var nonASCIICharacter = String.fromCharCode(0x100);
28 var nonASCIINonSpaceCharacter = String.fromCharCode(0x13A0);
29 var illegalUTF16Sequence = String.fromCharCode(0xD800);
31 var tab = String.fromCharCode(9);
32 var nbsp = String.fromCharCode(0xA0);
33 var ff = String.fromCharCode(0xC);
34 var vt = String.fromCharCode(0xB);
35 var cr = String.fromCharCode(0xD);
36 var lf = String.fromCharCode(0xA);
[all …]
Dregexp-non-bmp.js31 var surrogatePair = String.fromCharCode(0xD800) + String.fromCharCode(0xDC00);
/external/v8/test/mjsunit/
Dstring-fromcharcode.js35 expected += String.fromCharCode(i);
41 result += String.fromCharCode(i);
43 assertEquals(String.fromCharCode(0xFFFF), String.fromCharCode(0xFFFFFFFF));
54 Object.prototype.fromCharCode = function(x) { return this; }; function
56 var fcc = String.fromCharCode;
62 assertEquals(" ", String.fromCharCode(0x20));
63 assertEquals(" ", String.fromCharCode(0x20 + 0x10000));
64 assertEquals(" ", String.fromCharCode(0x20 - 0x10000));
65 assertEquals(" ", String.fromCharCode(0x20 + 0.5));
67 assertEquals("\u1234", String.fromCharCode(0x1234));
[all …]
Dregexp-sort.js31 Test(String.fromCharCode(0xf6), String.fromCharCode(0xd6));
33 Test(String.fromCharCode(0x445), String.fromCharCode(0x425));
35 Test(String.fromCharCode(0xff), String.fromCharCode(0x178));
37 Test(String.fromCharCode(0x3bc), String.fromCharCode(0x39c));
39 Test(String.fromCharCode(0xb5), String.fromCharCode(0x39c));
41 Test(String.fromCharCode(0xb5), String.fromCharCode(0x3bc));
43 TestFail(String.fromCharCode(0xdf), "S");
46 TestFail("i", String.fromCharCode(0x130));
48 TestFail(String.fromCharCode(0x131), "I");
Duri.js34 var s1 = String.fromCharCode(cc1);
36 var s2 = String.fromCharCode(cc2);
38 var s3 = String.fromCharCode(cc3);
40 var s4 = String.fromCharCode(cc4);
42 var s5 = String.fromCharCode(cc5);
44 var s6 = String.fromCharCode(cc6);
46 var s7 = String.fromCharCode(cc7);
49 var s8 = String.fromCharCode(cc8_1)+String.fromCharCode(cc8_2);
52 var s9 = String.fromCharCode(cc9_1)+String.fromCharCode(cc9_2);
54 var s10 = String.fromCharCode(cc10);
Descape.js43 assertEquals("A%20B%u1234%00%20C", escape(String.fromCharCode(0x41, 0x20, 0x42, 0x1234, 0, 0x20, 0x…
45 assertEquals("%u0123", escape(String.fromCharCode(0x123)));
47 assertEquals("%uABCD", escape(String.fromCharCode(0xabcd)));
48 assertEquals("%AB", escape(String.fromCharCode(0xab)));
53 var s = String.fromCharCode(i);
63 var s = String.fromCharCode(i, i+1, i+2, i+3, i+4, i+5, i+6, i+7, i+8, i+9);
69 example = example + String.fromCharCode(267, 0x1234, 0x6667, 0xabcd);
71 example = example + String.fromCharCode(171, 172, 173, 174, 175, 176, 178, 179);
Dnewline-in-string.js39 var code = "'asdf\\" + String.fromCharCode(0xD) + String.fromCharCode(0xA) + "asdf'";
43 code = "'asdf\\" + String.fromCharCode(0xA) + String.fromCharCode(0xD) + "asdf'";
Dunicodelctest.js38 var s = String.fromCharCode(i);
44 return String.fromCharCode(+0xd800 + (c >> 10)) +
45 String.fromCharCode(+0xdc00 + (c & 0x3ff));
104 var ch = String.fromCharCode(ranges[j]);
122 var s = String.fromCharCode(code >>> 0);
Dunicodelctest-no-optimization.js39 var s = String.fromCharCode(i);
45 return String.fromCharCode(+0xd800 + (c >> 10)) +
46 String.fromCharCode(+0xdc00 + (c & 0x3ff));
106 var ch = String.fromCharCode(ranges[j]);
124 var s = String.fromCharCode(code >>> 0);
Dregexp-multiline.js107 check_case(String.fromCharCode(229), String.fromCharCode(197));
109 check_case(String.fromCharCode(0x413), String.fromCharCode(0x433));
Ddelete.js66 o[String.fromCharCode(i)] = i;
67 o[String.fromCharCode(i+1)] = i+1;
70 assertTrue(delete o[String.fromCharCode(i)]);
73 assertFalse(has(o, String.fromCharCode(i)), "deleted (" + i + ")");
74 assertTrue(has(o, String.fromCharCode(i+1)), "still here (" + i + ")");
Dstring-case.js58 str += String.fromCharCode(c);
59 strLower += String.fromCharCode(charCodeToLower(c));
60 strUpper += String.fromCharCode(charCodeToUpper(c));
Dstring-externalize.js37 str += String.fromCharCode(i & 0x7f);
61 assertEquals(String.fromCharCode(i & 0x7f), str1[i]);
82 assertEquals(String.fromCharCode(i & 0x7f), str2[i]);
Dstring-replace.js176 long += String.fromCharCode(65 + Math.random() * 26);
245 subject += String.fromCharCode(i + 24);
251 assertEquals(String.fromCharCode(i + 23),
257 assertEquals(String.fromCharCode(i + 23),
263 assertEquals(String.fromCharCode(10 + 23) + "0",
279 assertEquals(String.fromCharCode(i / 10 + 23) + (i % 10) + tail,
Dunicode-case-overoptimization.js31 var c = String.fromCharCode(i);
32 var c2 = String.fromCharCode(i + 1);
Din.js100 o['char:' + String.fromCharCode(i)] = i;
103 assertTrue('char:' + String.fromCharCode(i) in o);
104 assertFalse('char:' + String.fromCharCode(i + 1) in o);
/external/v8/test/mjsunit/regress/
Dregress-seqstrsetchar-ex2.js30 String.fromCharCode(0xFFF, 0xFFF);
31 String.fromCharCode(0x7C, 0x7C);
32 %OptimizeFunctionOnNextCall(String.fromCharCode);
33 String.fromCharCode(0x7C, 0x7C);
34 String.fromCharCode(0xFFF, 0xFFF);
Dregress-latin-1.js28 assertEquals(String.fromCharCode(97, 220, 256), 'a' + '\u00DC' + '\u0100');
29 assertEquals(String.fromCharCode(97, 220, 256), 'a\u00DC\u0100');
40 var base = String.fromCharCode(i);
47 var lo = String.fromCharCode(i + 0x20);
63 assertEquals( 1, +(String.fromCharCode(0xA0) + '1') );
Dregress-crbug-482998.js9 src += String.fromCharCode(96 + i % 26) + String.fromCharCode(i) + "|";
13 var subject = "zzzzzzz" + String.fromCharCode(3000);
Dregress-149.js28 assertEquals(String.fromCharCode(0x26B), String.fromCharCode(0x2C62).toLowerCase());
Dregress-166553.js30 JSON.stringify(String.fromCharCode(1, -11).toString())
32 var s = String.fromCharCode(1, -11)
/external/v8/test/webkit/fast/js/
Dstring-capitalization-expected.txt38 PASS expected[String.fromCharCode(0xA78D).toLowerCase()] is true
39 PASS expected[String.fromCharCode(0x0265).toUpperCase()] is true
40 PASS expected[String.fromCharCode(0x10C7).toLowerCase()] is true
41 PASS expected[String.fromCharCode(0x2D27).toUpperCase()] is true
42 PASS expected[String.fromCharCode(0x2D2D).toLowerCase()] is true
43 PASS expected[String.fromCharCode(0x10CD).toUpperCase()] is true
44 PASS expected[String.fromCharCode(0x2CF2).toLowerCase()] is true
45 PASS expected[String.fromCharCode(0x2CF3).toUpperCase()] is true
46 PASS expected[String.fromCharCode(0xA792).toLowerCase()] is true
47 PASS expected[String.fromCharCode(0xA793).toUpperCase()] is true
[all …]
Dregexp-no-extensions-expected.txt34 PASS /\2147483648/.exec(String.fromCharCode(140) + "7483648").toString() is String.fromCharCode(140…
54 PASS /\10q/.exec("y" + String.fromCharCode(8) + "q").toString() is String.fromCharCode(8) + "q"
55 PASS /[\10q]/.exec("y" + String.fromCharCode(8) + "q").toString() is String.fromCharCode(8)
56 PASS /\1q/.exec("y" + String.fromCharCode(1) + "q").toString() is String.fromCharCode(1) + "q"
57 PASS /[\1q]/.exec("y" + String.fromCharCode(1) + "q").toString() is String.fromCharCode(1)
64 PASS /(x)[\1q]/.exec("xx" + String.fromCharCode(1)).toString() is "x" + String.fromCharCode(1) + ",…

12345