/external/icu/icu4c/source/test/intltest/ |
D | mnkytst.cpp | 34 myCollator(0) in CollationMonkeyTest() 37 myCollator = Collator::createInstance("en_US", status); in CollationMonkeyTest() 42 delete myCollator; in ~CollationMonkeyTest() 94 myCollator->setStrength(Collator::TERTIARY); in TestCollationKey() 95 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey() 96 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey() 101 myCollator->setStrength(Collator::SECONDARY); in TestCollationKey() 102 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey() 103 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey() 108 myCollator->setStrength(Collator::PRIMARY); in TestCollationKey() [all …]
|
D | mnkytst.h | 51 Collator *myCollator; variable
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 45 Collator myCollator; in TestCollationKey() local 47 myCollator = Collator.getInstance(new Locale("en", "US")); in TestCollationKey() 63 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey() 64 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 65 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 70 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey() 71 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 72 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 77 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey() 78 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() [all …]
|
D | CollationDummyTest.java | 415 Collator myCollator = null; in TestJB1401() local 425 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401() 430 myCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestJB1401() 452 doTest(myCollator, x, y, 0); in TestJB1401() 453 doTest(myCollator, x, z, 0); in TestJB1401() 454 doTest(myCollator, y, z, 0); in TestJB1401() 463 ceiX = ((RuleBasedCollator)myCollator).getCollationElementIterator(x); in TestJB1401() 464 ceiY = ((RuleBasedCollator)myCollator).getCollationElementIterator(y); in TestJB1401() 465 ceiZ = ((RuleBasedCollator)myCollator).getCollationElementIterator(z); in TestJB1401()
|
D | CollationFrozenMonkeyTest.java | 49 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCollationKey() local 50 myCollator.freeze(); in TestCollationKey() 52 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCollationKey() 135 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCompare() local 136 myCollator.freeze(); in TestCompare() 138 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCompare()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 44 Collator myCollator; in TestCollationKey() local 46 myCollator = Collator.getInstance(new Locale("en", "US")); in TestCollationKey() 62 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey() 63 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 64 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 69 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey() 70 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 71 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 76 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey() 77 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() [all …]
|
D | CollationDummyTest.java | 414 Collator myCollator = null; in TestJB1401() local 424 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401() 429 myCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestJB1401() 451 doTest(myCollator, x, y, 0); in TestJB1401() 452 doTest(myCollator, x, z, 0); in TestJB1401() 453 doTest(myCollator, y, z, 0); in TestJB1401() 462 ceiX = ((RuleBasedCollator)myCollator).getCollationElementIterator(x); in TestJB1401() 463 ceiY = ((RuleBasedCollator)myCollator).getCollationElementIterator(y); in TestJB1401() 464 ceiZ = ((RuleBasedCollator)myCollator).getCollationElementIterator(z); in TestJB1401()
|
D | CollationFrozenMonkeyTest.java | 48 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCollationKey() local 49 myCollator.freeze(); in TestCollationKey() 51 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCollationKey() 134 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCompare() local 135 myCollator.freeze(); in TestCompare() 137 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCompare()
|
/external/icu/icu4c/source/test/cintltst/ |
D | callcoll.c | 877 UCollator *myCollator = 0; in TestJB581() local 885 myCollator = ucol_open("en_US", &status); in TestJB581() 890 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 897 ucol_setStrength(myCollator, UCOL_PRIMARY); in TestJB581() 898 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 905 sourceKeyOut = ucol_getSortKey(myCollator, source, -1, sourceKeyArray, 100); in TestJB581() 907 targetKeyOut = ucol_getSortKey(myCollator, target, -1, targetKeyArray, 100); in TestJB581() 913 ucol_close(myCollator); in TestJB581() 918 UCollator *myCollator = 0; in TestJB1401() local 929 myCollator = ucol_open("en_US", &status); in TestJB1401() [all …]
|
D | nucnvtst.c | 5389 UCollator* myCollator; in TestJitterbug981() local 5397 myCollator = ucol_open("zh", &status); in TestJitterbug981() 5404 rules = ucol_getRules(myCollator, &rules_length); in TestJitterbug981() 5407 ucol_close(myCollator); in TestJitterbug981() 5431 ucol_close(myCollator); in TestJitterbug981()
|