Home
last modified time | relevance | path

Searched refs:toASCII (Results 1 – 25 of 43) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-icu-punycode.js23 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,
Dtest-punycode.js218 toASCII: (test) => assert.strictEqual(
219 punycode.toASCII(test.decoded),
262 assert.strictEqual(punycode.toASCII('Bücher@日本語.com'),
/third_party/node/lib/internal/
Didna.js4 const { toASCII, toUnicode } = internalBinding('icu');
5 module.exports = { toASCII, toUnicode }; property
7 const { toASCII, toUnicode } = require('punycode');
8 module.exports = { toASCII, toUnicode }; property
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java115 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUTS46.java116 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/node/deps/npm/node_modules/psl/
Dindex.js40 var punyDomain = Punycode.toASCII(domain);
44 rule.punySuffix = Punycode.toASCII(rule.suffix);
99 var ascii = Punycode.toASCII(input);
190 parsed.domain = Punycode.toASCII(parsed.domain);
193 parsed.subdomain = Punycode.toASCII(parsed.subdomain);
/third_party/skia/third_party/externals/icu/source/common/
Duts46.cpp154 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/
Duts46.cpp154 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/deps/icu-small/source/common/
Duts46.cpp154 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/flutter/skia/third_party/externals/icu/source/common/
Duts46.cpp154 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/
Dpunycode.md71 ## `punycode.toASCII(domain)`
78 The `punycode.toASCII()` method converts a Unicode string representing an
80 domain name will be converted. Calling `punycode.toASCII()` on a string that
85 punycode.toASCII('mañana.com'); // 'xn--maana-pta.com'
86 punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com'
87 punycode.toASCII('example.com'); // 'example.com'
/third_party/node/deps/npm/node_modules/psl/dist/
Dpsl.js43 var punyDomain = Punycode.toASCII(domain);
47 rule.punySuffix = Punycode.toASCII(rule.suffix);
102 var ascii = Punycode.toASCII(input);
193 parsed.domain = Punycode.toASCII(parsed.domain);
196 parsed.subdomain = Punycode.toASCII(parsed.subdomain);
747 function toASCII(input) {
778 'toASCII': toASCII, property
Dpsl.min.js1toASCII(a);return k.rules.reduce(function(a,o){return-1===o.punySuffix&&(o.punySuffix=p.toASCII(o.… method
/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.js405 const toASCII = function(input) { function
436 'toASCII': toASCII, property
440 export { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };
DREADME.md69 ### `punycode.toASCII(input)`
75 punycode.toASCII('mañana.com');
77 punycode.toASCII('☃-⌘.com');
81 punycode.toASCII('джумла@джpумлатест.bрфa');
Dpunycode.js405 const toASCII = function(input) { function
436 'toASCII': toASCII, property
/third_party/icu/icu4c/source/test/intltest/
Dtestidna.h80 void testChaining(const char* toASCIIName, TestFunc toASCII,
110 void testConformance(const char* toASCIIName, TestFunc toASCII,
/third_party/node/lib/internal/dns/
Dpromises.js20 const { toASCII } = require('internal/idna');
95 const err = getaddrinfo(req, toASCII(hostname), family, hints, verbatim);
194 const err = resolver._handle[bindingName](req, toASCII(hostname));
/third_party/node/lib/
Ddns.js33 const { toASCII } = require('internal/idna');
154 req, toASCII(hostname), family, hints, verbatim
234 const err = this._handle[bindingName](req, toASCII(name));
Dpunycode.js405 const toASCII = function(input) { function
436 'toASCII': toASCII, property
/third_party/node/deps/npm/node_modules/punycode/
DREADME.md107 ### `punycode.toASCII(input)`
113 punycode.toASCII('mañana.com');
115 punycode.toASCII('☃-⌘.com');
119 punycode.toASCII('джумла@джpумлатест.bрфa');
Dpunycode.js472 function toASCII(input) { function
503 'toASCII': toASCII, property
/third_party/node/deps/npm/node_modules/uri-js/dist/esnext/schemes/
Dmailto.js95 addr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());
119 …domain = (!options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : puny…
/third_party/node/deps/npm/node_modules/uri-js/dist/es5/
Duri.all.js675 var toASCII = function toASCII(input) { function
704 'toASCII': toASCII, property
930 …components.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLo…
1019 …components.host = !options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pc…
1313 addr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());
1335 …domain = !options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punyc…

12