Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/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()
245 processLabel(dest, labelStart, labelLimit-labelStart, toASCII, info); in processUnicode()
320 boolean toASCII, in processLabel() argument
337 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java114 boolean isLabel, boolean toASCII, in process() argument
137 if(toASCII) { in process()
183 if(toASCII && (i-labelStart)>63) { in process()
192 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info); in process()
204 boolean isLabel, boolean toASCII, in processUnicode() argument
213 toASCII ? (options&NONTRANSITIONAL_TO_ASCII)==0 : in processUnicode()
222 toASCII, info); in processUnicode()
244 processLabel(dest, labelStart, labelLimit-labelStart, toASCII, info); in processUnicode()
319 boolean toASCII, in processLabel() argument
336 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.h79 void testChaining(const char* toASCIIName, TestFunc toASCII,
109 void testConformance(const char* toASCIIName, TestFunc toASCII,
Dtestidna.cpp1153 void TestIDNA::testChaining(const char* toASCIIName, TestFunc toASCII, in testChaining() argument
1163 testChaining(unicodeIn[i], 5,toASCIIName, FALSE, TRUE, toASCII); in testChaining()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestIDNA.java657 … private StringBuffer _doTestCompareReferenceImpl(StringBuffer src, boolean toASCII, int options) { in _doTestCompareReferenceImpl() argument
658 … String refIDNAName = toASCII ? "IDNAReference.convertToASCII" : "IDNAReference.convertToUnicode"; in _doTestCompareReferenceImpl()
659 String uIDNAName = toASCII ? "IDNA.convertToASCII" : "IDNA.convertToUnicode"; in _doTestCompareReferenceImpl()
667 …exp = toASCII ? IDNAReference.convertToASCII(src, options) : IDNAReference.convertToUnicode(src, o… in _doTestCompareReferenceImpl()
675 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.java656 … private StringBuffer _doTestCompareReferenceImpl(StringBuffer src, boolean toASCII, int options) { in _doTestCompareReferenceImpl() argument
657 … String refIDNAName = toASCII ? "IDNAReference.convertToASCII" : "IDNAReference.convertToUnicode"; in _doTestCompareReferenceImpl()
658 String uIDNAName = toASCII ? "IDNA.convertToASCII" : "IDNA.convertToUnicode"; in _doTestCompareReferenceImpl()
666 …exp = toASCII ? IDNAReference.convertToASCII(src, options) : IDNAReference.convertToUnicode(src, o… in _doTestCompareReferenceImpl()
674 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);