Lines Matching refs:collator
472 CollData *get(UCollator *collator, UErrorCode &status);
478 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength);
520 CollData *CollDataCache::get(UCollator *collator, UErrorCode &status)
524 char *key = getKey(collator, keyBuffer, &keyLength);
534 newData = new CollData(collator, key, keyLength, status);
589 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength)
592 int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status);
599 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status);
645 CollData::CollData(UCollator *collator, char *cacheKey, int32_t cacheKeyLength, UErrorCode &status)
698 coll = ucol_safeClone(collator, NULL, NULL, &status);
704 coll = collator;
1023 CollData *CollData::open(UCollator *collator, UErrorCode &status)
1031 return cache->get(collator, status);