/external/chromium_org/third_party/icu/source/test/intltest/ |
tscoll.cpp | 144 UCollator *myCollation = (UCollator *)((RuleBasedCollator *)col)->getUCollator(); 158 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); 169 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 191 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 192 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 195 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 225 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); 232 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 233 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status) [all...] |
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->setStrength(Collator::SECONDARY) [all...] |
mnkytst.cpp | 225 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); 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/intltest/ |
tscoll.cpp | 148 UCollator *myCollation = (UCollator *)((RuleBasedCollator *)col)->getUCollator(); 162 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); 173 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 195 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 199 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status); 200 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 229 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); 236 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 237 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status) [all...] |
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->setStrength(Collator::SECONDARY) [all...] |
mnkytst.cpp | 225 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); 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/chromium_org/third_party/icu/source/test/cintltst/ |
cfrtst.c | 36 static UCollator *myCollation; 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, testAcute[i], testAcute[j], expected ) [all...] |
encoll.c | 36 static UCollator *myCollation = NULL; 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, testSourceCases[i], testTargetCases[i], results[i]) [all...] |
cmsccoll.c | 265 UCollator *myCollation; 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); [all...] |
/external/icu4c/test/cintltst/ |
cfrtst.c | 36 static UCollator *myCollation; 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, testAcute[i], testAcute[j], expected ) [all...] |
encoll.c | 36 static UCollator *myCollation = NULL; 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, testSourceCases[i], testTargetCases[i], results[i]) [all...] |
cmsccoll.c | 266 UCollator *myCollation; 267 myCollation = ucol_open("en_US", &status); 273 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 274 ucol_setStrength(myCollation, UCOL_TERTIARY); 277 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); 279 ucol_close(myCollation); [all...] |