Home
last modified time | relevance | path

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

/external/xz-java/src/org/tukaani/xz/
DBasicArrayCache.java107 private static class CacheMap<T> class in BasicArrayCache
118 public CacheMap() { in CacheMap() method in BasicArrayCache.CacheMap
161 private final CacheMap<byte[]> byteArrayCache = new CacheMap<byte[]>();
166 private final CacheMap<int[]> intArrayCache = new CacheMap<int[]>();
172 private static <T> T getArray(CacheMap<T> cache, int size) { in getArray()
204 private static <T> void putArray(CacheMap<T> cache, T array, int size) { in putArray()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DBasicLruCache.java28 private static class CacheMap<K, V> extends LinkedHashMap<K, V> { class in BasicLruCache
32 private CacheMap(int maxSize) { in CacheMap() method in BasicLruCache.CacheMap
43 private final CacheMap<K, V> map;
49 this.map = new CacheMap<K, V>(maxSize); in BasicLruCache()
/external/crosvm/disk/src/qcow/
Dvec_cache.rs87 pub struct CacheMap<T: Cacheable> { struct
92 impl<T: Cacheable> CacheMap<T> { implementation
94 CacheMap { in new()
148 let mut cache = CacheMap::<NumCache>::new(3); in evicts_when_full()
Drefcount.rs11 use crate::qcow::vec_cache::{CacheMap, Cacheable, VecCache};
54 refblock_cache: CacheMap<VecCache<u16>>,
82 refblock_cache: CacheMap::new(50), in new()
Dmod.rs26 use crate::qcow::vec_cache::{CacheMap, Cacheable, VecCache};
410 l2_cache: CacheMap<VecCache<u64>>,
554 l2_cache: CacheMap::new(100), in from()
/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp53 auto CacheIter = CacheMap.find(Offset); in readBytes()
54 if (CacheIter != CacheMap.end()) { in readBytes()
67 for (auto &CacheItem : CacheMap) { in readBytes()
111 if (CacheIter != CacheMap.end()) { in readBytes()
116 CacheMap.insert(std::make_pair(Offset, List)); in readBytes()
260 for (const auto &MapEntry : CacheMap) { in writeBytes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp97 auto CacheIter = CacheMap.find(Offset); in readBytes()
98 if (CacheIter != CacheMap.end()) { in readBytes()
111 for (auto &CacheItem : CacheMap) { in readBytes()
155 if (CacheIter != CacheMap.end()) { in readBytes()
160 CacheMap.insert(std::make_pair(Offset, List)); in readBytes()
272 void MappedBlockStream::invalidateCache() { CacheMap.shrink_and_clear(); } in invalidateCache()
280 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite()
/external/llvm-project/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp97 auto CacheIter = CacheMap.find(Offset); in readBytes()
98 if (CacheIter != CacheMap.end()) { in readBytes()
111 for (auto &CacheItem : CacheMap) { in readBytes()
155 if (CacheIter != CacheMap.end()) { in readBytes()
160 CacheMap.insert(std::make_pair(Offset, List)); in readBytes()
272 void MappedBlockStream::invalidateCache() { CacheMap.shrink_and_clear(); } in invalidateCache()
280 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite()
/external/llvm-project/lldb/include/lldb/DataFormatters/
DFormatCache.h48 typedef std::map<ConstString, Entry> CacheMap; typedef
49 CacheMap m_map;
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp664 CacheMapTy::iterator CacheIt = CacheMap.find(SeenVal); in compute()
666 if (CacheIt != CacheMap.end() && anyKnown(CacheIt->second)) in compute()
667 CacheMap.erase(CacheIt); in compute()
685 CacheMapTy::iterator CacheIt = CacheMap.find(V); in compute_()
686 if (CacheIt != CacheMap.end()) in compute_()
721 CacheMap[V] = Result; in compute_()
805 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp848 CacheMapTy::iterator CacheIt = CacheMap.find(SeenVal); in compute()
850 if (CacheIt != CacheMap.end() && anyKnown(CacheIt->second)) in compute()
851 CacheMap.erase(CacheIt); in compute()
876 CacheMapTy::iterator CacheIt = CacheMap.find(V); in compute_()
877 if (CacheIt != CacheMap.end()) in compute_()
913 CacheMap[V] = Result; in compute_()
996 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
/external/llvm-project/llvm/lib/Analysis/
DMemoryBuiltins.cpp873 CacheMapTy::iterator CacheIt = CacheMap.find(SeenVal); in compute()
875 if (CacheIt != CacheMap.end() && anyKnown(CacheIt->second)) in compute()
876 CacheMap.erase(CacheIt); in compute()
901 CacheMapTy::iterator CacheIt = CacheMap.find(V); in compute_()
902 if (CacheIt != CacheMap.end()) in compute_()
938 CacheMap[V] = Result; in compute_()
1021 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h62 mutable DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap; variable
/external/llvm-project/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h102 DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h104 DenseMap<uint32_t, std::vector<CacheEntry>> CacheMap; variable
/external/llvm/include/llvm/Analysis/
DMemoryBuiltins.h222 CacheMapTy CacheMap; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryBuiltins.h297 CacheMapTy CacheMap; variable
/external/llvm-project/llvm/include/llvm/Analysis/
DMemoryBuiltins.h303 CacheMapTy CacheMap; variable