Home
last modified time | relevance | path

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

123

/third_party/node/lib/internal/
Didna.js4 const { toASCII, toUnicode } = internalBinding('icu');
5 module.exports = { toASCII, toUnicode }; field
7 const { toASCII, toUnicode } = require('punycode');
8 module.exports = { toASCII, toUnicode }; field
/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.js224 toUnicode: (test) => assert.strictEqual(
225 punycode.toUnicode(
264 assert.strictEqual(punycode.toUnicode('Bücher@xn--wgv71a119e.com'),
/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
Dtest1.ucm28 # toUnicode result is fallback direct
31 # toUnicode result is direct non-BMP code point
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
Dtest1bmp.ucm30 # toUnicode result is fallback direct
/third_party/node/doc/api/
Dpunycode.md90 ## `punycode.toUnicode(domain)`
97 The `punycode.toUnicode()` method converts a string representing a domain name
103 punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com'
104 punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com'
105 punycode.toUnicode('example.com'); // 'example.com'
/third_party/node/benchmark/misc/
Dpunycode.js40 punycode.toUnicode(punycode.toASCII(val));
44 icu.toUnicode(icu.toASCII(val));
/third_party/node/deps/npm/node_modules/uri-js/node_modules/punycode/
Dpunycode.es6.js386 const toUnicode = function(input) { function
437 'toUnicode': toUnicode property
440 export { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };
DREADME.md53 ### `punycode.toUnicode(input)`
59 punycode.toUnicode('xn--maana-pta.com');
61 punycode.toUnicode('xn----dqo34k.com');
65 punycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq');
Dpunycode.js386 const toUnicode = function(input) { function
437 'toUnicode': toUnicode property
/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()
/third_party/node/deps/npm/node_modules/punycode/
DREADME.md91 ### `punycode.toUnicode(input)`
97 punycode.toUnicode('xn--maana-pta.com');
99 punycode.toUnicode('xn----dqo34k.com');
103 punycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq');
Dpunycode.js453 function toUnicode(input) { function
504 'toUnicode': toUnicode property
/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.js386 const toUnicode = function(input) { function
437 '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/node/deps/icu-small/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()
/third_party/flutter/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()
/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()
/third_party/icu/icu4c/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

123