Lines Matching refs:myCollator
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()
109 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
110 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
119 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
120 myCollator->getCollationKey(addOne, collationKey2, status2); in TestCollationKey()
166 myCollator->setStrength(Collator::TERTIARY); in TestCompare()
167 int32_t result = myCollator->compare(subs, subt); // Tertiary in TestCompare()
168 int32_t revResult = myCollator->compare(subt, subs); // Tertiary in TestCompare()
171 myCollator->setStrength(Collator::SECONDARY); in TestCompare()
172 result = myCollator->compare(subs, subt); // Secondary in TestCompare()
173 revResult = myCollator->compare(subt, subs); // Secondary in TestCompare()
176 myCollator->setStrength(Collator::PRIMARY); in TestCompare()
177 result = myCollator->compare(subs, subt); // Primary in TestCompare()
178 revResult = myCollator->compare(subt, subs); // Primary in TestCompare()
185 result = myCollator->compare(subs, addOne); in TestCompare()
197 result = myCollator->compare(addOne, subs); in TestCompare()
258 if(myCollator) { in runIndexedTest()