/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestIDNA.java | 21 import android.icu.text.IDNA; 40 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); 41 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); 42 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); 43 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null); 52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); 53 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); 54 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); 55 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null) [all...] |
TestData.java | 12 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...] |
IDNAConformanceTest.java | 29 import android.icu.text.IDNA; 86 result = IDNA.convertIDNToASCII(namebase, 87 IDNA.ALLOW_UNASSIGNED).toString(); 89 result = IDNA.convertIDNToASCII(namebase, 90 IDNA.USE_STD3_RULES).toString(); 127 result = IDNA.convertIDNToUnicode(namebase, 128 IDNA.ALLOW_UNASSIGNED).toString(); 130 result = IDNA.convertIDNToUnicode(namebase, 131 IDNA.USE_STD3_RULES).toString();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
TestIDNA.java | 20 import com.ibm.icu.text.IDNA; 37 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); 38 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); 39 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); 40 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null); 49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); 50 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); 51 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); 52 doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALLOW_UNASSIGNED, null) [all...] |
TestData.java | 11 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...] |
IDNAConformanceTest.java | 28 import com.ibm.icu.text.IDNA; 83 result = IDNA.convertIDNToASCII(namebase, 84 IDNA.ALLOW_UNASSIGNED).toString(); 86 result = IDNA.convertIDNToASCII(namebase, 87 IDNA.USE_STD3_RULES).toString(); 124 result = IDNA.convertIDNToUnicode(namebase, 125 IDNA.ALLOW_UNASSIGNED).toString(); 127 result = IDNA.convertIDNToUnicode(namebase, 128 IDNA.USE_STD3_RULES).toString();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
UTS46Test.java | 29 import android.icu.text.IDNA; 42 IDNA.USE_STD3_RULES|IDNA.CHECK_BIDI| 43 IDNA.CHECK_CONTEXTJ|IDNA.CHECK_CONTEXTO; 44 trans=IDNA.getUTS46Instance(commonOptions); 45 nontrans=IDNA.getUTS46Instance(commonOptions| 46 IDNA.NONTRANSITIONAL_TO_ASCII|IDNA.NONTRANSITIONAL_TO_UNICODE); 52 IDNA.Info info=new IDNA.Info() [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
UTS46Test.java | 28 import com.ibm.icu.text.IDNA; 39 IDNA.USE_STD3_RULES|IDNA.CHECK_BIDI| 40 IDNA.CHECK_CONTEXTJ|IDNA.CHECK_CONTEXTO; 41 trans=IDNA.getUTS46Instance(commonOptions); 42 nontrans=IDNA.getUTS46Instance(commonOptions| 43 IDNA.NONTRANSITIONAL_TO_ASCII|IDNA.NONTRANSITIONAL_TO_UNICODE); 49 IDNA.Info info=new IDNA.Info() [all...] |
/libcore/ojluni/src/main/java/java/net/ |
IDN.java | 28 import android.icu.text.IDNA; 108 return IDNA.convertIDNToASCII(input, flag).toString(); 160 return convertFullStop(IDNA.convertIDNToUnicode(input, flag)).toString();
|
/external/icu/icu4c/source/common/unicode/ |
idna.h | 8 * file name: idna.h 22 * \brief C++ API: Internationalizing Domain Names in Applications (IDNA) 39 * Abstract base class for IDNA processing. 43 * The IDNA class is not intended for public subclassing. 50 class U_COMMON_API IDNA : public UObject { 56 ~IDNA(); 59 * Returns an IDNA instance which implements UTS #46. 64 * UTS #46 defines Unicode IDNA Compatibility Processing, 88 * @return the UTS #46 IDNA instance, if successful 91 static IDNA * [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
IDNA.java | 21 * Abstract base class for IDNA processing. 25 * The IDNA class is not intended for public subclassing. 34 * The static IDNA API methods implement the IDNA protocol as defined in the 35 * <a href="http://www.ietf.org/rfc/rfc3490.txt">IDNA RFC</a>. 41 * IDNA requires that implementations process input strings with 45 * Implementations of IDNA MUST fully implement Nameprep and Punycode; 56 public abstract class IDNA { 80 * IDNA option to check for whether the input conforms to the BiDi rules. 87 * IDNA option to check for whether the input conforms to the CONTEXTJ rules [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
IDNA.java | 20 * Abstract base class for IDNA processing. 24 * The IDNA class is not intended for public subclassing. 33 * The static IDNA API methods implement the IDNA protocol as defined in the 34 * <a href="http://www.ietf.org/rfc/rfc3490.txt">IDNA RFC</a>. 40 * IDNA requires that implementations process input strings with 44 * Implementations of IDNA MUST fully implement Nameprep and Punycode; 56 public abstract class IDNA { 81 * IDNA option to check for whether the input conforms to the BiDi rules. 89 * IDNA option to check for whether the input conforms to the CONTEXTJ rules [all...] |
/external/icu/icu4c/source/common/ |
uts46.cpp | 21 #include "unicode/idna.h" 68 // IDNA class default implementations -------------------------------------- *** 70 IDNA::~IDNA() {} 73 IDNA::labelToASCII_UTF8(StringPiece label, ByteSink &dest, 83 IDNA::labelToUnicodeUTF8(StringPiece label, ByteSink &dest, 93 IDNA::nameToASCII_UTF8(StringPiece name, ByteSink &dest, 103 IDNA::nameToUnicodeUTF8(StringPiece name, ByteSink &dest, 114 class UTS46 : public IDNA { 200 IDNA * 203 IDNA *idna=new UTS46(options, errorCode); local [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/idna/ |
trieval.go | 5 package idna package 7 // This file contains definitions for interpreting the trie value of the idna 12 // info holds information from the IDNA mapping table for a single rune. It is 63 // A category corresponds to a category defined in the IDNA mapping table.
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/idna/ |
trieval.go | 5 package idna package 7 // This file contains definitions for interpreting the trie value of the idna 12 // info holds information from the IDNA mapping table for a single rune. It is 63 // A category corresponds to a category defined in the IDNA mapping table.
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
IDNA2003.java | 12 import android.icu.text.IDNA; 18 * IDNA2003 implementation code, moved out of android.icu.text.IDNA.java 24 /* IDNA ACE Prefix is "xn--" */ 138 * defined by the IDNA RFC 166 boolean useSTD3ASCIIRules = ((options & IDNA.USE_STD3_RULES) != 0);
|
UTS46.java | 18 import android.icu.text.IDNA; 23 // Note about tests for IDNA.Error.DOMAIN_NAME_TOO_LONG: 36 public final class UTS46 extends IDNA { 412 // so that we don't report IDNA.Error.DISALLOWED for the U+FFFD from here. [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
IDNA2003.java | 11 import com.ibm.icu.text.IDNA; 17 * IDNA2003 implementation code, moved out of com.ibm.icu.text.IDNA.java 22 /* IDNA ACE Prefix is "xn--" */ 136 * defined by the IDNA RFC 165 boolean useSTD3ASCIIRules = ((options & IDNA.USE_STD3_RULES) != 0);
|
UTS46.java | 17 import com.ibm.icu.text.IDNA; 22 // Note about tests for IDNA.Error.DOMAIN_NAME_TOO_LONG: 35 public final class UTS46 extends IDNA { 411 // so that we don't report IDNA.Error.DISALLOWED for the U+FFFD from here. [all...] |
/external/icu/icu4c/source/test/intltest/ |
uts46test.cpp | 23 #include "unicode/idna.h" 51 IDNA *trans, *nontrans; 71 trans=IDNA::createUTS46Instance(commonOptions, errorCode); 72 nontrans=IDNA::createUTS46Instance( 217 LocalPointer<IDNA> not3(IDNA::createUTS46Instance(UIDNA_CHECK_BIDI, errorCode)); [all...] |
uobjtest.cpp | 273 #include "unicode/idna.h" 349 TESTCLASSID_NONE_FACTORY(IDNA, IDNA::createUTS46Instance(0, status));
|
/prebuilts/go/darwin-x86/src/net/http/cookiejar/ |
punycode.go | 126 // Strictly speaking, the remaining code below deals with IDNA (RFC 5890 and
|
jar_test.go | 1181 "Host cookie on IDNA domain #1", 1199 "Host cookie on IDNA domain #2", 1217 "Domain cookie on IDNA domain #1", 1235 "Domain cookie on IDNA domain #2", [all...] |
/prebuilts/go/linux-x86/src/net/http/cookiejar/ |
punycode.go | 126 // Strictly speaking, the remaining code below deals with IDNA (RFC 5890 and
|
/external/icu/icu4c/source/test/testdata/ |
testdata.mak | 91 @echo Making Test Resource Bundle file for IDNA reference implementation
|