Home
last modified time | relevance | path

Searched refs:asciiIn (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestIDNA.java32 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 …]
DTestIDNARef.java30 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 …]
DTestData.java138 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/
DTestIDNA.java28 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 …]
DTestIDNARef.java26 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 …]
DTestData.java137 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/
Dtestidna.cpp156 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/
Didnatest.c346 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()