/external/icu/icu4c/source/test/intltest/ |
H A D | encoll.h | 43 Collator *myCollation; member in class:CollationEnglishTest
|
H A D | allcoll.h | 52 RuleBasedCollator *myCollation; member in class:CollationDummyTest
|
H A D | decoll.h | 45 Collator *myCollation; member in class:CollationGermanTest
|
H A D | escoll.h | 44 Collator *myCollation; member in class:CollationSpanishTest
|
H A D | ficoll.h | 43 Collator *myCollation; member in class:CollationFinnishTest
|
H A D | frcoll.h | 47 Collator *myCollation; member in class:CollationFrenchTest
|
H A D | lcukocol.h | 35 Collator *myCollation; member in class:LotusCollationKoreanTest
|
H A D | trcoll.h | 44 Collator *myCollation; member in class:CollationTurkishTest
|
H A D | jacoll.h | 60 Collator *myCollation; member in class:CollationKanaTest
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdetst.c | 36 static UCollator *myCollation; variable 105 myCollation = ucol_open("de_DE", &status); 111 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 112 ucol_setStrength(myCollation, UCOL_TERTIARY); 115 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i][1]); 117 ucol_close(myCollation); 125 myCollation = ucol_open("de_DE", &status); 131 ucol_setStrength(myCollation, UCOL_PRIMARY); 134 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i][0]); 136 ucol_close(myCollation); [all...] |
H A D | cestst.c | 36 static UCollator *myCollation; variable 90 myCollation = ucol_open("es_ES", &status); 96 ucol_setStrength(myCollation, UCOL_TERTIARY); 99 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 101 ucol_close(myCollation); 109 myCollation = ucol_open("es_ES", &status); 115 ucol_setStrength(myCollation, UCOL_PRIMARY); 118 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 120 ucol_close(myCollation);
|
H A D | cfintst.c | 36 static UCollator *myCollation; variable 81 myCollation = ucol_open("fi_FI@collation=standard", &status); 86 ucol_setStrength(myCollation, UCOL_TERTIARY); 89 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 91 ucol_close(myCollation); 99 myCollation = ucol_open("fi_FI@collation=standard", &status); 104 ucol_setStrength(myCollation, UCOL_PRIMARY); 107 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 109 ucol_close(myCollation);
|
H A D | cturtst.c | 36 static UCollator *myCollation; variable 97 myCollation = ucol_open("tr", &status); 103 ucol_setStrength(myCollation, UCOL_TERTIARY); 106 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 108 ucol_close(myCollation); 117 myCollation = ucol_open("tr", &status); 123 ucol_setStrength(myCollation, UCOL_PRIMARY); 126 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 128 ucol_close(myCollation);
|
H A D | cjaptst.c | 39 static UCollator *myCollation; variable 120 myCollation = ucol_open("ja_JP", &status); 126 ucol_setStrength(myCollation, UCOL_TERTIARY); 127 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); 130 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 132 ucol_close(myCollation); 140 myCollation = ucol_open("ja_JP", &status); 149 ucol_setStrength(myCollation, UCOL_PRIMARY); 151 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS); 153 ucol_close(myCollation); [all...] |
H A D | encoll.c | 36 static UCollator *myCollation = NULL; variable 268 myCollation = ucol_open("en_US", &status); 275 ucol_setStrength(myCollation, UCOL_TERTIARY); 278 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 287 doTest(myCollation, testBugs[i], testBugs[j], UCOL_LESS); 299 doTest(myCollation, testMore[i], testMore[j], expected ); 302 ucol_close(myCollation); 310 myCollation = ucol_open("en_US", &status); 315 ucol_setStrength(myCollation, UCOL_PRIMARY); 319 doTest(myCollation, testSourceCase [all...] |
H A D | cfrtst.c | 36 static UCollator *myCollation; variable 148 myCollation = ucol_open("fr_CA", &status); 149 if(U_FAILURE(status) || !myCollation){ 154 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); 160 ucol_setStrength(myCollation, UCOL_QUATERNARY); 163 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 165 ucol_close(myCollation); 173 myCollation = ucol_open("fr_CA", &status); 178 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status); 193 doTest(myCollation, testAcut [all...] |
H A D | cg7coll.c | 138 UCollator *myCollation; local 147 myCollation = ucol_open(locale, &status); 148 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); 149 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); 154 ucol_close(myCollation); 158 defRules = ucol_getRules(myCollation, &rlen); 162 ucol_close(myCollation); 170 ucol_close(myCollation); 176 myCollation = tblColl1; 188 doTest(myCollation, testCase 198 UCollator *myCollation; local 229 UCollator *myCollation; local 258 UCollator *myCollation; local 288 UCollator *myCollation; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
H A D | CollationFinnishTest.java | 54 private Collator myCollation = null; field in class:CollationFinnishTest 59 myCollation = Collator.getInstance(new ULocale("fi_FI@collation=standard")); 66 myCollation.setStrength(Collator.PRIMARY); 75 myCollation.setStrength(Collator.TERTIARY); 85 int compareResult = myCollation.compare(s, t); 87 sortKey1 = myCollation.getCollationKey(s); 88 sortKey2 = myCollation.getCollationKey(t);
|
H A D | CollationFrozenMonkeyTest.java | 234 RuleBasedCollator myCollation = null; 236 myCollation = new RuleBasedCollator(newRules); 243 doTest(myCollation, testSourceCases[i], testTargetCases[i], -1); 249 myCollation = new RuleBasedCollator(newRules); 255 doTest(myCollation, testSourceCases[i], testTargetCases[i], -1); 259 void doTest(RuleBasedCollator myCollation, String mysource, String target, int result) { argument 260 int compareResult = myCollation.compare(source, target); 264 sortKey1 = myCollation.getCollationKey(source); 265 sortKey2 = myCollation.getCollationKey(target);
|
H A D | CollationGermanTest.java | 77 private Collator myCollation = null; field in class:CollationGermanTest 83 myCollation = Collator.getInstance(Locale.GERMAN); 84 if(myCollation == null) { 90 if(myCollation == null ) { 96 myCollation.setStrength(Collator.TERTIARY); 97 myCollation.setDecomposition(Collator.CANONICAL_DECOMPOSITION); 111 if(myCollation == null ) { 116 myCollation.setStrength(Collator.PRIMARY); 117 myCollation.setDecomposition(Collator.CANONICAL_DECOMPOSITION); 129 int compareResult = myCollation [all...] |
H A D | CollationMonkeyTest.java | 209 RuleBasedCollator myCollation = null; 211 myCollation = new RuleBasedCollator(newRules); 218 doTest(myCollation, testSourceCases[i], testTargetCases[i], -1); 224 myCollation = new RuleBasedCollator(newRules); 230 doTest(myCollation, testSourceCases[i], testTargetCases[i], -1); 234 void doTest(RuleBasedCollator myCollation, String mysource, String target, int result) { argument 235 int compareResult = myCollation.compare(source, target); 239 sortKey1 = myCollation.getCollationKey(source); 240 sortKey2 = myCollation.getCollationKey(target);
|
H A D | CollationSpanishTest.java | 67 //static public Collator myCollation = Collator.getInstance(new Locale("es", "ES")); 69 private Collator myCollation = null; field in class:CollationSpanishTest 75 myCollation = Collator.getInstance(new Locale("es", "ES")); 79 myCollation.setStrength(Collator.TERTIARY); 87 myCollation.setStrength(Collator.PRIMARY); 97 int compareResult = myCollation.compare(s, t); 99 sortKey1 = myCollation.getCollationKey(s); 100 sortKey2 = myCollation.getCollationKey(t);
|
H A D | CollationTurkishTest.java | 73 private Collator myCollation = null; field in class:CollationTurkishTest 79 myCollation = Collator.getInstance(new Locale("tr", "")); 84 myCollation.setStrength(Collator.TERTIARY); 92 myCollation.setStrength(Collator.PRIMARY); 103 int compareResult = myCollation.compare(s, t); 105 sortKey1 = myCollation.getCollationKey(s); 106 sortKey2 = myCollation.getCollationKey(t);
|
H A D | G7CollationTest.java | 76 RuleBasedCollator myCollation = null; 78 myCollation = new RuleBasedCollator(newRules); 87 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); 102 RuleBasedCollator myCollation = null; 104 myCollation = new RuleBasedCollator(newRules); 113 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); 129 RuleBasedCollator myCollation = null; 131 myCollation = new RuleBasedCollator(newRules); 140 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); 155 RuleBasedCollator myCollation 205 doTest(Collator myCollation, String source, String target, int result) argument [all...] |
H A D | LotusCollationKoreanTest.java | 42 private Collator myCollation; field in class:LotusCollationKoreanTest 47 myCollation = Collator.getInstance(Locale.KOREAN); 48 myCollation.setDecomposition(Collator.CANONICAL_DECOMPOSITION); 53 myCollation.setStrength(Collator.TERTIARY); 63 int compareResult = myCollation.compare(s, t); 65 sortKey1 = myCollation.getCollationKey(s); 66 sortKey2 = myCollation.getCollationKey(t);
|