Home
last modified time | relevance | path

Searched full:punycode (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/openssl/doc/internal/man3/
Dossl_punycode_decode.pod6 - internal punycode-related functions
10 #include "crypto/punycode.h"
21 PUNYCODE encoding introduced in RFCs 3490-3492 is widely used for
25 ossl_a2ulabel() decodes NUL-terminated hostname from PUNYCODE to UTF-8,
29 from PUNYCODE to UTF-8 and compares it with the 2nd one as is.
32 a hostname, with stripped PUNYCODE marker I<xn-->.
37 -1 on invalid PUNYCODE string passed. When valid string is provided, it sets the
41 -1 when invalid PUNYCODE string passed.
/third_party/skia/m133/third_party/externals/icu/source/common/
Dpunycode.h10 * file name: punycode.h
21 punycode.c 0.4.0 (2001-Nov-17-Sat)
35 * u_strToPunycode() converts Unicode to Punycode.
48 * @param dest Output Punycode array.
75 * u_strFromPunycode() converts Punycode to Unicode.
77 * than the Punycode string (in chars).
79 * @param src Input Punycode string.
85 * defined by the Punycode string.
Dpunycode.cpp10 * file name: punycode.cpp
22 punycode.c 0.4.0 (2001-Nov-17-Sat)
57 #include "punycode.h"
61 /* Punycode ----------------------------------------------------------------- */
63 /* Punycode parameters for Bootstring */
145 /* Punycode-specific Bootstring code ---------------------------------------- */
149 * that are not used with the Punycode parameter set.
327 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strToPunycode()
471 /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strFromPunycode()
517 /* not needed for Punycode: */ in u_strFromPunycode()
[all …]
Duts46.cpp28 #include "punycode.h"
364 // "??--..." is Punycode or forbidden. in process()
465 // "??--..." is Punycode or forbidden. in processUTF8()
708 // Label starts with "xn--", try to un-Punycode it. in processLabel()
713 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
751 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
789 // If the label was not a Punycode label, then it was the result of in processLabel()
791 // If the label was in Punycode, then we mapped it again above in processLabel()
795 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
852 // Leave a Punycode label unchanged if it has no severe errors. in processLabel()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dpunycode.h10 * file name: punycode.h
21 punycode.c 0.4.0 (2001-Nov-17-Sat)
35 * u_strToPunycode() converts Unicode to Punycode.
48 * @param dest Output Punycode array.
75 * u_strFromPunycode() converts Punycode to Unicode.
77 * than the Punycode string (in chars).
79 * @param src Input Punycode string.
85 * defined by the Punycode string.
Dpunycode.cpp10 * file name: punycode.cpp
22 punycode.c 0.4.0 (2001-Nov-17-Sat)
57 #include "punycode.h"
61 /* Punycode ----------------------------------------------------------------- */
63 /* Punycode parameters for Bootstring */
145 /* Punycode-specific Bootstring code ---------------------------------------- */
149 * that are not used with the Punycode parameter set.
327 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strToPunycode()
471 /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strFromPunycode()
517 /* not needed for Punycode: */ in u_strFromPunycode()
[all …]
Duts46.cpp28 #include "punycode.h"
364 // "??--..." is Punycode or forbidden. in process()
465 // "??--..." is Punycode or forbidden. in processUTF8()
716 // Label starts with "xn--", try to un-Punycode it. in processLabel()
721 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
759 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
797 // If the label was not a Punycode label, then it was the result of in processLabel()
799 // If the label was in Punycode, then we mapped it again above in processLabel()
803 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
863 // Leave a Punycode label unchanged if it has no severe errors. in processLabel()
[all …]
/third_party/icu/icu4c/source/common/
Dpunycode.h10 * file name: punycode.h
21 punycode.c 0.4.0 (2001-Nov-17-Sat)
35 * u_strToPunycode() converts Unicode to Punycode.
48 * @param dest Output Punycode array.
75 * u_strFromPunycode() converts Punycode to Unicode.
77 * than the Punycode string (in chars).
79 * @param src Input Punycode string.
85 * defined by the Punycode string.
Dpunycode.cpp10 * file name: punycode.cpp
22 punycode.c 0.4.0 (2001-Nov-17-Sat)
57 #include "punycode.h"
61 /* Punycode ----------------------------------------------------------------- */
63 /* Punycode parameters for Bootstring */
145 /* Punycode-specific Bootstring code ---------------------------------------- */
149 * that are not used with the Punycode parameter set.
327 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strToPunycode()
471 /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in u_strFromPunycode()
517 /* not needed for Punycode: */ in u_strFromPunycode()
[all …]
Duts46.cpp28 #include "punycode.h"
364 // "??--..." is Punycode or forbidden. in process()
465 // "??--..." is Punycode or forbidden. in processUTF8()
716 // Label starts with "xn--", try to un-Punycode it. in processLabel()
721 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
759 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
797 // If the label was not a Punycode label, then it was the result of in processLabel()
799 // If the label was in Punycode, then we mapped it again above in processLabel()
803 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
863 // Leave a Punycode label unchanged if it has no severe errors. in processLabel()
[all …]
/third_party/typescript/tests/baselines/reference/
DresolveModuleNameWithSameLetDeclarationName2.types2 declare module "punycode" {
3 >"punycode" : typeof import("punycode")
DresolveModuleNameWithSameLetDeclarationName2.symbols2 declare module "punycode" {
3 >"punycode" : Symbol("punycode", Decl(resolveModuleNameWithSameLetDeclarationName2.ts, 0, 0))
/third_party/skia/m133/third_party/externals/icu/source/test/intltest/
Dpunyref.h12 punycode.c from draft-ietf-idn-punycode-03
18 Punycode (draft-ietf-idn-punycode-03).
62 /* punycode_encode() converts Unicode to Punycode. The input */
94 /* punycode_decode() converts Punycode to Unicode. The input is */
Dpunyref.cpp32 punycode.c 0.4.0 (2001-Nov-17-Sat)
49 /*** Bootstring parameters for Punycode ***/
153 /* (not needed for Punycode with unsigned code points) */ in punycode_encode()
172 /* (not needed for Punycode) */ in punycode_encode()
184 /* Punycode does not need to check whether input[j] is basic: */ in punycode_encode()
284 /* not needed for Punycode: */ in punycode_decode()
/third_party/icu/icu4c/source/test/intltest/
Dpunyref.h12 punycode.c from draft-ietf-idn-punycode-03
18 Punycode (draft-ietf-idn-punycode-03).
62 /* punycode_encode() converts Unicode to Punycode. The input */
94 /* punycode_decode() converts Punycode to Unicode. The input is */
Dpunyref.cpp32 punycode.c 0.4.0 (2001-Nov-17-Sat)
49 /*** Bootstring parameters for Punycode ***/
153 /* (not needed for Punycode with unsigned code points) */ in punycode_encode()
172 /* (not needed for Punycode) */ in punycode_encode()
184 /* Punycode does not need to check whether input[j] is basic: */ in punycode_encode()
284 /* not needed for Punycode: */ in punycode_decode()
/third_party/icu/docs/userguide/strings/
Dstringprep.md90 ## Punycode section in StringPrep
92 Punycode is an encoding scheme for Unicode for use in IDNA. Punycode converts
94 ASCII Compatible Encoding (ACE). Punycode is described in RFC 3492
97 The Punycode algorithm is a form of a general Bootstring algorithm which allows
99 of code points from a larger set. Punycode represents Unicode code points from
128 using Punycode and an ACE prefix is added to denote that the text is encoded
129 using Punycode. IDNA uses “xn--” before the encoded label.
133 for IDNA, then the label excluding the prefix is decoded using Punycode. The
134 output of Punycode decoder is verified by applying ToASCII operation and
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java76 Error.PUNYCODE,
163 // "??--..." is Punycode or forbidden. in process()
343 // Label starts with "xn--", try to un-Punycode it. in processLabel()
348 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
356 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
358 addLabelError(info, Error.PUNYCODE); in processLabel()
365 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
398 // If the label was not a Punycode label, then it was the result of in processLabel()
400 // If the label was in Punycode, then we mapped it again above in processLabel()
404 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
[all …]
DPunycode.java17 * Ported code from ICU punycode.c
20 public final class Punycode { class
22 /* Punycode parameters for Bootstring */
122 * Converts Unicode to Punycode.
216 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in encode()
267 * Converts Punycode to Unicode.
268 * The Unicode string will be at most as long as the Punycode string.
384 /* not needed for Punycode: */ in decode()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java27 import com.ibm.icu.impl.Punycode;
118 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
124 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
130 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
135 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
140 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
145 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
150 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
155 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
172 // Different error: The Punycode decoding procedure does not consume the last delimiter in TestACELabelEdgeCases()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUTS46.java77 Error.PUNYCODE,
164 // "??--..." is Punycode or forbidden. in process()
344 // Label starts with "xn--", try to un-Punycode it. in processLabel()
347 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
349 addLabelError(info, Error.PUNYCODE); in processLabel()
356 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
389 // If the label was not a Punycode label, then it was the result of in processLabel()
391 // If the label was in Punycode, then we mapped it again above in processLabel()
395 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
457 // Leave a Punycode label unchanged if it has no severe errors. in processLabel()
[all …]
DPunycode.java17 * Ported code from ICU punycode.c
21 public final class Punycode { class
23 /* Punycode parameters for Bootstring */
126 * Converts Unicode to Punycode.
216 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in encode()
267 * Converts Punycode to Unicode.
268 * The Unicode string will be at most as long as the Punycode string.
381 /* not needed for Punycode: */ in decode()
/third_party/curl/docs/libcurl/
Dcurl_url_get.md93 name in its punycode version if it contains any non-ASCII octets (and is an
106 UTF-8 version if it otherwise is a punycode version. If the punycode name
112 punycode.
137 still end up the same punycode version.
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java24 punycode.c 0.4.0 (2001-Nov-17-Sat)
40 /*** punycode status codes */
46 /*** Bootstring parameters for Punycode ***/
160 /* (not needed for Punycode with unsigned code points) */ in encode()
179 /* (not needed for Punycode) */ in encode()
191 /* Punycode does not need to check whether input[j] is basic: */ in encode()
366 /* not needed for Punycode: */ in decode()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DPunycodeReference.java25 punycode.c 0.4.0 (2001-Nov-17-Sat)
43 /*** punycode status codes */
49 /*** Bootstring parameters for Punycode ***/
163 /* (not needed for Punycode with unsigned code points) */ in encode()
182 /* (not needed for Punycode) */ in encode()
194 /* Punycode does not need to check whether input[j] is basic: */ in encode()
369 /* not needed for Punycode: */ in decode()

123456