/libcore/benchmarks/src/benchmarks/regression/ |
IdnBenchmark.java | 39 IDN.toUnicode("xn--fss-qla.de"); 40 IDN.toUnicode("xn--n00d.com"); 41 IDN.toUnicode("xn--bb-eka.at"); 42 IDN.toUnicode("xn--og-09a.de"); 43 IDN.toUnicode("xn--53h.de"); 44 IDN.toUnicode("xn--iny-zx5a.de"); 45 IDN.toUnicode("xn--abc-rs4b422ycvb.co.jp"); 46 IDN.toUnicode("xn--wgv71a.co.jp"); 47 IDN.toUnicode("xn--x-xbb7i.de"); 48 IDN.toUnicode("xn--wxaikc6b.gr") [all...] |
/external/icu/icu4c/source/test/testdata/ |
test1.ucm | 26 # toUnicode result is fallback direct 29 # toUnicode result is direct non-BMP code point
|
test2.ucm | 32 # toUnicode result is fallback direct 35 # toUnicode result is direct non-BMP code point 51 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
test3.ucm | 33 # toUnicode result is fallback direct 36 # toUnicode result is direct non-BMP code point 52 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
test4.ucm | 36 # toUnicode result is fallback direct 39 # toUnicode result is direct non-BMP code point 45 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
test1bmp.ucm | 28 # toUnicode result is fallback direct
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
IDNTest.java | 119 * {@link java.net.IDN#toUnicode(String)} 124 IDN.toUnicode(null); 130 assertEquals("", IDN.toUnicode("")); 131 assertEquals("www.bcher.de", IDN.toUnicode("www.bcher.de")); 132 assertEquals("www.b\u00FCcher.de", IDN.toUnicode("www.b\u00FCcher.de")); 134 .toUnicode("www.\u65E5\u672C\u5E73.jp")); 135 assertEquals("www.\u65E5\u672C\u5E73.jp", IDN.toUnicode("www\uFF0Exn--gwtq9nb2a\uFF61jp")); 136 assertEquals("www.\u65E5\u672C\u5E73.jp", IDN.toUnicode("www.xn--gwtq9nb2a.jp")); 140 * {@link java.net.IDN#toUnicode(String, int)} 144 assertEquals("", IDN.toUnicode("", IDN.ALLOW_UNASSIGNED)) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
IDNTest.java | 35 assertEquals("b\u00fccher", IDN.toUnicode(makePunyString(0))); 38 assertEquals(longInput, IDN.toUnicode(longInput));
|
/art/tools/checker/common/ |
testing.py | 15 def ToUnicode(string):
|
/external/icu/icu4c/source/test/intltest/ |
idnaconf.h | 41 int type; // 0 toascii, 1 tounicode
|
testidna.h | 78 const char* toUnicodeName, TestFunc toUnicode); 110 const char* toUnicodeName, TestFunc toUnicode
|
/libcore/ojluni/src/main/java/java/net/ |
IDN.java | 40 * RFC 3490 defines two operations: ToASCII and ToUnicode. These 2 operations employ 140 * as defined by the ToUnicode operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 142 * <p>ToUnicode never fails. In case of any error, the input string is returned unmodified. 144 * <p> A label is an individual part of a domain name. The original ToUnicode operation, 156 public static String toUnicode(String input, int flag) { 159 // Java expects the translation for toUnicode too. 184 * as defined by the ToUnicode operation of <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. 189 * {@link #toUnicode(String, int) toUnicode}(input, 0); 196 public static String toUnicode(String input) [all...] |
/art/tools/checker/file_format/c1visualizer/ |
test.py | 17 from common.testing import ToUnicode 40 actualFile = ParseC1visualizerStream("<c1_file>", io.StringIO(ToUnicode(c1Text)))
|
/external/harfbuzz_ng/src/ |
sample.py | 15 def tounicode(s, encoding='utf-8'): function 22 text = tounicode(sys.argv[2])
|
/external/icu/icu4c/source/common/ |
ucnv_cnv.h | 37 * commented out because there are actually two values used in toUnicode tables: 81 * then the toUnicode function will be used and the offsets will be set to -1. 116 * - The toUnicode side must behave and keep state exactly like the 121 * - Continuing a partial match and flushing the toUnicode replay buffer 122 * are handled by pivoting, using the toUnicode and fromUnicode functions. 130 * If the function pointer is NULL, then the toUnicode function will be used. 140 * to indicate that the ucnv.c code shall call the toUnicode function instead 220 * Every converter type must implement toUnicode, fromUnicode, and getNextUChar, 240 UConverterToUnicode toUnicode; 278 * getNextUChar() implementation to indicate to use the converter's toUnicode() [all...] |
ucnvmbcs.h | 42 * the same toUnicode structures, while the fromUnicode structures for SBCS 54 * data is missing and must be reconstituted from the toUnicode data 162 * the toUnicode data; 210 * the toUnicode data 224 * fromUBytes[] must be reconstituted from the toUnicode data 369 /* toUnicode */ 404 /* toUnicode */ \ 575 * Internal function returning a UnicodeSet for toUnicode() conversion.
|
/external/icu/icu4c/source/io/ |
ufile.h | 33 /* The buffer size for toUnicode calls */ 71 UChar fUCBuffer[UFILE_UCHARBUFFER_SIZE];/* buffer used for toUnicode */
|
/art/tools/checker/match/ |
test.py | 16 from common.testing import ToUnicode 38 ToUnicode(c1String), 123 checkerFile = ParseCheckerStream("<test-file>", "CHECK", io.StringIO(ToUnicode(checkerString))) 124 c1File = ParseC1visualizerStream("<c1-file>", io.StringIO(ToUnicode(c1String)))
|
/art/tools/checker/file_format/checker/ |
test.py | 18 from common.testing import ToUnicode 30 checkerText = u"/// CHECK-START: pass\n" + ToUnicode(string) 80 u"/// CHECK" + ToUnicode(variant) + u": " + ToUnicode(string)) 214 return ParseCheckerStream("<test_file>", "CHECK", io.StringIO(ToUnicode(checkerText))) 312 return ParseCheckerStream("<test_file>", "CHECK", io.StringIO(ToUnicode(checkerText))) 371 checkerText = u"/// CHECK-START: pass\n" + ToUnicode(string)
|
/external/icu/icu4c/source/common/unicode/ |
uidna.h | 95 * IDNA option for nontransitional processing in ToUnicode(). 97 * <p>By default, ToUnicode() uses transitional processing. 524 * The RFC defines 2 operations: ToASCII and ToUnicode. Domain name labels 528 * ToUnicode operation before displaying the domain name to the user. 535 * The input and output of ToASCII and ToUnicode operations are Unicode 536 * and are designed to be chainable, i.e., applying ToASCII or ToUnicode operations 539 * ToUnicode(ToUnicode(ToUnicode...(ToUnicode(string)))) == ToUnicode(string) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/encodings/ |
idna.py | 105 def ToUnicode(label): 193 result.append(ToUnicode(label)) 262 result.append(ToUnicode(label))
|
/prebuilts/gdb/linux-x86/lib/python2.7/encodings/ |
idna.py | 105 def ToUnicode(label): 193 result.append(ToUnicode(label)) 262 result.append(ToUnicode(label))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
idna.py | 105 def ToUnicode(label): 193 result.append(ToUnicode(label)) 262 result.append(ToUnicode(label))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
idna.py | 105 def ToUnicode(label): 193 result.append(ToUnicode(label)) 262 result.append(ToUnicode(label))
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
IDNA.java | 34 * The draft defines 2 operations: ToASCII and ToUnicode. Domain labels 38 * ToUnicode operation before displaying the domain name to the user. 45 * The input and output of ToASCII and ToUnicode operations are Unicode 46 * and are designed to be chainable, i.e., applying ToASCII or ToUnicode operations 49 * ToUnicode(ToUnicode(ToUnicode...(ToUnicode(string)))) == ToUnicode(string) 100 * IDNA option for nontransitional processing in ToUnicode() [all...] |