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 | delta_performer.cc | 83 const uint64_t kCacheSize = 1024 * 1024; // 1MB variable 126 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()
|
/system/core/libunwindstack/include/unwindstack/ |
D | Memory.h | 70 constexpr static size_t kCacheSize = 1 << kCacheBits; variable 71 std::unordered_map<uint64_t, uint8_t[kCacheSize]> cache_;
|
/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()
|
/system/core/libunwindstack/ |
D | Memory.cpp | 422 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read() 445 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read()
|