Home
last modified time | relevance | path

Searched refs:CacheEntry (Results 1 – 24 of 24) 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/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/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/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DCachedSubchannelPool.java37 private final HashMap<EquivalentAddressGroup, CacheEntry> cache =
38 new HashMap<EquivalentAddressGroup, CacheEntry>();
55 CacheEntry entry = cache.remove(eag); in takeOrCreateSubchannel()
68 CacheEntry prev = cache.get(subchannel.getAddresses()); in returnSubchannel()
84 CacheEntry entry = new CacheEntry(subchannel, shutdownTimer); in returnSubchannel()
90 for (CacheEntry entry : cache.values()) { in clear()
126 CacheEntry entry = cache.remove(subchannel.getAddresses()); in run()
133 private static class CacheEntry { class in CachedSubchannelPool
137 CacheEntry(Subchannel subchannel, ScheduledFuture<?> shutdownTimer) { in CacheEntry() method in CachedSubchannelPool.CacheEntry
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterferenceCache.h182 Entry *CacheEntry = nullptr; variable
190 if (CacheEntry) in setEntry()
191 CacheEntry->addRef(-1); in setEntry()
192 CacheEntry = E; in setEntry()
193 if (CacheEntry) in setEntry()
194 CacheEntry->addRef(+1); in setEntry()
202 setEntry(O.CacheEntry); in Cursor()
206 setEntry(O.CacheEntry);
223 Current = CacheEntry ? CacheEntry->get(MBBNum) : &NoInterference; in moveToBlock()
/external/v8/src/
Dunicode.h37 class CacheEntry {
39 inline CacheEntry() in CacheEntry() function
41 inline CacheEntry(uchar code_point, bool value) in CacheEntry() function
60 CacheEntry entries_[kSize];
76 struct CacheEntry { struct
77 inline CacheEntry() : code_point_(kNoChar), offset_(0) { } in CacheEntry() argument
78 inline CacheEntry(uchar code_point, signed offset) in CacheEntry() argument
87 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.java405 CacheEntry result = null; in getKey()
413 Map<String, CacheEntry> cache = this.cache; // copy so we don't need to sync on this in getKey()
418 cache = new ConcurrentHashMap<String, CacheEntry>(); in getKey()
467 result = new CacheEntry(currentDescriptor, service); in getKey()
528 private Map<String, CacheEntry> cache;
532 private static final class CacheEntry { class in ICUService
535 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DLazyRandomTypeCollection.h54 struct CacheEntry { struct
104 std::vector<CacheEntry> Records;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h95 using CacheEntry = MutableArrayRef<uint8_t>; variable
105 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/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp993 ModuleCacheEntry CacheEntry(CacheOptions.Path, *Index, ModuleIdentifier, in run() local
998 auto CacheEntryPath = CacheEntry.getEntryPath(); in run()
1001 auto ErrOrBuffer = CacheEntry.tryLoadingBuffer(); in run()
1046 CacheEntry.write(*OutputBuffer); in run()
1057 auto ReloadedBufferOrErr = CacheEntry.tryLoadingBuffer(); in run()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp159 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.txt281 com/ibm/icu/impl/locale/LocaleObjectCache$CacheEntry#getKey:()Ljava/lang/Object;