Home
last modified time | relevance | path

Searched refs:UnifiedCache (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/common/
Dunifiedcache.cpp20 static icu::UnifiedCache *gCache = NULL;
79 gCache = new UnifiedCache(status); in cacheInit()
95 UnifiedCache *UnifiedCache::getInstance(UErrorCode &status) { in getInstance()
104 UnifiedCache::UnifiedCache(UErrorCode &status) : in UnifiedCache() function in UnifiedCache
126 void UnifiedCache::setEvictionPolicy( in setEvictionPolicy()
140 int32_t UnifiedCache::unusedCount() const { in unusedCount()
145 int64_t UnifiedCache::autoEvictedCount() const { in autoEvictedCount()
150 int32_t UnifiedCache::keyCount() const { in keyCount()
155 void UnifiedCache::flush() const { in flush()
167 void UnifiedCache::dump() { in dump()
[all …]
Dunifiedcache.h30 class UnifiedCache; variable
92 friend class UnifiedCache; variable
183 class U_COMMON_API UnifiedCache : public UnifiedCacheBase {
190 UnifiedCache(UErrorCode &status);
195 static UnifiedCache *getInstance(UErrorCode &status);
270 const UnifiedCache *cache = getInstance(status); in getByLocale()
347 virtual ~UnifiedCache();
355 UnifiedCache(const UnifiedCache &other);
356 UnifiedCache &operator=(const UnifiedCache &other);
/external/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp37 const UnifiedCache *cacheContext = (const UnifiedCache *) context; in createObject()
45 UnifiedCache::getByLocale(fLoc.getLanguage(), item, status); in createObject()
98 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestEvictionUnderStress()
117 UnifiedCache::getInstance(status); in TestEvictionPolicy()
122 UnifiedCache cache(status); in TestEvictionPolicy()
178 UnifiedCache::getInstance(status); in TestBounded()
183 UnifiedCache cache(status); in TestBounded()
299 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestBasic()
354 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestError()
Dtsmthred.cpp1356 const UnifiedCache *cacheContext = (const UnifiedCache *) context; in createObject()
1361 UnifiedCache::getByLocale(fLoc.getLanguage(), result, status); in createObject()
1409 const UnifiedCache *cache, in UnifiedCacheThread()
1415 const UnifiedCache *fCache;
1466 UnifiedCache::getInstance(status); in TestUnifiedCache()
1467 UnifiedCache cache(status); in TestUnifiedCache()
/external/icu/icu4c/source/i18n/
Ducol_imp.h66 class UnifiedCache; variable
120 const UnifiedCache *cache;
Ddatefmt.cpp434 UnifiedCache *cache = UnifiedCache::getInstance(status); in getBestPattern()
Ducol_res.cpp169 : cache(UnifiedCache::getInstance(errorCode)), rootEntry(re), in CollationLoader()
Dreldatefmt.cpp973 UnifiedCache::getByLocale(fLocale, fCache, status); in init()
Dnumfmt.cpp1285 UnifiedCache::getByLocale(loc, result, status); in createSharedInstance()
Dmeasfmt.cpp871 UnifiedCache::getByLocale(locale, cache, status); in initMeasureFormat()
Dcalendar.cpp972 UnifiedCache::getByLocale(aLocale, shared, success); in createInstance()
1011 UnifiedCache::getByLocale(aLocale, shared, success); in getCalendarTypeFromLocale()
Dplurrule.cpp180 UnifiedCache::getByLocale(locale, result, status); in createSharedInstance()
Ddtfmtsym.cpp251 UnifiedCache::getByLocale(locale, shared, status); in createForLocale()