Searched refs:kCacheSize (Results 1 – 5 of 5) sorted by relevance
/system/core/libunwindstack/ |
D | MemoryCache.h | 43 constexpr static size_t kCacheSize = 1 << kCacheBits; variable 44 std::unordered_map<uint64_t, uint8_t[kCacheSize]> cache_;
|
D | Memory.cpp | 465 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read() 488 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read()
|
/system/update_engine/payload_consumer/ |
D | cached_file_descriptor_unittest.cc | 38 const size_t kCacheSize = 100; variable 46 cfd_.reset(new CachedFileDescriptor(fd_, kCacheSize)); in Open() 161 std::fill_n(&blob_in[seek], kCacheSize, value_); in TEST_F() 164 Write(&blob_in[seek], kCacheSize); in TEST_F() 173 size_t less_than_cache_size = kCacheSize - 1; in TEST_F() 189 size_t less_than_cache_size = kCacheSize - 3; in TEST_F()
|
D | delta_performer.cc | 80 const uint64_t kCacheSize = 1024 * 1024; // 1MB variable 95 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()
|
/system/core/libutils/ |
D | LruCache_test.cpp | 216 const size_t kCacheSize = 512; in TEST_F() local 240 size_t expectedHitCount = kNumIters * kCacheSize / kNumKeys; in TEST_F() 243 EXPECT_EQ(kCacheSize, cache.size()); in TEST_F()
|