Home
last modified time | relevance | path

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

12

/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/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/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/llvm-project/libunwind/src/
DFrameHeaderCache.hpp33 struct CacheEntry { struct in FrameHeaderCache
37 CacheEntry *Next; argument
50 CacheEntry Entries[kCacheEntryCount];
51 CacheEntry *MostRecentlyUsed;
52 CacheEntry *Unused;
93 CacheEntry *Current = MostRecentlyUsed; in find()
94 CacheEntry *Previous = nullptr; in find()
123 CacheEntry *Current = nullptr; in add()
130 CacheEntry *Previous = nullptr; in add()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterferenceCache.h181 Entry *CacheEntry = nullptr; variable
189 if (CacheEntry) in setEntry()
190 CacheEntry->addRef(-1); in setEntry()
191 CacheEntry = E; in setEntry()
192 if (CacheEntry) in setEntry()
193 CacheEntry->addRef(+1); in setEntry()
201 setEntry(O.CacheEntry); in Cursor()
205 setEntry(O.CacheEntry);
222 Current = CacheEntry ? CacheEntry->get(MBBNum) : &NoInterference; in moveToBlock()
/external/llvm-project/llvm/lib/CodeGen/
DInterferenceCache.h177 Entry *CacheEntry = nullptr; variable
185 if (CacheEntry) in setEntry()
186 CacheEntry->addRef(-1); in setEntry()
187 CacheEntry = E; in setEntry()
188 if (CacheEntry) in setEntry()
189 CacheEntry->addRef(+1); in setEntry()
197 setEntry(O.CacheEntry); in Cursor()
201 setEntry(O.CacheEntry);
218 Current = CacheEntry ? CacheEntry->get(MBBNum) : &NoInterference; in moveToBlock()
/external/guava/guava/src/com/google/common/graph/
DMapRetrievalCache.java30 private transient volatile @Nullable CacheEntry<K, V> cacheEntry1;
31 private transient volatile @Nullable CacheEntry<K, V> cacheEntry2;
63 CacheEntry<K, V> entry; in getIfCached()
88 addToCache(new CacheEntry<K, V>(key, value)); in addToCache()
91 private void addToCache(CacheEntry<K, V> entry) { in addToCache()
97 private static final class CacheEntry<K, V> { class in MapRetrievalCache
101 CacheEntry(K key, V value) { in CacheEntry() method in MapRetrievalCache.CacheEntry
/external/guava/android/guava/src/com/google/common/graph/
DMapRetrievalCache.java30 @NullableDecl private transient volatile CacheEntry<K, V> cacheEntry1;
31 @NullableDecl private transient volatile CacheEntry<K, V> cacheEntry2;
63 CacheEntry<K, V> entry; in getIfCached()
88 addToCache(new CacheEntry<K, V>(key, value)); in addToCache()
91 private void addToCache(CacheEntry<K, V> entry) { in addToCache()
97 private static final class CacheEntry<K, V> { class in MapRetrievalCache
101 CacheEntry(K key, V value) { in CacheEntry() method in MapRetrievalCache.CacheEntry
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_rpc_support.h36 struct CacheEntry { struct
37 CacheEntry() : size(0), last_use(-1) {} in CacheEntry() argument
38 virtual ~CacheEntry() { in ~CacheEntry() argument
58 explicit CacheWrapper(std::shared_ptr<CacheEntry> entry) in CacheWrapper() argument
77 std::shared_ptr<CacheEntry> cache_entry_;
88 std::shared_ptr<CacheEntry>* cache_entry);
Dtpu_compilation_cache_rpc_lookup.h58 std::shared_ptr<CacheEntry>* cache_entry)
65 std::shared_ptr<CacheEntry>* cache_entry,
67 std::vector<std::shared_ptr<CacheEntry>>* removed_entries)
87 std::unordered_map<std::string, std::shared_ptr<CacheEntry>> cache_
90 std::map<int64, CacheEntry*> entries_by_last_use_ ABSL_GUARDED_BY(mu_);
Dtpu_compilation_cache_rpc_lookup.cc70 std::shared_ptr<CacheEntry> cache_entry; in Lookup()
73 std::vector<std::shared_ptr<CacheEntry>> removed_entries; in Lookup()
105 std::shared_ptr<CacheEntry> cache_entry; in Lookup()
108 std::vector<std::shared_ptr<CacheEntry>> removed_entries; in Lookup()
146 std::shared_ptr<CacheEntry>* cache_entry) { in RemoteLookupLocked()
171 std::shared_ptr<CacheEntry>* cache_entry, in PostLookupLocked()
173 std::vector<std::shared_ptr<CacheEntry>>* removed_entries) { in PostLookupLocked()
Dtpu_compilation_cache_rpc_support.cc37 std::shared_ptr<CacheEntry>* cache_entry) { in DeserializeRpcResponseToCacheEntry()
40 *cache_entry = std::make_shared<CacheEntry>(); in DeserializeRpcResponseToCacheEntry()
41 CacheEntry& entry = **cache_entry; in DeserializeRpcResponseToCacheEntry()
/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/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp169 CachedFileSystemEntry &CacheEntry = SharedCacheEntry.Value; in getOrCreateFileSystemEntry() local
171 if (!CacheEntry.isValid()) { in getOrCreateFileSystemEntry()
182 CacheEntry = CachedFileSystemEntry(MaybeStatus.getError()); in getOrCreateFileSystemEntry()
184 CacheEntry = CachedFileSystemEntry::createDirectoryEntry( in getOrCreateFileSystemEntry()
187 CacheEntry = CachedFileSystemEntry::createFileEntry( in getOrCreateFileSystemEntry()
191 Result = &CacheEntry; in getOrCreateFileSystemEntry()
/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/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h60 typedef MutableArrayRef<uint8_t> CacheEntry; typedef
62 mutable DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap;
/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/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/angle/src/libANGLE/
DBlobCache.cpp133 CacheEntry newEntry; in populate()
183 const CacheEntry *entry; in get()
213 const CacheEntry *valueBuf; in getAt()
DBlobCache.h152 using CacheEntry = std::pair<angle::MemoryBuffer, CacheSource>;
155 angle::SizedMRUCache<BlobCache::Key, CacheEntry> mBlobCache;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DLazyRandomTypeCollection.h53 struct CacheEntry { struct
103 std::vector<CacheEntry> Records;
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DLazyRandomTypeCollection.h52 struct CacheEntry { struct
103 std::vector<CacheEntry> Records;
/external/llvm-project/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h92 using CacheEntry = MutableArrayRef<uint8_t>; variable
102 DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h94 using CacheEntry = MutableArrayRef<uint8_t>; variable
104 DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap;

12