Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlrucache.h25 class U_COMMON_API LRUCache : public UObject {
36 virtual ~LRUCache();
39 LRUCache(int32_t maxSize, UErrorCode &status);
60 LRUCache();
61 LRUCache(const LRUCache &other);
62 LRUCache &operator=(const LRUCache &other);
78 class U_COMMON_API SimpleLRUCache : public LRUCache {
84 LRUCache(maxSize, status), createFunc(cf) { in SimpleLRUCache()
Dlrucache.cpp21 LRUCache::CacheEntry::CacheEntry() in CacheEntry()
26 LRUCache::CacheEntry::~CacheEntry() { in ~CacheEntry()
30 void LRUCache::CacheEntry::unlink() { in unlink()
41 void LRUCache::CacheEntry::reset() { in reset()
48 void LRUCache::CacheEntry::init( in init()
56 void LRUCache::moveToMostRecent(CacheEntry *entry) { in moveToMostRecent()
67 void LRUCache::init(char *adoptedLocId, CacheEntry *entry) { in init()
73 UBool LRUCache::contains(const char *localeId) const { in contains()
78 const SharedObject *LRUCache::_get(const char *localeId, UErrorCode &status) { in _get()
130 LRUCache::LRUCache(int32_t size, UErrorCode &status) : in LRUCache() function in LRUCache
[all …]
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache.cc135 class LRUCache { class
137 LRUCache();
138 ~LRUCache();
170 LRUCache::LRUCache() in LRUCache() function in leveldb::__anonf1bb7bc30111::LRUCache
177 LRUCache::~LRUCache() { in ~LRUCache()
186 void LRUCache::Unref(LRUHandle* e) { in Unref()
196 void LRUCache::LRU_Remove(LRUHandle* e) { in LRU_Remove()
201 void LRUCache::LRU_Append(LRUHandle* e) { in LRU_Append()
209 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()
220 void LRUCache::Release(Cache::Handle* handle) { in Release()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DRegexCache.java29 private LRUCache<String, Pattern> cache;
32 cache = new LRUCache<String, Pattern>(size); in RegexCache()
49 private static class LRUCache<K, V> { class in RegexCache
55 public LRUCache(int size) { in LRUCache() method in RegexCache.LRUCache
60 return size() > LRUCache.this.size; in LRUCache()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java34 private final LRUCache<String, String> cache;
38 cache = new LRUCache<String, String>(capacity); in LoadPathToFileCache()
114 static class LRUCache<K, V> extends LinkedHashMap<K, V> { class in LoadPathToFileCache
118 LRUCache(int capacity) { in LRUCache() method in LoadPathToFileCache.LRUCache
/external/icu/icu4c/source/test/intltest/
Dlrucachetest.cpp38 class LRUCacheForTesting : public LRUCache {
54 LRUCache(maxSize, status), defaultFormatStr() { in LRUCacheForTesting()
/external/chromium_org/third_party/jinja2/
Dutils.py294 class LRUCache(object): class
474 MutableMapping.register(LRUCache)
Denvironment.py28 from jinja2.utils import import_string, LRUCache, Markup, missing, \
37 _spontaneous_environments = LRUCache(10)
66 return LRUCache(size)
75 return LRUCache(cache.capacity)
Dlexer.py22 from jinja2.utils import LRUCache
29 _lexer_cache = LRUCache(50)
/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp36 static icu::LRUCache *gCache = NULL;
Dmeasfmt.cpp41 static icu::LRUCache *gCache = NULL;
Dnumfmt.cpp149 static icu::LRUCache *gNumberFormatCache = NULL;
Dplurrule.cpp37 static icu::LRUCache *gPluralRulesCache = NULL;