Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DInterferenceCache.h172 Entry *CacheEntry; variable
180 if (CacheEntry) in setEntry()
181 CacheEntry->addRef(-1); in setEntry()
182 CacheEntry = E; in setEntry()
183 if (CacheEntry) in setEntry()
184 CacheEntry->addRef(+1); in setEntry()
189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} in Cursor()
192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { in Cursor()
193 setEntry(O.CacheEntry); in Cursor()
197 setEntry(O.CacheEntry);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java14 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
22 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
29 CacheEntry<K, V> entry = _map.get(key); in get()
41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
59 CacheEntry<K, V> entry; in cleanStaleEntries()
60 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
71 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
74 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java14 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
22 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
29 CacheEntry<K, V> entry = _map.get(key); in get()
41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
59 CacheEntry<K, V> entry; in cleanStaleEntries()
60 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
71 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
74 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleObjectCache.java18 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
26 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
33 CacheEntry<K, V> entry = _map.get(key); in get()
45 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
63 CacheEntry<K, V> entry; in cleanStaleEntries()
64 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
75 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
78 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/external/v8/src/
Dunicode.h36 class CacheEntry {
38 inline CacheEntry() in CacheEntry() function
40 inline CacheEntry(uchar code_point, bool value) in CacheEntry() function
55 CacheEntry entries_[kSize];
71 struct CacheEntry { struct
72 inline CacheEntry() : code_point_(kNoChar), offset_(0) { } in CacheEntry() function
73 inline CacheEntry(uchar code_point, signed offset) in CacheEntry() function
82 CacheEntry entries_[kSize]; argument
Dunicode-inl.h15 CacheEntry entry = entries_[code_point & kMask]; in get()
23 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
29 CacheEntry entry = entries_[c & kMask]; in get()
48 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
51 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
/external/emma/core/java12/com/vladium/emma/report/
DSourcePathCache.java88 CacheEntry entry = (CacheEntry) m_packageCache.get (packageVMName); in find()
92 entry = new CacheEntry (m_sourcepath.length); in find()
125 private static final class CacheEntry class in SourcePathCache
127 CacheEntry (final int size) in CacheEntry() method in SourcePathCache.CacheEntry
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java394 CacheEntry result = null; in getKey()
402 Map<String, CacheEntry> cache = null; in getKey()
403 … SoftReference<Map<String, CacheEntry>> cref = cacheref; // copy so we don't need to sync on this in getKey()
412 cache = Collections.synchronizedMap(new HashMap<String, CacheEntry>()); in getKey()
414 cref = new SoftReference<Map<String, CacheEntry>>(cache); in getKey()
463 result = new CacheEntry(currentDescriptor, service); in getKey()
524 private SoftReference<Map<String, CacheEntry>> cacheref;
528 private static final class CacheEntry { class in ICUService
531 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java396 CacheEntry result = null; in getKey()
404 Map<String, CacheEntry> cache = null; in getKey()
405 … SoftReference<Map<String, CacheEntry>> cref = cacheref; // copy so we don't need to sync on this in getKey()
414 cache = Collections.synchronizedMap(new HashMap<String, CacheEntry>()); in getKey()
416 cref = new SoftReference<Map<String, CacheEntry>>(cache); in getKey()
465 result = new CacheEntry(currentDescriptor, service); in getKey()
526 private SoftReference<Map<String, CacheEntry>> cacheref;
530 private static final class CacheEntry { class in ICUService
533 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/external/icu/icu4c/source/common/
Dserv.cpp203 class CacheEntry : public UMemory { class
214 ~CacheEntry() { in ~CacheEntry()
218 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) in CacheEntry() function in CacheEntry
228 CacheEntry* ref() { in ref()
240 CacheEntry* unref() { in unref()
261 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); in cacheDeleter()
439 CacheEntry* result = NULL; in getKey()
490 result = (CacheEntry*)serviceCache->get(currentDescriptor); in getKey()
509 result = new CacheEntry(currentDescriptor, service); in getKey()
/external/clang/lib/Lex/
DHeaderSearch.cpp413 HeaderSearch::FrameworkCacheEntry &CacheEntry = in DoFrameworkLookup() local
417 if (CacheEntry.Directory && CacheEntry.Directory != getFrameworkDir()) in DoFrameworkLookup()
436 if (!CacheEntry.Directory) { in DoFrameworkLookup()
445 CacheEntry.Directory = getFrameworkDir(); in DoFrameworkLookup()
453 CacheEntry.IsUserSpecifiedSystemFramework = true; in DoFrameworkLookup()
459 InUserSpecifiedSystemFramework = CacheEntry.IsUserSpecifiedSystemFramework; in DoFrameworkLookup()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1553 const Decl *&CacheEntry = FirstLocalDeclCache[Canon]; in getFirstLocalDecl() local
1554 if (CacheEntry) in getFirstLocalDecl()
1555 return CacheEntry; in getFirstLocalDecl()
1560 return CacheEntry = D; in getFirstLocalDecl()
/external/clang/lib/Sema/
DSemaExprCXX.cpp6629 auto &CacheEntry = TransformCache[E]; in TransformTypoExpr() local
6630 if (!TypoExprs.insert(E) && !CacheEntry.isUnset()) { in TransformTypoExpr()
6631 return CacheEntry; in TransformTypoExpr()
6658 return CacheEntry = NE; in TransformTypoExpr()
6661 return CacheEntry = ExprError(); in TransformTypoExpr()