Home
last modified time | relevance | path

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

123456789

/external/cronet/third_party/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 …]
/external/icu/libicu/cts_headers/
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.
/external/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.cpp30 #include "punycode.h"
365 // "??--..." is Punycode or forbidden. in process()
466 // "??--..." is Punycode or forbidden. in processUTF8()
709 // Label starts with "xn--", try to un-Punycode it. in processLabel()
714 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
752 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
790 // If the label was not a Punycode label, then it was the result of in processLabel()
792 // If the label was in Punycode, then we mapped it again above in processLabel()
796 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
853 // Leave a Punycode label unchanged if it has no severe errors. in processLabel()
[all …]
/external/rust/crates/idna/tests/
Dpunycode.rs10 use idna::punycode::{decode, encode_str};
69 format!("Punycode {}", i + 1) in collect_tests()
71 format!("Punycode {}: {}", i + 1, desc) in collect_tests()
96 format!("Bad Punycode {}", i + 1) in collect_tests()
98 format!("Bad Punycode {}: {}", i + 1, desc) in collect_tests()
Dtests.rs3 mod punycode; module
21 punycode::collect_tests(&mut add_test); in main()
/external/cronet/third_party/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()
/external/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()
/external/rust/crates/idna/src/
Dlib.rs14 //! and [Punycode (RFC 3492)](https://tools.ietf.org/html/rfc3492).
23 //! > into a format known as Punycode.
51 pub mod punycode; module
60 /// and using Punycode as necessary.
80 /// and decoding Punycode as necessary.
Duts46.rs13 use crate::punycode;
378 let mut decoder = punycode::Decoder::default(); in processing()
407 errors.punycode = true; in processing()
469 if let Err(()) = punycode::encode_into(label.chars(), out) { in to_ascii_inner()
470 errors.punycode = true; in to_ascii_inner()
604 punycode: bool, field
621 punycode, in is_err()
634 punycode in is_err()
652 punycode, in fmt()
667 ("punycode", punycode), in fmt()
Dpunycode.rs9 //! Punycode ([RFC 3492](http://tools.ietf.org/html/rfc3492)) implementation.
11 //! Since Punycode fundamentally works on unicode code points,
20 // Bootstring parameters for Punycode
42 /// Convert Punycode to an Unicode `String`.
50 /// Convert Punycode to Unicode.
213 /// Convert an Unicode `str` to Punycode.
225 /// Convert Unicode to Punycode.
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUTS46.java77 Error.PUNYCODE,
164 // "??--..." is Punycode or forbidden. in process()
336 // Label starts with "xn--", try to un-Punycode it. in processLabel()
341 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
349 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
351 addLabelError(info, Error.PUNYCODE); in processLabel()
358 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
391 // If the label was not a Punycode label, then it was the result of in processLabel()
393 // If the label was in Punycode, then we mapped it again above in processLabel()
397 // in a non-Punycode label or U+FFFD itself in a Punycode label. in processLabel()
[all …]
DPunycode.java18 * Ported code from ICU punycode.c
22 public final class Punycode { class
24 /* Punycode parameters for Bootstring */
124 * Converts Unicode to Punycode.
218 … /** RAM: comment out the old code for conformance with draft-ietf-idn-punycode-03.txt in encode()
269 * Converts Punycode to Unicode.
270 * The Unicode string will be at most as long as the Punycode string.
386 /* not needed for Punycode: */ in decode()
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
DUTS46.java76 Error.PUNYCODE,
163 // "??--..." is Punycode or forbidden. in process()
335 // Label starts with "xn--", try to un-Punycode it. in processLabel()
340 // Ignore "xn---" here: It will fail Punycode.decode() which logically comes before in processLabel()
348 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
350 addLabelError(info, Error.PUNYCODE); in processLabel()
357 // Deviation characters are ok in Punycode even in transitional processing. in processLabel()
390 // If the label was not a Punycode label, then it was the result of in processLabel()
392 // If the label was in Punycode, then we mapped it again above in processLabel()
396 // 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()
/external/python/google-api-python-client/docs/dyn/
Dgkehub_v1alpha.projects.locations.fleets.html111 …+ Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33…
129 …+ Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33…
172 …+ Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33…
192 …+ Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33…
211 …+ Unicode names must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java28 import android.icu.impl.Punycode;
114 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
120 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
126 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
131 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
136 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
141 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
146 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
151 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
168 // Different error: The Punycode decoding procedure does not consume the last delimiter in TestACELabelEdgeCases()
[all …]
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java27 import com.ibm.icu.impl.Punycode;
111 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
117 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
123 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
128 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
133 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
138 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
143 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
148 info.getErrors().contains(IDNA.Error.PUNYCODE)); in TestInvalidPunycodeDigits()
165 // Different error: The Punycode decoding procedure does not consume the last delimiter in TestACELabelEdgeCases()
[all …]
/external/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.
/external/icu/icu4j/main/core/src/test/java/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()

123456789