Home
last modified time | relevance | path

Searched refs:ucs2 (Results 1 – 25 of 29) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DresolveModuleNameWithSameLetDeclarationName2.symbols5 interface ucs2 {
6 >ucs2 : Symbol(ucs2, Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 0, 27), Decl(resolveModu…
9 >decode : Symbol(ucs2.decode, Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 1, 20))
13 >encode : Symbol(ucs2.encode, Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 2, 39))
17 export let ucs2: ucs2;
18 >ucs2 : Symbol(ucs2, Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 0, 27), Decl(resolveModu…
19 >ucs2 : Symbol(ucs2, Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 0, 27), Decl(resolveModu…
DresolveModuleNameWithSameLetDeclarationName2.types5 interface ucs2 {
15 export let ucs2: ucs2;
16 >ucs2 : ucs2
DresolveModuleNameWithSameLetDeclarationName2.js3 interface ucs2 {
8 export let ucs2: ucs2;
/third_party/node/test/parallel/
Dtest-punycode.js255 assert.strictEqual(punycode.ucs2.encode([0x61]), 'a');
257 assert.strictEqual(punycode.ucs2.encode([0x1D306]), '\uD834\uDF06');
259 assert.strictEqual(punycode.ucs2.encode([0xD800]), '\uD800');
261 assert.strictEqual(punycode.ucs2.encode([0xD800, 0x61, 0x62]), '\uD800ab');
263 assert.strictEqual(punycode.ucs2.encode([0xDC00]), '\uDC00');
265 assert.strictEqual(punycode.ucs2.encode([0xDC00, 0x61, 0x62]), '\uDC00ab');
Dtest-icu-transcode.js29 const dest = buffer.transcode(Buffer.from(tests.ucs2), 'ucs2', 'utf8');
35 const ucs2 = Buffer.from('€'.repeat(4000), 'ucs2'); constant
37 const ucs2_to_utf8 = buffer.transcode(ucs2, 'ucs2', 'utf8');
39 assert.deepStrictEqual(ucs2, utf8_to_ucs2);
/third_party/node/doc/api/
Dpunycode.md113 ## `punycode.ucs2`
119 ### `punycode.ucs2.decode(string)` argument
127 The `punycode.ucs2.decode()` method returns an array containing the numeric
131 punycode.ucs2.decode('abc'); // [0x61, 0x62, 0x63]
133 punycode.ucs2.decode('\uD834\uDF06'); // [0x1D306]
136 ### `punycode.ucs2.encode(codePoints)` argument
144 The `punycode.ucs2.encode()` method returns a string based on an array of
148 punycode.ucs2.encode([0x61, 0x62, 0x63]); // 'abc'
149 punycode.ucs2.encode([0x1D306]); // '\uD834\uDF06'
Dbuffer.md197 * `'ucs2'`, `'ucs-2'`: Aliases of `'utf16le'`. UCS-2 used to refer to a variant
5265 `'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`.
/third_party/node/deps/icu-small/source/common/
Dustr_cnv.cpp205 const char16_t *ucs2, in u_austrncpy() argument
216 &ucs2, in u_austrncpy()
217 ucs2+u_ustrnlen(ucs2, n), in u_austrncpy()
237 const char16_t *ucs2 ) in u_austrcpy() argument
245 ucs2, in u_austrcpy()
/third_party/skia/third_party/externals/icu/source/common/
Dustr_cnv.cpp205 const UChar *ucs2, in u_austrncpy() argument
216 &ucs2, in u_austrncpy()
217 ucs2+u_ustrnlen(ucs2, n), in u_austrncpy()
237 const UChar *ucs2 ) in u_austrcpy() argument
245 ucs2, in u_austrcpy()
/third_party/icu/icu4c/source/common/
Dustr_cnv.cpp205 const UChar *ucs2, in u_austrncpy() argument
216 &ucs2, in u_austrncpy()
217 ucs2+u_ustrnlen(ucs2, n), in u_austrncpy()
237 const UChar *ucs2 ) in u_austrcpy() argument
245 ucs2, in u_austrcpy()
/third_party/typescript/tests/cases/compiler/
DresolveModuleNameWithSameLetDeclarationName2.ts2 interface ucs2 { interface
7 export let ucs2: ucs2; variable
/third_party/node/lib/
Dbuffer.js642 ucs2: { property
728 if (encoding === 'ucs2') return encodingOps.ucs2;
731 if (encoding === 'ucs2') return encodingOps.ucs2;
736 if (encoding === 'ucs-2') return encodingOps.ucs2;
740 if (encoding === 'ucs-2') return encodingOps.ucs2;
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/
Dinternal.js12 ucs2: { type: "_internal", bomAware: true}, property
/third_party/python/Tools/gdb/
Dlibpython.py1244 ucs2 = int(field_str[i])
1245 if ucs2 < 0xDC00 or ucs2 > 0xDFFF:
1248 code |= ucs2 & 0x03FF
/third_party/icu/icu4c/source/common/unicode/
Dustring.h560 const UChar *ucs2,
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dustring.h560 const UChar *ucs2,
/third_party/node/deps/icu-small/source/common/unicode/
Dustring.h560 const UChar *ucs2,
/third_party/python/Include/cpython/
Dunicodeobject.h241 Py_UCS2 *ucs2; member
/third_party/python/Objects/
Dunicodeobject.c2123 Py_UCS2 *ucs2 = start; in unicode_write_cstr() local
2125 for (; str < end; ++ucs2, ++str) in unicode_write_cstr()
2126 *ucs2 = (Py_UCS2)*str; in unicode_write_cstr()
2128 assert((ucs2 - start) <= PyUnicode_GET_LENGTH(unicode)); in unicode_write_cstr()
13088 Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u); in unicode_repeat() local
13090 ucs2[n] = fill_char; in unicode_repeat()
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md254 * string\_bytes: ucs2 support big endian (Andrew Low)
2738 * SlowBuffer.write() with 'ucs2' throws ReferenceError. (koichik)
DCHANGELOG_V7.md1586 …de/commit/573f9db6c9)] - **buffer**: fix transcode for single-byte enc to ucs2 (Anna Henningsen) […
DCHANGELOG_V8.md3753 …thub.com/nodejs/node/commit/d288cf10cc)] - **test**: skip test-fs-readdir-ucs2 if no support (Rich…
3769 …thub.com/nodejs/node/commit/e5d32b8b13)] - **test**: mark test-fs-readdir-ucs2 flaky (João Reis) […
DCHANGELOG_V9.md121 …/github.com/nodejs/node/commit/d111037624)] - **doc**: favor utf16le over ucs2 in buffer.md (Rich …
/third_party/node/deps/undici/
Dundici.js3100 case "ucs2":
/third_party/musl/
DWHATSNEW1901 - iconv could wrongly output surrogate pairs in ucs2

12