Home
last modified time | relevance | path

Searched refs:toUnicode (Results 1 – 25 of 34) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-icu-punycode.js24 assert.strictEqual(unicode, icu.toUnicode(ascii), `toUnicode(${i + 1})`);
25 assert.strictEqual(ascii, icu.toASCII(icu.toUnicode(ascii)),
27 assert.strictEqual(unicode, icu.toUnicode(icu.toASCII(unicode)),
55 icu.toUnicode(input); // Should not throw.
Dtest-punycode.js232 toUnicode: (test) => assert.strictEqual(
233 punycode.toUnicode(
272 assert.strictEqual(punycode.toUnicode('Bücher@xn--wgv71a119e.com'),
/third_party/node/lib/internal/
Didna.js3 const { toASCII, toUnicode } = internalBinding('url');
4 module.exports = { toASCII, toUnicode }; field
/third_party/icu/icu4c/source/test/testdata/
Dtest2.ucm34 # toUnicode result is fallback direct
37 # toUnicode result is direct non-BMP code point
53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest3.ucm35 # toUnicode result is fallback direct
38 # toUnicode result is direct non-BMP code point
54 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest4.ucm38 # toUnicode result is fallback direct
41 # toUnicode result is direct non-BMP code point
47 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest1.ucm28 # toUnicode result is fallback direct
31 # toUnicode result is direct non-BMP code point
Dtest1bmp.ucm30 # toUnicode result is fallback direct
/third_party/node/doc/api/
Dpunycode.md94 ## `punycode.toUnicode(domain)`
102 The `punycode.toUnicode()` method converts a string representing a domain name
108 punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com'
109 punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com'
110 punycode.toUnicode('example.com'); // 'example.com'
/third_party/node/benchmark/misc/
Dpunycode.js42 punycode.toUnicode(punycode.toASCII(val));
46 icu.toUnicode(icu.toASCII(val));
/third_party/icu/icu4c/source/test/intltest/
Dtestidna.h81 const char* toUnicodeName, TestFunc toUnicode);
113 const char* toUnicodeName, TestFunc toUnicode
Duts46test.cpp1077 UnicodeString toUnicode = s16FromField(fields[1]); in idnaTestOneLine() local
1078 if (toUnicode.isEmpty()) { in idnaTestOneLine()
1079 toUnicode = source; in idnaTestOneLine()
1092 toAsciiN = toUnicode; in idnaTestOneLine()
1123 checkIdnaTestResult(fields[0][0], "toUnicodeNontrans", toUnicode, uN, in idnaTestOneLine()
Dtestidna.cpp1159 const char* toUnicodeName, TestFunc toUnicode){ in testChaining() argument
1165 testChaining(buf,5,toUnicodeName, false, false, toUnicode); in testChaining()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DUTS46Test.java784 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local
785 if (toUnicode.isEmpty()) { in IdnaTest()
786 toUnicode = source; in IdnaTest()
799 toAsciiN = toUnicode; in IdnaTest()
830 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/third_party/node/lib/
Dpunycode.js399 const toUnicode = function(input) { function
450 'toUnicode': toUnicode property
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java878 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local
879 if (toUnicode.isEmpty()) { in IdnaTest()
880 toUnicode = source; in IdnaTest()
893 toAsciiN = toUnicode; in IdnaTest()
924 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/third_party/icu/icu4c/source/common/
Ducnv.cpp1279 UConverterToUnicode toUnicode; in _toUnicodeWithCallback() local
1302 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1304 toUnicode=cnv->sharedData->impl->toUnicodeWithOffsets; in _toUnicodeWithCallback()
1305 if(toUnicode==NULL) { in _toUnicodeWithCallback()
1307 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1356 toUnicode(pArgs, err); in _toUnicodeWithCallback()
Ducnv_cnv.h242 UConverterToUnicode toUnicode; member
/third_party/node/deps/icu-small/source/common/
Ducnv.cpp1279 UConverterToUnicode toUnicode; in _toUnicodeWithCallback() local
1302 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1304 toUnicode=cnv->sharedData->impl->toUnicodeWithOffsets; in _toUnicodeWithCallback()
1305 if(toUnicode==nullptr) { in _toUnicodeWithCallback()
1307 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1356 toUnicode(pArgs, err); in _toUnicodeWithCallback()
Ducnv_cnv.h242 UConverterToUnicode toUnicode; member
/third_party/skia/third_party/externals/icu/source/common/
Ducnv.cpp1272 UConverterToUnicode toUnicode; in _toUnicodeWithCallback() local
1295 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1297 toUnicode=cnv->sharedData->impl->toUnicodeWithOffsets; in _toUnicodeWithCallback()
1298 if(toUnicode==NULL) { in _toUnicodeWithCallback()
1300 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1349 toUnicode(pArgs, err); in _toUnicodeWithCallback()
Ducnv_cnv.h242 UConverterToUnicode toUnicode; member
/third_party/skia/src/pdf/
DSkPDFFont.cpp395 std::unique_ptr<SkStreamAsset> toUnicode = in emit_subset_type0() local
401 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc)); in emit_subset_type0()
/third_party/skia/third_party/externals/icu/
DREADME.chromium134 the encoding spec (one-way mapping in toUnicode direction).
/third_party/icu/docs/userguide/strings/
Dstringprep.md274 ### toUnicode operation

12