/external/icu4c/test/intltest/ |
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) {
|
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, testSourceCases[i], testTargetCases[i], results[i]) [all...] |
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) {
|
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, testSourceCases[i], testTargetCases[i], results[i]) [all...] |
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, testSourceCases[i], testTargetCases[i], results[i][1]) [all...] |
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) {
|
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) {
|
allcoll.h | 52 RuleBasedCollator *myCollation;
|
decoll.h | 45 Collator *myCollation;
|
encoll.h | 43 Collator *myCollation;
|
escoll.h | 44 Collator *myCollation;
|
ficoll.h | 43 Collator *myCollation;
|
lcukocol.h | 35 Collator *myCollation;
|
trcoll.h | 44 Collator *myCollation;
|
frcoll.cpp | 27 : myCollation(0) 30 myCollation = Collator::createInstance(Locale::getFrance(), 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, testSourceCases[i], testTargetCases[i], results[i]) [all...] |
g7coll.cpp | 97 Collator *myCollation= 0; 102 myCollation = Collator::createInstance(locales[i], status); 104 delete myCollation; 108 myCollation->setStrength(Collator::QUATERNARY); 109 myCollation->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status); 122 // const UnicodeString& defRules = ((RuleBasedCollator*)myCollation)->getRules(); 124 tblColl1 = new RuleBasedCollator(((RuleBasedCollator*)myCollation)->getRules(), status); 153 delete myCollation; 171 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); 184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS) [all...] |
frcoll.h | 47 Collator *myCollation;
|
jacoll.h | 60 Collator *myCollation;
|
/external/icu4c/test/cintltst/ |
cjaptst.c | 39 static UCollator *myCollation; 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...] |
cfintst.c | 36 static UCollator *myCollation; 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);
|
cestst.c | 36 static UCollator *myCollation; 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);
|
cturtst.c | 36 static UCollator *myCollation; 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);
|
cg7coll.c | 139 UCollator *myCollation, *tblColl1; 147 myCollation = ucol_open(locales[i], &status); 148 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); 149 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); 157 defRules = ucol_getRules(myCollation, &rlen); 163 ucol_close(myCollation); 182 ucol_close(myCollation); 189 UCollator *myCollation; 199 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 211 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS) [all...] |
cdetst.c | 36 static UCollator *myCollation; 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...] |
callcoll.c | 268 static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); 284 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 306 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 307 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 310 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 311 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 340 partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status); 349 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 350 partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status) [all...] |