Home
last modified time | relevance | path

Searched refs:LocaleCacheKey (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp33 const UCTItem *LocaleCacheKey<UCTItem>::createObject( in createObject()
45 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
58 const UCTItem2 *LocaleCacheKey<UCTItem2>::createObject( in createObject()
136 LocaleCacheKey<UCTItem>(locales[i]), in TestEvictionPolicy()
145 LocaleCacheKey<UCTItem>( in TestEvictionPolicy()
201 cache.get(LocaleCacheKey<UCTItem>("en_US"), &cache, enUs, status); in TestBounded()
202 cache.get(LocaleCacheKey<UCTItem>("en"), &cache, en, status); in TestBounded()
204 cache.get(LocaleCacheKey<UCTItem>("en_GB"), &cache, enGb, status); in TestBounded()
205 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, frFr, status); in TestBounded()
206 cache.get(LocaleCacheKey<UCTItem>("fr"), &cache, fr, status); in TestBounded()
[all …]
Dtsmthred.cpp1352 const UCTMultiThreadItem *LocaleCacheKey<UCTMultiThreadItem>::createObject( in createObject()
1362 cacheContext->get(LocaleCacheKey<UCTMultiThreadItem>(fLoc.getLanguage()), result, status); in createObject()
1422 LocaleCacheKey<UCTMultiThreadItem>(locale), fCache, origItem, status); in exerciseByLocale()
1436 LocaleCacheKey<UCTMultiThreadItem>(locale), fCache, item, status); in exerciseByLocale()
/external/icu/icu4c/source/common/
Dunifiedcache.h134 class LocaleCacheKey : public CacheKey<T> {
138 LocaleCacheKey(const Locale &loc) : fLoc(loc) {}; in LocaleCacheKey() function
139 LocaleCacheKey(const LocaleCacheKey<T> &other) in LocaleCacheKey() function
141 virtual ~LocaleCacheKey() { } in ~LocaleCacheKey()
155 const LocaleCacheKey<T> *fOther =
156 static_cast<const LocaleCacheKey<T> *>(&other);
160 return new LocaleCacheKey<T>(*this); in clone()
272 cache->get(LocaleCacheKey<T>(loc), ptr, status); in getByLocale()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp60 const DateFmtBestPattern *LocaleCacheKey<DateFmtBestPattern>::createObject( in createObject()
66 class U_I18N_API DateFmtBestPatternKey : public LocaleCacheKey<DateFmtBestPattern> {
74 : LocaleCacheKey<DateFmtBestPattern>(loc), in DateFmtBestPatternKey()
77 LocaleCacheKey<DateFmtBestPattern>(other), in DateFmtBestPatternKey()
81 return 37 * LocaleCacheKey<DateFmtBestPattern>::hashCode() + fSkeleton.hashCode(); in hashCode()
88 if (!LocaleCacheKey<DateFmtBestPattern>::operator==(other)) { in operator ==()
Ducol_res.cpp135 LocaleCacheKey<CollationCacheEntry>::createObject(const void *creationContext, in createObject()
460 LocaleCacheKey<CollationCacheEntry> key(locale); in getCacheEntry()
Dreldatefmt.cpp620 const RelativeDateTimeCacheData *LocaleCacheKey<RelativeDateTimeCacheData>::createObject(const void… in createObject()
Dmeasfmt.cpp466 const MeasureFormatCacheData *LocaleCacheKey<MeasureFormatCacheData>::createObject( in createObject()
Dnumfmt.cpp1254 const SharedNumberFormat *LocaleCacheKey<SharedNumberFormat>::createObject( in createObject()
Dplurrule.cpp147 const SharedPluralRules *LocaleCacheKey<SharedPluralRules>::createObject( in createObject()
Ddtfmtsym.cpp171 LocaleCacheKey<SharedDateFormatSymbols>::createObject( in createObject()
Dcalendar.cpp209 const SharedCalendar *LocaleCacheKey<SharedCalendar>::createObject( in createObject()