/libcore/benchmarks/src/benchmarks/regression/ |
IdnBenchmark.java | 25 IDN.toASCII("fass.de"); 26 IDN.toASCII("faß.de"); 27 IDN.toASCII("fäß.de"); 28 IDN.toASCII("a\u200Cb"); 29 IDN.toASCII("öbb.at"); 30 IDN.toASCII("abc???.co.jp"); 31 IDN.toASCII("??.co.jp"); 32 IDN.toASCII("x\u0327\u0301.de"); 33 IDN.toASCII("?????.gr");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
IDNTest.java | 26 * {@link java.net.IDN#toASCII(String)} 31 IDN.toASCII(null); 38 IDN.toASCII("www.m\uE400kitorppa.edu"); 45 IDN.toASCII("www.\u672C\uFE73\uFFFF.jp"); 52 .toASCII("www.\u65E5\u672C\u5E73.jp")); 56 .toASCII("www.\u30CF\u30F3\u30C9\u30DC\u30FC\u30EB\u30B5\u30E0\u30BA.com")); 58 .toASCII("www.f\u00E4rgbolaget.nu")); 59 assertEquals("www.xn--bcher-kva.de", IDN.toASCII("www.b\u00FCcher.de")); 61 .toASCII("www.br\u00E6ndendek\u00E6rlighed.com")); 63 .toASCII("www.r\u00E4ksm\u00F6rg\u00E5s.se")) [all...] |
/external/llvm/test/Transforms/InstCombine/ |
toascii-1.ll | 1 ; Test that the toascii library call simplifier works correctly. 7 declare i32 @toascii(i32) 13 %ret = call i32 @toascii(i32 0) 20 %ret = call i32 @toascii(i32 1) 27 %ret = call i32 @toascii(i32 127) 34 %ret = call i32 @toascii(i32 128) 41 %ret = call i32 @toascii(i32 255) 48 %ret = call i32 @toascii(i32 256) 55 %ret = call i32 @toascii(i32 %x)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
IDNATestInput.txt | 10 type: toascii 21 type: toascii 32 type: toascii 43 type: toascii 54 type: toascii 65 type: toascii 76 type: toascii 87 type: toascii 98 type: toascii 109 type: toascii [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
IDNATestInput.txt | 10 type: toascii 21 type: toascii 32 type: toascii 43 type: toascii 54 type: toascii 65 type: toascii 76 type: toascii 87 type: toascii 98 type: toascii 109 type: toascii [all...] |
/libcore/ojluni/src/main/java/java/net/ |
IDN.java | 40 * RFC 3490 defines two operations: ToASCII and ToUnicode. These 2 operations employ 86 * as defined by the ToASCII operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 88 * <p>ToASCII operation can fail. ToASCII fails if any step of it fails. 89 * If ToASCII operation fails, an IllegalArgumentException will be thrown. 92 * <p> A label is an individual part of a domain name. The original ToASCII operation, 108 public static String toASCII(String input, int flag) { 112 throw new IllegalArgumentException("Invalid input to toASCII: " + input, e); 119 * as defined by the ToASCII operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 124 * {@link #toASCII(String, int) toASCII}(input, 0) [all...] |
/bionic/tests/ |
ctype_test.cpp | 113 TEST(ctype, toascii) { 114 EXPECT_EQ('a', toascii('a')); 115 EXPECT_EQ('a', toascii(0x80 | 'a'));
|
/external/icu/icu4c/source/test/intltest/ |
idnaconf.h | 41 int type; // 0 toascii, 1 tounicode
|
testidna.h | 77 void testChaining(const char* toASCIIName, TestFunc toASCII, 107 void testConformance(const char* toASCIIName, TestFunc toASCII,
|
/external/skia/debugger/ |
debuggermain.cpp | 43 SkString commandName(iter->toAscii().data()); 51 input = SkString(iter->toAscii().data());
|
/packages/services/Telephony/src/com/android/phone/common/mail/utils/ |
Utility.java | 50 public static byte[] toAscii(String s) { 78 return new ByteArrayInputStream(toAscii(ascii));
|
/development/ndk/platforms/android-3/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapSimpleString.java | 47 return new ByteArrayInputStream(Utility.toAscii(mString));
|
/prebuilts/go/darwin-x86/src/net/http/cookiejar/ |
punycode.go | 132 // toASCII converts a domain or domain label to its ASCII form. For example, 133 // toASCII("bücher.example.com") is "xn--bcher-kva.example.com", and 134 // toASCII("golang") is "golang". 135 func toASCII(s string) (string, error) {
|
/prebuilts/go/linux-x86/src/net/http/cookiejar/ |
punycode.go | 132 // toASCII converts a domain or domain label to its ASCII form. For example, 133 // toASCII("bücher.example.com") is "xn--bcher-kva.example.com", and 134 // toASCII("golang") is "golang". 135 func toASCII(s string) (string, error) {
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/linux/ |
ctype.h | 39 #define toascii(c) (((unsigned char)(c))&0x7f) macro
|