Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DInterferenceCache.h139 Entry *CacheEntry; variable
147 if (CacheEntry) in setEntry()
148 CacheEntry->addRef(-1); in setEntry()
149 CacheEntry = E; in setEntry()
150 if (CacheEntry) in setEntry()
151 CacheEntry->addRef(+1); in setEntry()
156 Cursor() : CacheEntry(0), Current(0) {} in Cursor()
159 Cursor(const Cursor &O) : CacheEntry(0), Current(0) { in Cursor()
160 setEntry(O.CacheEntry); in Cursor()
164 setEntry(O.CacheEntry);
[all …]
/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/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
24 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
31 CacheEntry<K, V> entry = _map.get(key); in get()
43 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
61 CacheEntry<K, V> entry; in cleanStaleEntries()
62 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
73 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
76 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.java20 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
28 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
35 CacheEntry<K, V> entry = _map.get(key); in get()
47 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
65 CacheEntry<K, V> entry; in cleanStaleEntries()
66 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
77 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
80 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java16 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
24 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
31 CacheEntry<K, V> entry = _map.get(key); in get()
43 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue); in get()
61 CacheEntry<K, V> entry; in cleanStaleEntries()
62 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) { in cleanStaleEntries()
73 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache
76 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/icu4c/source/common/
Dserv.cpp205 class CacheEntry : public UMemory { class
216 ~CacheEntry() { in ~CacheEntry()
220 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service) in CacheEntry() function in CacheEntry
230 CacheEntry* ref() { in ref()
242 CacheEntry* unref() { in unref()
263 U_NAMESPACE_USE ((CacheEntry*)obj)->unref(); in cacheDeleter()
441 CacheEntry* result = NULL; in getKey()
492 result = (CacheEntry*)serviceCache->get(currentDescriptor); in getKey()
511 result = new CacheEntry(currentDescriptor, service); in getKey()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java400 CacheEntry result = null; in getKey()
408 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this in getKey()
413 cache = new ConcurrentHashMap<String, CacheEntry>(); in getKey()
462 result = new CacheEntry(currentDescriptor, service); in getKey()
523 private Map<String, CacheEntry> cache;
527 private static final class CacheEntry { class in ICUService
530 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java402 CacheEntry result = null; in getKey()
410 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this in getKey()
415 cache = new ConcurrentHashMap<String, CacheEntry>(); in getKey()
464 result = new CacheEntry(currentDescriptor, service); in getKey()
525 private Map<String, CacheEntry> cache;
529 private static final class CacheEntry { class in ICUService
532 CacheEntry(String actualDescriptor, Object service) { in CacheEntry() method in ICUService.CacheEntry
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h60 typedef MutableArrayRef<uint8_t> CacheEntry; typedef
62 mutable DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap;
/external/clang/lib/Lex/
DHeaderSearch.cpp414 HeaderSearch::FrameworkCacheEntry &CacheEntry = in DoFrameworkLookup() local
418 if (CacheEntry.Directory && CacheEntry.Directory != getFrameworkDir()) in DoFrameworkLookup()
437 if (!CacheEntry.Directory) { in DoFrameworkLookup()
446 CacheEntry.Directory = getFrameworkDir(); in DoFrameworkLookup()
454 CacheEntry.IsUserSpecifiedSystemFramework = true; in DoFrameworkLookup()
460 InUserSpecifiedSystemFramework = CacheEntry.IsUserSpecifiedSystemFramework; in DoFrameworkLookup()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp784 ModuleCacheEntry CacheEntry(CacheOptions.Path, *Index, ModuleIdentifier, in run() local
790 auto ErrOrBuffer = CacheEntry.tryLoadingBuffer(); in run()
792 << CacheEntry.getEntryPath() << "' for buffer " << count in run()
820 OutputBuffer = CacheEntry.write(std::move(OutputBuffer)); in run()
/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp114 std::vector<CacheEntry> List; in readBytes()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1571 const Decl *&CacheEntry = FirstLocalDeclCache[Canon]; in getFirstLocalDecl() local
1572 if (CacheEntry) in getFirstLocalDecl()
1573 return CacheEntry; in getFirstLocalDecl()
1578 return CacheEntry = D; in getFirstLocalDecl()
/external/clang/lib/Sema/
DSemaExprCXX.cpp6916 auto &CacheEntry = TransformCache[E]; in TransformTypoExpr() local
6917 if (!TypoExprs.insert(E) && !CacheEntry.isUnset()) { in TransformTypoExpr()
6918 return CacheEntry; in TransformTypoExpr()
6945 return CacheEntry = NE; in TransformTypoExpr()
6948 return CacheEntry = ExprError(); in TransformTypoExpr()
/external/icu/icu4j/
Dcoverage-exclusion.txt284 com/ibm/icu/impl/locale/LocaleObjectCache$CacheEntry#getKey:()Ljava/lang/Object;