Home
last modified time | relevance | path

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

/external/icu/android_icu4j/testing/src/com/android/icu/test/text/
DExtendedIDNATest.java39 toASCII("www.m\uE400kitorppa.edu", 0); in testConvertIDNToASCII()
46 toASCII("www.\u672C\uFE73\uFFFF.jp", 0); in testConvertIDNToASCII()
52 assertEquals("www.xn--gwtq9nb2a.jp", toASCII( in testConvertIDNToASCII()
55 toASCII("www.\u30CF\u30F3\u30C9\u30DC\u30FC\u30EB\u30B5\u30E0\u30BA.com",0)); in testConvertIDNToASCII()
56 assertEquals("www.xn--frgbolaget-q5a.nu", toASCII( in testConvertIDNToASCII()
58 assertEquals("www.xn--bcher-kva.de", toASCII("www.b\u00FCcher.de", IDNA.ALLOW_UNASSIGNED)); in testConvertIDNToASCII()
59 assertEquals("www.google.com", toASCII("www.google\u002Ecom", IDNA.USE_STD3_RULES)); in testConvertIDNToASCII()
62 private static String toASCII(String str, int flags) throws StringPrepParseException { in toASCII() method in ExtendedIDNATest
/external/icu/android_icu4j/src/main/java/android/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
353 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel()
[all …]
/external/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 …]
/external/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 …]
/external/icu/icu4c/source/test/intltest/
Dtestidna.h80 void testChaining(const char* toASCIIName, TestFunc toASCII,
110 void testConformance(const char* toASCIIName, TestFunc toASCII,
Dtestidna.cpp1158 void TestIDNA::testChaining(const char* toASCIIName, TestFunc toASCII, in testChaining() argument
1168 testChaining(unicodeIn[i], 5,toASCIIName, FALSE, TRUE, toASCII); in testChaining()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestIDNA.java662 … 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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNA.java659 … 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()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java1409 String result = IDN.toASCII(input).toLowerCase(Locale.US);
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java1419 String result = IDN.toASCII(input).toLowerCase(Locale.US);
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/icu4c/source/test/testdata/
DIdnaTestV2.txt30 # 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
/external/rust/crates/idna/tests/
DIdnaTestV2.txt30 # 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
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DIdnaTestV2.txt30 # 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
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/
DIdnaTestV2.txt30 # 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