Lines Matching refs:myCollator
53 UCollator *myCollator = 0;
60 myCollator = ucol_open(locale, status);
68 result = ucol_strcoll(myCollator, source, u_strlen(source), target, u_strlen(target));
77 ucol_setStrength(myCollator, UCOL_PRIMARY);
78 result = ucol_strcoll(myCollator, source, u_strlen(source), target, u_strlen(target));
88 sourceKeyOut = ucol_getSortKey(myCollator, source, -1, sourceKeyArray, MAXBUFFERSIZE);
89 targetKeyOut = ucol_getSortKey(myCollator, target, -1, targetKeyArray, MAXBUFFERSIZE);
98 ucol_close(myCollator);
122 Collator *myCollator = 0;
127 myCollator = Collator::createInstance(locale, status);
135 result = myCollator->compare(source, target);
144 myCollator->setStrength(Collator::PRIMARY);
145 result = myCollator->compare(source, target);
154 myCollator->getCollationKey(source, sourceKey, status);
155 myCollator->getCollationKey(target, targetKey, status);
165 delete myCollator;
231 Collator myCollator = Collator.getInstance(locale);
233 int result = myCollator.compare(source, target);
241 myCollator.setStrength(Collator.PRIMARY);
242 result = myCollator.compare(source, target);
250 CollationKey sourceKey = myCollator.getCollationKey(source);
251 CollationKey targetKey = myCollator.getCollationKey(target);