/external/icu/icu4c/source/test/intltest/ |
H A D | lcukocol.cpp | 32 : myCollation(0) 35 myCollation = Collator::createInstance("ko_kr", status); 37 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 40 delete myCollation; 41 myCollation = 0; 48 delete myCollation; 67 myCollation->setStrength(Collator::TERTIARY); 70 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 77 if(myCollation) {
|
H A D | allcoll.cpp | 21 : myCollation(0) 27 myCollation = new RuleBasedCollator(rules, status); 32 if (myCollation != NULL) 34 delete myCollation; 36 myCollation = new RuleBasedCollator(ruleset, status); 39 delete myCollation; 40 myCollation = 0; 46 delete myCollation; 95 myCollation->setStrength(Collator::TERTIARY); 98 doTest(myCollation, testSourceCase [all...] |
H A D | ficoll.cpp | 33 : myCollation(0) 36 myCollation = Collator::createInstance(Locale("fi", "FI", "", "collation=standard"),status); 41 delete myCollation; 72 myCollation->setStrength(Collator::TERTIARY); 74 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 80 myCollation->setStrength(Collator::PRIMARY); 82 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 90 if((!myCollation) && exec) {
|
H A D | jacoll.cpp | 20 : myCollation(0) 23 myCollation = Collator::createInstance(Locale::getJapan(), status); 24 if(!myCollation || U_FAILURE(status)) { 27 delete myCollation; 28 myCollation = NULL; 35 delete myCollation; 108 myCollation->setStrength(Collator::TERTIARY); 111 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 112 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); 114 doTest(myCollation, testSourceCase [all...] |
H A D | decoll.cpp | 36 : myCollation(0) 39 myCollation = Collator::createInstance(Locale::getGermany(), status); 40 if(!myCollation || U_FAILURE(status)) { 43 delete myCollation; 44 myCollation = NULL; 50 delete myCollation; 105 if(myCollation == NULL ) { 112 myCollation->setStrength(Collator::TERTIARY); 113 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 116 doTest(myCollation, testSourceCase [all...] |
H A D | escoll.cpp | 35 : myCollation(0) 38 myCollation = Collator::createInstance(Locale("es", "ES", ""),status); 43 delete myCollation; 86 myCollation->setStrength(Collator::TERTIARY); 88 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 94 myCollation->setStrength(Collator::PRIMARY); 96 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 104 if((!myCollation) && exec) {
|
H A D | trcoll.cpp | 19 : myCollation(0) 22 myCollation = Collator::createInstance(Locale("tr", "", ""),status); 27 delete myCollation; 76 myCollation->setStrength(Collator::TERTIARY); 78 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 84 myCollation->setStrength(Collator::PRIMARY); 86 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 94 if((!myCollation) && exec) {
|
H A D | allcoll.h | 52 RuleBasedCollator *myCollation; member in class:CollationDummyTest
|
H A D | encoll.h | 43 Collator *myCollation; member in class:CollationEnglishTest
|
H A D | frcoll.cpp | 27 : myCollation(0) 30 myCollation = Collator::createInstance(Locale::getCanadaFrench(), status); 31 if(!myCollation || U_FAILURE(status)) { 34 delete myCollation; 35 myCollation = NULL; 41 delete myCollation; 141 myCollation->setStrength(Collator::TERTIARY); 142 myCollation->setAttribute(UCOL_FRENCH_COLLATION, UCOL_ON, status); 143 myCollation->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status); 151 doTest(myCollation, testSourceCase [all...] |
H A D | g7coll.cpp | 100 LocalPointer<Collator> myCollation(Collator::createInstance(locale, status)); 105 myCollation->setStrength(Collator::QUATERNARY); 106 myCollation->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status); 112 const UnicodeString &rules = ((RuleBasedCollator*)myCollation.getAlias())->getRules(); 126 myCollation.adoptInstead(tblColl1); 141 doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); 160 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local 173 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); 177 delete myCollation; 194 RuleBasedCollator *myCollation local 228 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local 263 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local [all...] |
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 | lcukocol.h | 35 Collator *myCollation; member in class:LotusCollationKoreanTest
|
H A D | trcoll.h | 44 Collator *myCollation; member in class:CollationTurkishTest
|
/external/icu/icu4c/source/test/cintltst/ |
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 | 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 | 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...] |
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 | 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 | 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 | callcoll.c | 268 static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) argument 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); 283 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); 288 compareResulta = ucol_strcoll(myCollation, source, -1, target, -1); 296 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 314 compareResulta = ucol_strcollUTF8(myCollation, utf8Source, utf8SourceLen, utf8Target, utf8TargetLen, &status); 322 compareResulta = ucol_strcollUTF8(myCollation, utf8Source, -1, utf8Target, -1, &status); 338 compareResultUTF8Iter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 340 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 343 compareResultUTF8IterNorm = ucol_strcollIter(myCollation, 450 doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) argument 739 UCollator *myCollation; local 764 UCollator *myCollation; local 791 UCollator *myCollation; local 816 UCollator *myCollation; local 840 UCollator *myCollation; local 1103 UCollator *myCollation; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
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...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | G7CollationTest.java | 72 RuleBasedCollator myCollation = null; 74 myCollation = new RuleBasedCollator(newRules); 83 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); 98 RuleBasedCollator myCollation = null; 100 myCollation = new RuleBasedCollator(newRules); 109 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); 125 RuleBasedCollator myCollation = null; 127 myCollation = new RuleBasedCollator(newRules); 136 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); 151 RuleBasedCollator myCollation 201 doTest(Collator myCollation, String source, String target, int result) argument [all...] |