Home
last modified time | relevance | path

Searched refs:IDNA (Results 1 – 25 of 48) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestIDNA.java21 import android.icu.text.IDNA;
40 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
41 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
42 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
43 …ToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNA… in TestToUnicode()
52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
53 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
54 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
55 …ToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNA… in TestToASCII()
63 doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNA.DEFAULT, null); in TestIDNToASCII()
[all …]
DTestData.java12 import android.icu.text.IDNA;
465 "Nameprep", IDNA.DEFAULT,
472 "Nameprep", IDNA.DEFAULT,
478 "Nameprep", IDNA.DEFAULT,
484 "Nameprep", IDNA.DEFAULT,
490 "Nameprep", IDNA.DEFAULT,
496 "Nameprep", IDNA.DEFAULT,
502 "Nameprep", IDNA.DEFAULT,
508 "Nameprep", IDNA.DEFAULT,
514 "Nameprep", IDNA.DEFAULT,
[all …]
DIDNAConformanceTest.java29 import android.icu.text.IDNA;
86 result = IDNA.convertIDNToASCII(namebase, in TestConformance()
87 IDNA.ALLOW_UNASSIGNED).toString(); in TestConformance()
89 result = IDNA.convertIDNToASCII(namebase, in TestConformance()
90 IDNA.USE_STD3_RULES).toString(); in TestConformance()
127 result = IDNA.convertIDNToUnicode(namebase, in TestConformance()
128 IDNA.ALLOW_UNASSIGNED).toString(); in TestConformance()
130 result = IDNA.convertIDNToUnicode(namebase, in TestConformance()
131 IDNA.USE_STD3_RULES).toString(); in TestConformance()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNA.java20 import com.ibm.icu.text.IDNA;
37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
39 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
40 …ToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNA… in TestToUnicode()
49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
51 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
52 …ToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNA… in TestToASCII()
60 doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNA.DEFAULT, null); in TestIDNToASCII()
[all …]
DTestData.java11 import com.ibm.icu.text.IDNA;
462 "Nameprep", IDNA.DEFAULT,
469 "Nameprep", IDNA.DEFAULT,
475 "Nameprep", IDNA.DEFAULT,
481 "Nameprep", IDNA.DEFAULT,
487 "Nameprep", IDNA.DEFAULT,
493 "Nameprep", IDNA.DEFAULT,
499 "Nameprep", IDNA.DEFAULT,
505 "Nameprep", IDNA.DEFAULT,
511 "Nameprep", IDNA.DEFAULT,
[all …]
DIDNAConformanceTest.java28 import com.ibm.icu.text.IDNA;
83 result = IDNA.convertIDNToASCII(namebase, in TestConformance()
84 IDNA.ALLOW_UNASSIGNED).toString(); in TestConformance()
86 result = IDNA.convertIDNToASCII(namebase, in TestConformance()
87 IDNA.USE_STD3_RULES).toString(); in TestConformance()
124 result = IDNA.convertIDNToUnicode(namebase, in TestConformance()
125 IDNA.ALLOW_UNASSIGNED).toString(); in TestConformance()
127 result = IDNA.convertIDNToUnicode(namebase, in TestConformance()
128 IDNA.USE_STD3_RULES).toString(); in TestConformance()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java29 import android.icu.text.IDNA;
42 IDNA.USE_STD3_RULES|IDNA.CHECK_BIDI| in UTS46Test()
43 IDNA.CHECK_CONTEXTJ|IDNA.CHECK_CONTEXTO; in UTS46Test()
44 trans=IDNA.getUTS46Instance(commonOptions); in UTS46Test()
45 nontrans=IDNA.getUTS46Instance(commonOptions| in UTS46Test()
46IDNA.NONTRANSITIONAL_TO_ASCII|IDNA.NONTRANSITIONAL_TO_UNICODE); in UTS46Test()
52 IDNA.Info info=new IDNA.Info(); in TestAPI()
63 …if( !info.getErrors().equals(EnumSet.of(IDNA.Error.LABEL_HAS_DOT, IDNA.Error.INVALID_ACE_LABEL)) || in TestAPI()
86 IDNA not3=IDNA.getUTS46Instance(IDNA.CHECK_BIDI); in TestNotSTD3()
89 IDNA.Info info=new IDNA.Info(); in TestNotSTD3()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java28 import com.ibm.icu.text.IDNA;
39 IDNA.USE_STD3_RULES|IDNA.CHECK_BIDI| in UTS46Test()
40 IDNA.CHECK_CONTEXTJ|IDNA.CHECK_CONTEXTO; in UTS46Test()
41 trans=IDNA.getUTS46Instance(commonOptions); in UTS46Test()
42 nontrans=IDNA.getUTS46Instance(commonOptions| in UTS46Test()
43IDNA.NONTRANSITIONAL_TO_ASCII|IDNA.NONTRANSITIONAL_TO_UNICODE); in UTS46Test()
49 IDNA.Info info=new IDNA.Info(); in TestAPI()
60 …if( !info.getErrors().equals(EnumSet.of(IDNA.Error.LABEL_HAS_DOT, IDNA.Error.INVALID_ACE_LABEL)) || in TestAPI()
83 IDNA not3=IDNA.getUTS46Instance(IDNA.CHECK_BIDI); in TestNotSTD3()
86 IDNA.Info info=new IDNA.Info(); in TestNotSTD3()
[all …]
/external/icu/icu4c/source/common/
Duts46.cpp70 IDNA::~IDNA() {} in ~IDNA()
73 IDNA::labelToASCII_UTF8(StringPiece label, ByteSink &dest, in labelToASCII_UTF8()
83 IDNA::labelToUnicodeUTF8(StringPiece label, ByteSink &dest, in labelToUnicodeUTF8()
93 IDNA::nameToASCII_UTF8(StringPiece name, ByteSink &dest, in nameToASCII_UTF8()
103 IDNA::nameToUnicodeUTF8(StringPiece name, ByteSink &dest, in nameToUnicodeUTF8()
114 class UTS46 : public IDNA {
200 IDNA *
201 IDNA::createUTS46Instance(uint32_t options, UErrorCode &errorCode) { in createUTS46Instance()
203 IDNA *idna=new UTS46(options, errorCode); in createUTS46Instance()
1318 return reinterpret_cast<UIDNA *>(IDNA::createUTS46Instance(options, *pErrorCode)); in uidna_openUTS46()
[all …]
/external/icu/icu4c/source/common/unicode/
Didna.h50 class U_COMMON_API IDNA : public UObject {
56 ~IDNA();
91 static IDNA *
/external/icu/android_icu4j/src/main/java/android/icu/text/
DIDNA.java56 public abstract class IDNA { class
145 public static IDNA getUTS46Instance(int options) { in getUTS46Instance()
448 protected IDNA() { in IDNA() method in IDNA
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DIDNA.java56 public abstract class IDNA { class
152 public static IDNA getUTS46Instance(int options) { in getUTS46Instance()
468 protected IDNA() { in IDNA() method in IDNA
/external/icu/icu4c/source/test/intltest/
Duts46test.cpp51 IDNA *trans, *nontrans;
71 trans=IDNA::createUTS46Instance(commonOptions, errorCode); in runIndexedTest()
72 nontrans=IDNA::createUTS46Instance( in runIndexedTest()
217 LocalPointer<IDNA> not3(IDNA::createUTS46Instance(UIDNA_CHECK_BIDI, errorCode)); in TestNotSTD3()
Duobjtest.cpp348 TESTCLASSID_NONE_FACTORY(IDNA, IDNA::createUTS46Instance(0, status)); in testIDs()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DIDNA2003.java12 import android.icu.text.IDNA;
166 boolean useSTD3ASCIIRules = ((options & IDNA.USE_STD3_RULES) != 0); in convertToASCII()
DUTS46.java19 import android.icu.text.IDNA;
37 public final class UTS46 extends IDNA {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIDNA2003.java11 import com.ibm.icu.text.IDNA;
165 boolean useSTD3ASCIIRules = ((options & IDNA.USE_STD3_RULES) != 0); in convertToASCII()
DUTS46.java18 import com.ibm.icu.text.IDNA;
36 public final class UTS46 extends IDNA {
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b1.rst735 Add test cases for IDNA 2003 and 2008 host names. IDNA 2003
736 internationalized host names are working since bpo-31399 has landed. IDNA
/external/icu/icu4j/tools/build/
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j54.api3.gz
Dicu4j57.api3.gz12;ICU4J 57.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j55.api3.gz12;ICU4J 55.1;; 2ST@3.6;PB;NS;NF;NS; ...
/external/curl/docs/
DLICENSE-MIXING.md107 (Used for IDNA support) Uses the GNU Lesser General Public License [3]. LGPL
/external/python/cpython3/Doc/library/
Dunicodedata.rst148 specific version of the Unicode database (such as IDNA).

12