Home
last modified time | relevance | path

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

123456

/third_party/node/test/parallel/
Dtest-icu-stringwidth.js12 assert.strictEqual(getStringWidth(String.fromCharCode(0x0061)), 1);
15 assert.strictEqual(getStringWidth(String.fromCharCode(0x4E01)), 2);
26 assert.strictEqual(getStringWidth(String.fromCharCode(0x0007)), 0);
30 assert.strictEqual(getStringWidth(String.fromCharCode(0x00AD)), 1);
35 assert.strictEqual(getStringWidth(String.fromCharCode(0x10FFEF)), 1);
37 assert.strictEqual(getStringWidth(String.fromCharCode(0x3FFEF)), 1);
39 assert.strictEqual(getStringWidth(String.fromCharCode(0x0301)), 0);
43 assert.strictEqual(getStringWidth(String.fromCharCode(0x1B44)), 1);
45 assert.strictEqual(getStringWidth(String.fromCharCode(0x20DD)), 0);
76 const char = String.fromCharCode(i);
Dtest-querystring-escape.js13 assert.strictEqual(qs.escape(`${String.fromCharCode(0xD800 + 1)}test`),
17 () => qs.escape(String.fromCharCode(0xD800 + 1)),
Dtest-net-binary.js32 assert.strictEqual(S, String.fromCharCode(i));
60 c.write(String.fromCharCode(j), 'latin1');
/third_party/node/test/fixtures/wpt/html/webappapis/atob/
Dbase64.any.js47 return String.fromCharCode(idx + 'A'.charCodeAt(0));
50 return String.fromCharCode(idx - 26 + 'a'.charCodeAt(0));
53 return String.fromCharCode(idx - 52 + '0'.charCodeAt(0));
102 tests.push(String.fromCharCode(i));
104 tests.push(String.fromCharCode(10000));
105 tests.push(String.fromCharCode(65534));
106 tests.push(String.fromCharCode(65535));
109 tests.push(String.fromCharCode(0xd800, 0xdc00));
122 everything += String.fromCharCode(i);
/third_party/typescript/tests/baselines/reference/
DjsdocParseDotDotDotInJSDocFunction.symbols16 var stringFromCharCode = String.fromCharCode;
18 >String.fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --))
20 >fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --))
DlibMembers.symbols18 String.fromCharCode(12);
19 >String.fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --))
21 >fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --))
DlibMembers.types28 String.fromCharCode(12);
29 >String.fromCharCode(12) : string
30 >String.fromCharCode : (...codes: number[]) => string
32 >fromCharCode : (...codes: number[]) => string
DjsdocParseDotDotDotInJSDocFunction.types23 var stringFromCharCode = String.fromCharCode;
25 >String.fromCharCode : (...codes: number[]) => string
27 >fromCharCode : (...codes: number[]) => string
DlibMembers.js6 String.fromCharCode(12);
23 String.fromCharCode(12);
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Dutils_test.js65 return String.fromCharCode((bitsLow >>> 0) & 0xFF,
208 assertEquals(String.fromCharCode.apply(null,
212 assertEquals(String.fromCharCode.apply(null,
216 assertEquals(String.fromCharCode.apply(null,
220 assertEquals(String.fromCharCode.apply(null,
224 assertEquals(String.fromCharCode.apply(null,
228 assertEquals(String.fromCharCode.apply(null,
232 assertEquals(String.fromCharCode.apply(null,
262 assertEquals(String.fromCharCode.apply(null,
266 assertEquals(String.fromCharCode.apply(null,
[all …]
Ddecoder_test.js181 var hashA = String.fromCharCode(0x00, 0x00, 0x00, 0x00,
183 var hashB = String.fromCharCode(0x12, 0x34, 0x00, 0x00,
185 var hashC = String.fromCharCode(0x12, 0x34, 0x56, 0x78,
187 var hashD = String.fromCharCode(0xFF, 0xFF, 0xFF, 0xFF,
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Dutils_test.js65 return String.fromCharCode((bitsLow >>> 0) & 0xFF,
208 assertEquals(String.fromCharCode.apply(null,
212 assertEquals(String.fromCharCode.apply(null,
216 assertEquals(String.fromCharCode.apply(null,
220 assertEquals(String.fromCharCode.apply(null,
224 assertEquals(String.fromCharCode.apply(null,
228 assertEquals(String.fromCharCode.apply(null,
232 assertEquals(String.fromCharCode.apply(null,
262 assertEquals(String.fromCharCode.apply(null,
266 assertEquals(String.fromCharCode.apply(null,
[all …]
Ddecoder_test.js192 var hashA = String.fromCharCode(0x00, 0x00, 0x00, 0x00,
194 var hashB = String.fromCharCode(0x12, 0x34, 0x00, 0x00,
196 var hashC = String.fromCharCode(0x12, 0x34, 0x56, 0x78,
198 var hashD = String.fromCharCode(0xFF, 0xFF, 0xFF, 0xFF,
/third_party/protobuf/js/experimental/runtime/kernel/
Dtextencoding_test.js53 static fromCharCode(charCode) { method in Pair
54 return Pair.fromString(String.fromCharCode(charCode));
98 Pair.fromCharCode(i).expectPairToMatch();
104 Pair.fromCharCode(i).expectPairToMatch();
110 Pair.fromCharCode(i).expectPairToMatch();
/third_party/node/deps/npm/node_modules/wcwidth/test/
Dindex.js36 t.strictEqual(wcwidth(String.fromCharCode(0)), 0)
41 t.strictEqual(wcwidth('a' + String.fromCharCode(0) + '\n字的'), 5)
48 })(String.fromCharCode(0) + 'a字的'), 15)
/third_party/jerryscript/tests/jerry/es2015/
Dtemplate_string.js95 var cr = eval("`a" + String.fromCharCode(13) + "b`");
96 var lf = eval("`a" + String.fromCharCode(10) + "b`");
97 var crlf = eval("`a" + String.fromCharCode(13,10) + "b`");
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/
Deuckr-decoder.js5 out = String.fromCharCode(n);
9 String.fromCharCode(0xd800 | (n >> 10)) +
10 String.fromCharCode(0xdc00 | (n & 0x3ff));
/third_party/protobuf/js/binary/
Ddecoder_test.js186 var hashA = String.fromCharCode(0x00, 0x00, 0x00, 0x00,
188 var hashB = String.fromCharCode(0x12, 0x34, 0x00, 0x00,
190 var hashC = String.fromCharCode(0x12, 0x34, 0x56, 0x78,
192 var hashD = String.fromCharCode(0xFF, 0xFF, 0xFF, 0xFF,
248 String.fromCharCode(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
250 String.fromCharCode(0x12, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
252 String.fromCharCode(0x12, 0x34, 0x56, 0x78, 0x87, 0x65, 0x43, 0x21);
254 String.fromCharCode(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/
Dbig5-decoder.js5 out = String.fromCharCode(n);
9 String.fromCharCode(0xd800 | (n >> 10)) +
10 String.fromCharCode(0xdc00 | (n & 0x3ff));
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/
Dsjis-decoder.js5 out = String.fromCharCode(n);
9 String.fromCharCode(0xd800 | (n >> 10)) +
10 String.fromCharCode(0xdc00 | (n & 0x3ff));
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/
Deucjp-decoder.js5 out = String.fromCharCode(n);
9 String.fromCharCode(0xd800 | (n >> 10)) +
10 String.fromCharCode(0xdc00 | (n & 0x3ff));
/third_party/node/deps/npm/node_modules/jsonparse/
Djsonparse.js90 …this.onError(new Error("Unexpected " + JSON.stringify(String.fromCharCode(buffer[i])) + " at posit…
150 this.string = String.fromCharCode(n); this.tState = NUMBER3;
219 this.unicode += String.fromCharCode(n);
224 this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate, intVal)));
230 this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate)));
233 this.appendStringBuf(new Buffer(String.fromCharCode(intVal)));
259 this.string += String.fromCharCode(n);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/iso-2022-jp/
Diso2022jp-decoder.js5 out = String.fromCharCode(n);
9 String.fromCharCode(0xd800 | (n >> 10)) +
10 String.fromCharCode(0xdc00 | (n & 0x3ff));
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.3/generators_and_iteration_for_ES5,ES3/generators/
Dgenerators_2.ts33 yield String.fromCharCode(s);
43 Assert.equal(next.value, String.fromCharCode(c++));
/third_party/node/deps/npm/lib/utils/
Dformat-search-stream.js107 const markStart = String.fromCharCode(i % colors.length + 1)
108 const markEnd = String.fromCharCode(0)
130 output = output.split(String.fromCharCode(i)).join(`\u001B[${colors[i - 1]}`)

123456