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.java38 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
40 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
41 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
42 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
43 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
53 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
54 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
55 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
DTestIDNARef.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
53 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
55 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
56 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
509 ascii0.append(TestData.asciiIn[0]); in TestCompare()
512 ascii1.append(TestData.asciiIn[1]); in TestCompare()
527 doTestCompare(source.toString(),www+TestData.asciiIn[i]+com,true); in TestCompare()
619 for(int i=0; i< TestData.asciiIn.length; i++){ in TestChaining()
[all …]
DTestData.java142 public static final String[] asciiIn = { field in TestData
265 ErrorCase(char[] uniIn, String asciiIn, Exception ex, in ErrorCase() argument
268 ascii = asciiIn; in ErrorCase()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNA.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
39 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
40 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
51 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
52 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
DTestIDNARef.java32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
34 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
53 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
506 ascii0.append(TestData.asciiIn[0]); in TestCompare()
509 ascii1.append(TestData.asciiIn[1]); in TestCompare()
524 doTestCompare(source.toString(),www+TestData.asciiIn[i]+com,true); in TestCompare()
616 for(int i=0; i< TestData.asciiIn.length; i++){ in TestChaining()
[all …]
DTestData.java139 public static final String[] asciiIn = { field in TestData
262 ErrorCase(char[] uniIn, String asciiIn, Exception ex, in ErrorCase() argument
265 ascii = asciiIn; in ErrorCase()
/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp160 static const char *asciiIn[] = { variable
706 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testToASCII()
717 for(i=0;i< UPRV_LENGTHOF(asciiIn); i++){ in testToUnicode()
718 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testToUnicode()
794 ascii0.append(asciiIn[0]); in testCompare()
798 ascii1.append(asciiIn[1]); in testCompare()
804 u_charsToUChars(asciiIn[i],buf+4, (int32_t)(strlen(asciiIn[i])+1)); in testCompare()
1163 for(i=0;i< UPRV_LENGTHOF(asciiIn); i++){ in testChaining()
1164 u_charsToUChars(asciiIn[i],buf, (int32_t)(strlen(asciiIn[i])+1)); in testChaining()
1193 ascii0.append(asciiIn[0]); in testRootLabelSeparator()
[all …]
/external/icu/icu4c/source/test/cintltst/
Didnatest.c348 static const char * const asciiIn[] = { variable
436 u_charsToUChars(asciiIn[i],buf, (int32_t)strlen(asciiIn[i])+1); in TestToASCII()
449 for(i=0;i< UPRV_LENGTHOF(asciiIn); i++){ in TestToUnicode()
450 u_charsToUChars(asciiIn[i],buf, (int32_t)strlen(asciiIn[i])+1); in TestToUnicode()
589 u_charsToUChars(asciiIn[0], temp, (int32_t)strlen(asciiIn[0])); in TestCompare()
595 u_charsToUChars(asciiIn[1], temp, (int32_t)strlen(asciiIn[1])); in TestCompare()
608 u_charsToUChars(asciiIn[i],buf+4, (int32_t)strlen(asciiIn[i])); in TestCompare()