Searched refs:kCacheSize (Results 1 – 5 of 5) sorted by relevance
/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 | partition_writer.cc | 49 constexpr uint64_t kCacheSize = 1024 * 1024; // 1MB variable 99 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()
|
/system/unwinding/libunwindstack/ |
D | MemoryCache.h | 54 constexpr static size_t kCacheSize = 1 << kCacheBits; variable 56 using CacheDataType = std::unordered_map<uint64_t, uint8_t[kCacheSize]>;
|
D | Memory.cpp | 482 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in InternalCachedRead() 505 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in InternalCachedRead()
|
/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()
|