/external/icu4c/test/intltest/ |
H A D | tscoll.cpp | 146 UCollator *myCollation = (UCollator *)((RuleBasedCollator *)col)->getUCollator(); local 160 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); 171 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 193 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 194 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 197 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 198 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 227 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); 234 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 235 partialNormalizedSKResult = compareUsingPartials(myCollation, sr [all...] |
H A D | encoll.cpp | 18 : myCollation(0) 21 myCollation = Collator::createInstance(Locale::getEnglish(), status); 26 delete myCollation; 246 myCollation->setStrength(Collator::TERTIARY); 249 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 257 doTest(myCollation, testBugs[i], testBugs[j], Collator::LESS); 274 doTest(myCollation, testMore[i], testMore[j], expected ); 283 myCollation->setStrength(Collator::PRIMARY); 286 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 293 myCollation [all...] |
H A D | mnkytst.cpp | 225 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local 231 doTest(myCollation, testSourceCases[i], testTargetCases[i], Collator::LESS); 233 delete myCollation; 240 myCollation = new RuleBasedCollator(newRules, status); 246 doTest(myCollation, testSourceCases[i], testTargetCases[i], Collator::LESS); 248 delete myCollation;
|
/external/icu4c/test/cintltst/ |
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 | 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 | cmsccoll.c | 265 UCollator *myCollation; local 266 myCollation = ucol_open("en_US", &status); 272 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 273 ucol_setStrength(myCollation, UCOL_TERTIARY); 276 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 278 ucol_close(myCollation); 2138 UCollator *myCollation; local 2139 myCollation = ucol_open("en_US", &status); 2146 ucol_setStrength(myCollation, UCOL_TERTIARY); 2149 ucol_setAttribute(myCollation, UCOL_CASE_FIRS 5529 UCollator *myCollation; local 5812 UCollator *myCollation; local 5837 UCollator *myCollation; local 5913 UCollator *myCollation; local 5993 UCollator *myCollation; local 6098 UCollator *myCollation; local 6288 UCollator *myCollation; local 6353 UCollator *myCollation; local [all...] |