Searched refs:myCollator (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | mnkytst.cpp | 32 myCollator(0) in CollationMonkeyTest() 35 myCollator = Collator::createInstance("en_US", status); in CollationMonkeyTest() 40 delete myCollator; in ~CollationMonkeyTest() 92 myCollator->setStrength(Collator::TERTIARY); in TestCollationKey() 93 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey() 94 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey() 99 myCollator->setStrength(Collator::SECONDARY); in TestCollationKey() 100 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey() 101 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey() 106 myCollator->setStrength(Collator::PRIMARY); in TestCollationKey() [all …]
|
D | mnkytst.h | 49 Collator *myCollator; variable
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 43 Collator myCollator; in TestCollationKey() local 45 myCollator = Collator.getInstance(new Locale("en", "US")); in TestCollationKey() 61 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey() 62 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 63 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 68 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey() 69 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 70 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 75 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey() 76 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() [all …]
|
D | CollationDummyTest.java | 403 Collator myCollator = null; in TestJB1401() local 413 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401() 418 myCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestJB1401() 440 doTest(myCollator, x, y, 0); in TestJB1401() 441 doTest(myCollator, x, z, 0); in TestJB1401() 442 doTest(myCollator, y, z, 0); in TestJB1401() 451 ceiX = ((RuleBasedCollator)myCollator).getCollationElementIterator(x); in TestJB1401() 452 ceiY = ((RuleBasedCollator)myCollator).getCollationElementIterator(y); in TestJB1401() 453 ceiZ = ((RuleBasedCollator)myCollator).getCollationElementIterator(z); in TestJB1401()
|
D | CollationFrozenMonkeyTest.java | 47 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCollationKey() local 48 myCollator.freeze(); in TestCollationKey() 50 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCollationKey() 132 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCompare() local 133 myCollator.freeze(); in TestCompare() 135 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCompare()
|
/external/icu/icu4c/source/test/cintltst/ |
D | callcoll.c | 875 UCollator *myCollator = 0; in TestJB581() local 883 myCollator = ucol_open("en_US", &status); in TestJB581() 888 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 895 ucol_setStrength(myCollator, UCOL_PRIMARY); in TestJB581() 896 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 903 sourceKeyOut = ucol_getSortKey(myCollator, source, -1, sourceKeyArray, 100); in TestJB581() 905 targetKeyOut = ucol_getSortKey(myCollator, target, -1, targetKeyArray, 100); in TestJB581() 911 ucol_close(myCollator); in TestJB581() 916 UCollator *myCollator = 0; in TestJB1401() local 927 myCollator = ucol_open("en_US", &status); in TestJB1401() [all …]
|
D | nucnvtst.c | 5387 UCollator* myCollator; in TestJitterbug981() local 5395 myCollator = ucol_open("zh", &status); in TestJitterbug981() 5402 rules = ucol_getRules(myCollator, &rules_length); in TestJitterbug981() 5405 ucol_close(myCollator); in TestJitterbug981() 5429 ucol_close(myCollator); in TestJitterbug981()
|