/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
D | TestIDNA.java | 32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 34 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 36 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 43 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 45 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 46 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 47 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 48 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() [all …]
|
D | TestIDNARef.java | 30 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 32 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 33 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 49 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 50 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 497 ascii0.append(TestData.asciiIn[0]); in TestCompare() 500 ascii1.append(TestData.asciiIn[1]); in TestCompare() 515 doTestCompare(source.toString(),www+TestData.asciiIn[i]+com,true); in TestCompare() 606 for(int i=0; i< TestData.asciiIn.length; i++){ in TestChaining() [all …]
|
D | TestData.java | 138 public static final String[] asciiIn = { field in TestData 261 ErrorCase(char[] uniIn, String asciiIn, Exception ex, in ErrorCase() argument 264 ascii = asciiIn; in ErrorCase()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestIDNA.java | 28 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 30 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 31 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 32 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 33 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 39 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 41 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 42 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 43 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 44 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() [all …]
|
D | TestIDNARef.java | 26 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 28 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 29 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 43 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 45 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 46 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 493 ascii0.append(TestData.asciiIn[0]); in TestCompare() 496 ascii1.append(TestData.asciiIn[1]); in TestCompare() 511 doTestCompare(source.toString(),www+TestData.asciiIn[i]+com,true); in TestCompare() 602 for(int i=0; i< TestData.asciiIn.length; i++){ in TestChaining() [all …]
|
D | TestData.java | 137 public static final String[] asciiIn = { field in TestData 260 ErrorCase(char[] uniIn, String asciiIn, Exception ex, in ErrorCase() argument 263 ascii = asciiIn; in ErrorCase()
|
/external/icu/icu4c/source/test/intltest/ |
D | testidna.cpp | 156 static const char *asciiIn[] = { variable 698 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testToASCII() 709 for(i=0;i< (int32_t)(sizeof(asciiIn)/sizeof(asciiIn[0])); i++){ in testToUnicode() 710 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testToUnicode() 786 ascii0.append(asciiIn[0]); in testCompare() 790 ascii1.append(asciiIn[1]); in testCompare() 796 u_charsToUChars(asciiIn[i],buf+4, (int32_t)(strlen(asciiIn[i])+1)); in testCompare() 1155 for(i=0;i< (int32_t)(sizeof(asciiIn)/sizeof(asciiIn[0])); i++){ in testChaining() 1156 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testChaining() 1185 ascii0.append(asciiIn[0]); in testRootLabelSeparator() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | idnatest.c | 346 static const char * const asciiIn[] = { variable 434 u_charsToUChars(asciiIn[i],buf, (int32_t)strlen(asciiIn[i])+1); in TestToASCII() 447 for(i=0;i< (int32_t)(sizeof(asciiIn)/sizeof(asciiIn[0])); i++){ in TestToUnicode() 448 u_charsToUChars(asciiIn[i],buf, (int32_t)strlen(asciiIn[i])+1); in TestToUnicode() 587 u_charsToUChars(asciiIn[0], temp, (int32_t)strlen(asciiIn[0])); in TestCompare() 593 u_charsToUChars(asciiIn[1], temp, (int32_t)strlen(asciiIn[1])); in TestCompare() 606 u_charsToUChars(asciiIn[i],buf+4, (int32_t)strlen(asciiIn[i])); in TestCompare()
|