/third_party/node/test/parallel/ |
D | test-icu-stringwidth.js | 12 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);
|
D | test-querystring-escape.js | 13 assert.strictEqual(qs.escape(`${String.fromCharCode(0xD800 + 1)}test`), 17 () => qs.escape(String.fromCharCode(0xD800 + 1)),
|
D | test-net-binary.js | 32 assert.strictEqual(S, String.fromCharCode(i)); 60 c.write(String.fromCharCode(j), 'latin1');
|
/third_party/node/test/fixtures/wpt/html/webappapis/atob/ |
D | base64.any.js | 47 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/ |
D | jsdocParseDotDotDotInJSDocFunction.symbols | 16 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, --, --))
|
D | libMembers.symbols | 18 String.fromCharCode(12); 19 >String.fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --)) 21 >fromCharCode : Symbol(StringConstructor.fromCharCode, Decl(lib.es5.d.ts, --, --))
|
D | libMembers.types | 28 String.fromCharCode(12); 29 >String.fromCharCode(12) : string 30 >String.fromCharCode : (...codes: number[]) => string 32 >fromCharCode : (...codes: number[]) => string
|
D | jsdocParseDotDotDotInJSDocFunction.types | 23 var stringFromCharCode = String.fromCharCode; 25 >String.fromCharCode : (...codes: number[]) => string 27 >fromCharCode : (...codes: number[]) => string
|
D | libMembers.js | 6 String.fromCharCode(12); 23 String.fromCharCode(12);
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | utils_test.js | 65 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 …]
|
D | decoder_test.js | 181 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/ |
D | utils_test.js | 65 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 …]
|
D | decoder_test.js | 192 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/ |
D | textencoding_test.js | 53 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/ |
D | index.js | 36 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/ |
D | template_string.js | 95 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/ |
D | euckr-decoder.js | 5 out = String.fromCharCode(n); 9 String.fromCharCode(0xd800 | (n >> 10)) + 10 String.fromCharCode(0xdc00 | (n & 0x3ff));
|
/third_party/protobuf/js/binary/ |
D | decoder_test.js | 186 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/ |
D | big5-decoder.js | 5 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/ |
D | sjis-decoder.js | 5 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/ |
D | eucjp-decoder.js | 5 out = String.fromCharCode(n); 9 String.fromCharCode(0xd800 | (n >> 10)) + 10 String.fromCharCode(0xdc00 | (n & 0x3ff));
|
/third_party/node/deps/npm/node_modules/jsonparse/ |
D | jsonparse.js | 90 …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/ |
D | iso2022jp-decoder.js | 5 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/ |
D | generators_2.ts | 33 yield String.fromCharCode(s); 43 Assert.equal(next.value, String.fromCharCode(c++));
|
/third_party/node/deps/npm/lib/utils/ |
D | format-search-stream.js | 107 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]}`)
|