| /external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
| ToAscii.ll | 3 ; RUN: not grep {call.*toascii}
5 declare i32 @toascii(i32)
8 %val1 = call i32 @toascii( i32 1 ) ; <i32> [#uses=1]
9 %val2 = call i32 @toascii( i32 0 ) ; <i32> [#uses=1]
10 %val3 = call i32 @toascii( i32 127 ) ; <i32> [#uses=1]
11 %val4 = call i32 @toascii( i32 128 ) ; <i32> [#uses=1]
12 %val5 = call i32 @toascii( i32 255 ) ; <i32> [#uses=1]
13 %val6 = call i32 @toascii( i32 256 ) ; <i32> [#uses=1]
|
| /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...] |
| /external/icu/icu4c/source/test/intltest/ |
| idnaconf.h | 43 int type; // 0 toascii, 1 tounicode
|
| testidna.h | 79 void testChaining(const char* toASCIIName, TestFunc toASCII, 109 void testConformance(const char* toASCIIName, TestFunc toASCII,
|
| /external/skia/debugger/ |
| debuggermain.cpp | 39 SkString commandName(iter->toAscii().data()); 47 input = SkString(iter->toAscii().data());
|
| /external/skqp/debugger/ |
| debuggermain.cpp | 39 SkString commandName(iter->toAscii().data()); 47 input = SkString(iter->toAscii().data());
|
| /bionic/tests/ |
| ctype_test.cpp | 200 TEST(ctype, toascii) { 201 EXPECT_EQ('a', toascii('a')); 202 EXPECT_EQ('a', toascii(0x80 | 'a'));
|
| /packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
| Utility.java | 46 public static byte[] toAscii(String s) { 74 return new ByteArrayInputStream(toAscii(ascii));
|
| /libcore/ojluni/src/main/java/java/net/ |
| IDN.java | 40 * RFC 3490 defines two operations: ToASCII and ToUnicode. These 2 operations employ 83 * as defined by the ToASCII operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 85 * <p>ToASCII operation can fail. ToASCII fails if any step of it fails. 86 * If ToASCII operation fails, an IllegalArgumentException will be thrown. 89 * <p> A label is an individual part of a domain name. The original ToASCII operation, 105 public static String toASCII(String input, int flag) { 110 throw new IllegalArgumentException("Invalid input to toASCII: " + input, e); 118 * as defined by the ToASCII operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 123 * {@link #toASCII(String, int) toASCII}(input, 0) [all...] |
| /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) {
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
| idna.py | 62 def ToASCII(label):
133 # Step 6: Apply ToASCII
134 label2 = ToASCII(result)
164 result.append(ToASCII(label))
221 result.append(ToASCII(label))
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
| idna.py | 62 def ToASCII(label):
133 # Step 6: Apply ToASCII
134 label2 = ToASCII(result)
164 result.append(ToASCII(label))
221 result.append(ToASCII(label))
|
| /external/python/cpython2/Lib/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 164 result.append(ToASCII(label)) 221 result.append(ToASCII(label))
|
| /external/python/cpython3/Lib/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 181 result.extend(ToASCII(label)) 246 result.extend(ToASCII(label))
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 164 result.append(ToASCII(label)) 221 result.append(ToASCII(label))
|
| /prebuilts/gdb/linux-x86/lib/python2.7/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 164 result.append(ToASCII(label)) 221 result.append(ToASCII(label))
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 164 result.append(ToASCII(label)) 221 result.append(ToASCII(label))
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
| idna.py | 62 def ToASCII(label): 133 # Step 6: Apply ToASCII 134 label2 = ToASCII(result) 164 result.append(ToASCII(label)) 221 result.append(ToASCII(label))
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| UTS46.java | 115 boolean isLabel, boolean toASCII, 138 if(toASCII) { 158 break; // Replacing with U+FFFD can be complicated for toASCII. 177 // Replacing with U+FFFD can be complicated for toASCII. 184 if(toASCII && (i-labelStart)>63) { 193 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info); 205 boolean isLabel, boolean toASCII, 214 toASCII ? (options&NONTRANSITIONAL_TO_ASCII)==0 : 223 toASCII, info); 245 processLabel(dest, labelStart, labelLimit-labelStart, toASCII, info) [all...] |