/third_party/node/test/parallel/ |
D | test-icu-punycode.js | 23 assert.strictEqual(ascii, icu.toASCII(unicode), `toASCII(${i + 1})`); 25 assert.strictEqual(ascii, icu.toASCII(icu.toUnicode(ascii)), 27 assert.strictEqual(unicode, icu.toUnicode(icu.toASCII(unicode)), 42 () => icu.toASCII(input), 49 icu.toASCII(input, true); // Should not throw. 51 assert.strictEqual(icu.toASCII(input), output, `ToASCII ${caseComment}`); 52 assert.strictEqual(icu.toASCII(input, true), output,
|
D | test-punycode.js | 226 toASCII: (test) => assert.strictEqual( 227 punycode.toASCII(test.decoded), 270 assert.strictEqual(punycode.toASCII('Bücher@日本語.com'),
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UTS46.java | 115 boolean isLabel, boolean toASCII, in process() argument 138 if(toASCII) { in process() 184 if(toASCII && (i-labelStart)>63) { in process() 193 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info); in process() 205 boolean isLabel, boolean toASCII, in processUnicode() argument 214 toASCII ? (options&NONTRANSITIONAL_TO_ASCII)==0 : in processUnicode() 223 toASCII, info); in processUnicode() 257 processLabel(dest, labelStart, labelLimit-labelStart, toASCII, info); in processUnicode() 332 boolean toASCII, in processLabel() argument 352 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | uts46.cpp | 154 UBool isLabel, UBool toASCII, 160 UBool isLabel, UBool toASCII, 167 UBool isLabel, UBool toASCII, 180 UBool toASCII, 185 UBool toASCII, IDNAInfo &info, UErrorCode &errorCode) const; 303 UBool isLabel, UBool toASCII, in process() argument 338 if(toASCII) { in process() 385 if(toASCII && (i-labelStart)>63) { in process() 396 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode); in process() 407 UBool isLabel, UBool toASCII, in processUTF8() argument [all …]
|
/third_party/icu/icu4c/source/common/ |
D | uts46.cpp | 154 UBool isLabel, UBool toASCII, 160 UBool isLabel, UBool toASCII, 167 UBool isLabel, UBool toASCII, 180 UBool toASCII, 185 UBool toASCII, IDNAInfo &info, UErrorCode &errorCode) const; 303 UBool isLabel, UBool toASCII, in process() argument 338 if(toASCII) { in process() 385 if(toASCII && (i-labelStart)>63) { in process() 396 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode); in process() 407 UBool isLabel, UBool toASCII, in processUTF8() argument [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | UTS46.java | 116 boolean isLabel, boolean toASCII, in process() argument 139 if(toASCII) { in process() 185 if(toASCII && (i-labelStart)>63) { in process() 194 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info); in process() 206 boolean isLabel, boolean toASCII, in processUnicode() argument 215 toASCII ? (options&NONTRANSITIONAL_TO_ASCII)==0 : in processUnicode() 224 toASCII, info); in processUnicode() 258 processLabel(dest, labelStart, labelLimit-labelStart, toASCII, info); in processUnicode() 333 boolean toASCII, in processLabel() argument 350 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uts46.cpp | 154 UBool isLabel, UBool toASCII, 160 UBool isLabel, UBool toASCII, 167 UBool isLabel, UBool toASCII, 180 UBool toASCII, 185 UBool toASCII, IDNAInfo &info, UErrorCode &errorCode) const; 303 UBool isLabel, UBool toASCII, in process() argument 338 if(toASCII) { in process() 385 if(toASCII && (i-labelStart)>63) { in process() 396 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode); in process() 407 UBool isLabel, UBool toASCII, in processUTF8() argument [all …]
|
/third_party/node/doc/api/ |
D | punycode.md | 74 ## `punycode.toASCII(domain)` 82 The `punycode.toASCII()` method converts a Unicode string representing an 84 domain name will be converted. Calling `punycode.toASCII()` on a string that 89 punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' 90 punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' 91 punycode.toASCII('example.com'); // 'example.com'
|
/third_party/node/lib/internal/ |
D | idna.js | 3 const { toASCII, toUnicode } = internalBinding('url'); 4 module.exports = { toASCII, toUnicode }; property
|
/third_party/node/benchmark/misc/ |
D | punycode.js | 42 punycode.toUnicode(punycode.toASCII(val)); 46 icu.toUnicode(icu.toASCII(val));
|
/third_party/node/lib/internal/dns/ |
D | callback_resolver.js | 10 const { toASCII } = require('internal/idna'); 73 const err = this._handle[bindingName](req, toASCII(name));
|
D | promises.js | 49 const { toASCII } = require('internal/idna'); 141 const err = getaddrinfo(req, toASCII(hostname), family, hints, verbatim); 277 const err = resolver._handle[bindingName](req, toASCII(hostname));
|
/third_party/icu/icu4c/source/test/intltest/ |
D | testidna.h | 80 void testChaining(const char* toASCIIName, TestFunc toASCII, 110 void testConformance(const char* toASCIIName, TestFunc toASCII,
|
D | testidna.cpp | 1158 void TestIDNA::testChaining(const char* toASCIIName, TestFunc toASCII, in testChaining() argument 1168 testChaining(unicodeIn[i], 5,toASCIIName, false, true, toASCII); in testChaining()
|
/third_party/node/lib/ |
D | punycode.js | 418 const toASCII = function(input) { function 449 'toASCII': toASCII, property
|
D | dns.js | 31 const { toASCII } = require('internal/idna'); 223 req, toASCII(hostname), family, hints, verbatim,
|
D | url.js | 34 const { toASCII } = require('internal/idna'); 430 this.hostname = toASCII(this.hostname);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | TestIDNA.java | 662 … private StringBuffer _doTestCompareReferenceImpl(StringBuffer src, boolean toASCII, int options) { in _doTestCompareReferenceImpl() argument 663 … String refIDNAName = toASCII ? "IDNAReference.convertToASCII" : "IDNAReference.convertToUnicode"; in _doTestCompareReferenceImpl() 664 String uIDNAName = toASCII ? "IDNA.convertToASCII" : "IDNA.convertToUnicode"; in _doTestCompareReferenceImpl() 672 …exp = toASCII ? IDNAReference.convertToASCII(src, options) : IDNAReference.convertToUnicode(src, o… in _doTestCompareReferenceImpl() 680 got = toASCII ? IDNA.convertToASCII(src, options) : IDNA.convertToUnicode(src, options); in _doTestCompareReferenceImpl()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestIDNA.java | 659 … private StringBuffer _doTestCompareReferenceImpl(StringBuffer src, boolean toASCII, int options) { in _doTestCompareReferenceImpl() argument 660 … String refIDNAName = toASCII ? "IDNAReference.convertToASCII" : "IDNAReference.convertToUnicode"; in _doTestCompareReferenceImpl() 661 String uIDNAName = toASCII ? "IDNA.convertToASCII" : "IDNA.convertToUnicode"; in _doTestCompareReferenceImpl() 669 …exp = toASCII ? IDNAReference.convertToASCII(src, options) : IDNAReference.convertToUnicode(src, o… in _doTestCompareReferenceImpl() 677 got = toASCII ? IDNA.convertToASCII(src, options) : IDNA.convertToUnicode(src, options); in _doTestCompareReferenceImpl()
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/unicode/ |
D | IdnaTestV2.txt | 30 # Column 4: toAsciiN - The result of applying toASCII to the source, 36 # Column 6: toAsciiT - The result of applying toASCII to the source, 89 # The special error codes X3 and X4_2 are now returned where a toASCII error code
|
/third_party/icu/icu4c/source/test/testdata/ |
D | IdnaTestV2.txt | 30 # Column 4: toAsciiN - The result of applying toASCII to the source, 36 # Column 6: toAsciiT - The result of applying toASCII to the source, 89 # The special error codes X3 and X4_2 are now returned where a toASCII error code
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/ |
D | IdnaTestV2.txt | 30 # Column 4: toAsciiN - The result of applying toASCII to the source, 36 # Column 6: toAsciiT - The result of applying toASCII to the source, 89 # The special error codes X3 and X4_2 are now returned where a toASCII error code
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V17.md | 1515 …R)** **url**: forbid certain confusable changes from being introduced by toASCII (Timothy Gu) [#38…
|
D | CHANGELOG_V7.md | 1748 * \[[`956239124d`](https://github.com/nodejs/node/commit/956239124d)] - **test**: add toASCII and t…
|
D | CHANGELOG_V4.md | 837 * \[[`33da22aba1`](https://github.com/nodejs/node/commit/33da22aba1)] - **test**: add toASCII and t…
|