Home
last modified time | relevance | path

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

12345678910>>...30

/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/normalizer/
H A 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 …]
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A 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 …]
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
H A 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 …]
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A 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 …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/util/
H A DPatternsTest.java87 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches()); in testIanaTopLevelDomains_matchesPunycodeTld()
108 assertFalse("Should not match invalid Punycode TLD", pattern.matcher("xn").matches()); in testIanaTopLevelDomains_doesNotMatchWrongPunycodeTld()
141 assertTrue("Should match Chinese Punycode URL with protocol", in testWebUrl_matchesChinesePunycodeUrlWithProtocol()
149 assertTrue("Should match Chinese Punycode URL without protocol", in testWebUrl_matchesChinesePunycodeUrlWithoutProtocol()
157 assertTrue("Should match arabic Punycode URL with protocol", in testWebUrl_matchesArabicPunycodeUrlWithProtocol()
165 assertTrue("Should match Arabic Punycode URL without protocol", in testWebUrl_matchesArabicPunycodeUrlWithoutProtocol()
330 assertTrue("Should match Chinese Punycode URL with protocol", in testAutoLinkWebUrl_matchesChinesePunycodeUrlWithProtocol()
338 assertTrue("Should match Chinese Punycode URL without protocol", in testAutoLinkWebUrl_matchesChinesePunycodeUrlWithoutProtocol()
346 assertTrue("Should match Arabic Punycode URL with protocol", in testAutoLinkWebUrl_matchesArabicPunycodeUrlWithProtocol()
354 assertTrue("Should match Arabic Punycode URL without protocol", in testAutoLinkWebUrl_matchesArabicPunycodeUrlWithoutProtocol()
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/common_os/include/external/icu/icu4c/source/common/
H A 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.
/aosp_15_r20/external/cronet/third_party/icu/source/common/
H A 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.
H A 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 …]
H A 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 …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/android/include/external/icu/icu4c/source/common/
H A 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.
/aosp_15_r20/external/icu/icu4c/source/common/
H A 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.
H A 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 …]
H A 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 …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/linux_bionic/include/external/icu/icu4c/source/common/
H A 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.
/aosp_15_r20/external/icu/libicu/cts_headers/
H A 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.
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/linux_glibc/include/external/icu/icu4c/source/common/
H A 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.
/aosp_15_r20/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…
/aosp_15_r20/external/rust/android-crates-io/crates/idna/src/
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()
/aosp_15_r20/prebuilts/go/linux-x86/src/vendor/golang.org/x/net/idna/
Didna9.0.0.go44 // ToASCII is a wrapper for Punycode.ToASCII.
46 return Punycode.process(s, true)
49 // ToUnicode is a wrapper for Punycode.ToUnicode.
51 return Punycode.process(s, false)
213 // Punycode Profile. Options can be passed to further restrict the Profile. The
267 // Punycode is a Profile that does raw punycode processing with a minimum
269 Punycode *Profile = punycode var
284 punycode = &Profile{} var
482 // TODO: the punycode converters require strings as input.
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/vendor/rustc-demangle/src/
H A Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/rustc-demangle/src/
Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/vendor/rustc-demangle/src/
H A Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/rustc-demangle-0.1.23/src/
H A Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/vendor/rustc-demangle/src/
H A Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/vendor/rustc-demangle/src/
H A Dv0.rs111 /// Punycode insertion codes for Unicode codepoints, if any.
112 punycode: &'s str, field
118 /// Attempt to decode punycode on the stack (allocation-free),
149 /// Decode punycode as insertion positions and characters
156 let mut punycode_bytes = self.punycode.bytes().peekable(); in punycode_decode()
169 // Punycode parameters and initial state. in punycode_decode()
249 if !self.punycode.is_empty() { in fmt()
250 f.write_str("punycode{")?; in fmt()
252 // Reconstruct a standard Punycode encoding, in fmt()
258 f.write_str(self.punycode)?; in fmt()
[all …]

12345678910>>...30