Home
last modified time | relevance | path

Searched refs:kCacheSize (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_consumer/
Dcached_file_descriptor_unittest.cc38 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()
Ddelta_performer.cc83 const uint64_t kCacheSize = 1024 * 1024; // 1MB variable
126 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()
/system/core/libunwindstack/include/unwindstack/
DMemory.h70 constexpr static size_t kCacheSize = 1 << kCacheBits; variable
71 std::unordered_map<uint64_t, uint8_t[kCacheSize]> cache_;
/system/core/libutils/
DLruCache_test.cpp216 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/
DMemory.cpp422 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read()
445 if (!impl_->ReadFully(addr_page << kCacheBits, cache_dst, kCacheSize)) { in Read()