Home
last modified time | relevance | path

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

1234567

/external/chromium_org/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/chromium_org/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 …]
/external/chromium_org/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 …]
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-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);
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);
Dregexp-multiline.js107 check_case(String.fromCharCode(229), String.fromCharCode(197));
109 check_case(String.fromCharCode(0x413), String.fromCharCode(0x433));
Dstring-case.js57 str += String.fromCharCode(c);
58 strLower += String.fromCharCode(charCodeToLower(c));
59 strUpper += String.fromCharCode(charCodeToUpper(c));
/external/v8/test/mjsunit/
Dstring-fromcharcode.js33 Object.prototype.fromCharCode = function(x) { return this; }; function
35 var fcc = String.fromCharCode;
41 assertEquals(" ", String.fromCharCode(0x20));
42 assertEquals(" ", String.fromCharCode(0x20 + 0x10000));
43 assertEquals(" ", String.fromCharCode(0x20 - 0x10000));
44 assertEquals(" ", String.fromCharCode(0x20 + 0.5));
46 assertEquals("\u1234", String.fromCharCode(0x1234));
47 assertEquals("\u1234", String.fromCharCode(0x1234 + 0x10000));
48 assertEquals("\u1234", String.fromCharCode(0x1234 - 0x10000));
49 assertEquals("\u1234", String.fromCharCode(0x1234 + 0.5));
[all …]
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'";
Dregexp-multiline.js107 check_case(String.fromCharCode(229), String.fromCharCode(197));
109 check_case(String.fromCharCode(0x413), String.fromCharCode(0x433));
Dregexp-multiline-stack-trace.js111 check_case(String.fromCharCode(229), String.fromCharCode(197));
113 check_case(String.fromCharCode(0x413), String.fromCharCode(0x433));
Dstring-case.js57 str += String.fromCharCode(c);
58 strLower += String.fromCharCode(charCodeToLower(c));
59 strUpper += String.fromCharCode(charCodeToUpper(c));
/external/chromium_org/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') );
/external/chromium_org/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) + ",…
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Dcrypto-aes.js206 ct += String.fromCharCode(cipherByte);
215 for (var i=0; i<8; i++) ctrTxt += String.fromCharCode(counterBlock[i]);
266 pt += String.fromCharCode(plaintextByte);
283 return str.replace(/!\d\d?\d?!/g, function(c) { return String.fromCharCode(c.slice(1,-1)); });
335 if (h3 == 64) enc += String.fromCharCode(o1);
336 else if (h4 == 64) enc += String.fromCharCode(o1, o2);
337 else enc += String.fromCharCode(o1, o2, o3);
348 return String.fromCharCode(0xc0 | cc>>6, 0x80 | cc&0x3f); }
354 return String.fromCharCode(0xe0 | cc>>12, 0x80 | cc>>6&0x3F, 0x80 | cc&0x3f); }
364 return String.fromCharCode(cc); }
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dcrypto-aes.js206 ct += String.fromCharCode(cipherByte);
215 for (var i=0; i<8; i++) ctrTxt += String.fromCharCode(counterBlock[i]);
266 pt += String.fromCharCode(plaintextByte);
283 return str.replace(/!\d\d?\d?!/g, function(c) { return String.fromCharCode(c.slice(1,-1)); });
335 if (h3 == 64) enc += String.fromCharCode(o1);
336 else if (h4 == 64) enc += String.fromCharCode(o1, o2);
337 else enc += String.fromCharCode(o1, o2, o3);
348 return String.fromCharCode(0xc0 | cc>>6, 0x80 | cc&0x3f); }
354 return String.fromCharCode(0xe0 | cc>>12, 0x80 | cc>>6&0x3F, 0x80 | cc&0x3f); }
364 return String.fromCharCode(cc); }
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Dcrypto-aes.js206 ct += String.fromCharCode(cipherByte);
215 for (var i=0; i<8; i++) ctrTxt += String.fromCharCode(counterBlock[i]);
266 pt += String.fromCharCode(plaintextByte);
283 return str.replace(/!\d\d?\d?!/g, function(c) { return String.fromCharCode(c.slice(1,-1)); });
335 if (h3 == 64) enc += String.fromCharCode(o1);
336 else if (h4 == 64) enc += String.fromCharCode(o1, o2);
337 else enc += String.fromCharCode(o1, o2, o3);
348 return String.fromCharCode(0xc0 | cc>>6, 0x80 | cc&0x3f); }
354 return String.fromCharCode(0xe0 | cc>>12, 0x80 | cc>>6&0x3F, 0x80 | cc&0x3f); }
364 return String.fromCharCode(cc); }
[all …]

1234567