/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 | 50 Collator myCollator; in TestCollationKey() local 52 myCollator = Collator.getInstance(new Locale("en", "US")); in TestCollationKey() 68 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey() 69 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 70 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 75 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey() 76 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 77 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 82 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey() 83 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() [all …]
|
D | CollationDummyTest.java | 420 Collator myCollator = null; in TestJB1401() local 430 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401() 435 myCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestJB1401() 457 doTest(myCollator, x, y, 0); in TestJB1401() 458 doTest(myCollator, x, z, 0); in TestJB1401() 459 doTest(myCollator, y, z, 0); in TestJB1401() 468 ceiX = ((RuleBasedCollator)myCollator).getCollationElementIterator(x); in TestJB1401() 469 ceiY = ((RuleBasedCollator)myCollator).getCollationElementIterator(y); in TestJB1401() 470 ceiZ = ((RuleBasedCollator)myCollator).getCollationElementIterator(z); in TestJB1401()
|
D | CollationFrozenMonkeyTest.java | 54 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCollationKey() local 55 myCollator.freeze(); in TestCollationKey() 57 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCollationKey() 140 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCompare() local 141 myCollator.freeze(); in TestCompare() 143 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCompare()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 47 Collator myCollator; in TestCollationKey() local 49 myCollator = Collator.getInstance(new Locale("en", "US")); in TestCollationKey() 65 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey() 66 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 67 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 72 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey() 73 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() 74 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey() 79 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey() 80 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey() [all …]
|
D | CollationDummyTest.java | 417 Collator myCollator = null; in TestJB1401() local 427 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401() 432 myCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestJB1401() 454 doTest(myCollator, x, y, 0); in TestJB1401() 455 doTest(myCollator, x, z, 0); in TestJB1401() 456 doTest(myCollator, y, z, 0); in TestJB1401() 465 ceiX = ((RuleBasedCollator)myCollator).getCollationElementIterator(x); in TestJB1401() 466 ceiY = ((RuleBasedCollator)myCollator).getCollationElementIterator(y); in TestJB1401() 467 ceiZ = ((RuleBasedCollator)myCollator).getCollationElementIterator(z); in TestJB1401()
|
D | CollationFrozenMonkeyTest.java | 51 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCollationKey() local 52 myCollator.freeze(); in TestCollationKey() 54 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCollationKey() 137 Collator myCollator = Collator.getInstance(new Locale("en", "CA")); in TestCompare() local 138 myCollator.freeze(); in TestCompare() 140 myPrimaryCollator = myCollator.cloneAsThawed(); in TestCompare()
|
/external/icu/icu4c/source/test/cintltst/ |
D | callcoll.c | 880 UCollator *myCollator = 0; in TestJB581() local 888 myCollator = ucol_open("en_US", &status); in TestJB581() 893 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 900 ucol_setStrength(myCollator, UCOL_PRIMARY); in TestJB581() 901 result = ucol_strcoll(myCollator, source, -1, target, -1); in TestJB581() 908 sourceKeyOut = ucol_getSortKey(myCollator, source, -1, sourceKeyArray, 100); in TestJB581() 910 targetKeyOut = ucol_getSortKey(myCollator, target, -1, targetKeyArray, 100); in TestJB581() 916 ucol_close(myCollator); in TestJB581() 921 UCollator *myCollator = 0; in TestJB1401() local 932 myCollator = ucol_open("en_US", &status); in TestJB1401() [all …]
|
D | nucnvtst.c | 5423 UCollator* myCollator; in TestJitterbug981() local 5431 myCollator = ucol_open("zh", &status); in TestJitterbug981() 5438 rules = ucol_getRules(myCollator, &rules_length); in TestJitterbug981() 5441 ucol_close(myCollator); in TestJitterbug981() 5465 ucol_close(myCollator); in TestJitterbug981()
|