Searched refs:cache_ (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/payload_consumer/ |
D | cached_file_descriptor.cc | 56 std::min(count - total_bytes_wrote, cache_.size() - bytes_cached_); in Write() 58 memcpy(cache_.data() + bytes_cached_, in Write() 64 if (bytes_cached_ == cache_.size()) { in Write() 87 auto bytes_wrote = fd_->Write(cache_.data() + begin, bytes_cached_ - begin); in FlushCache()
|
D | cached_file_descriptor.h | 35 cache_.resize(cache_size); in CachedFileDescriptor() 67 brillo::Blob cache_; variable
|
/system/bt/gd/storage/ |
D | storage_module.cc | 91 …: config_save_alarm_(handler), cache_(std::move(cache)), memory_only_cache_(in_memory_cache_size_l… in impl() 93 ConfigCache cache_; member 100 return Mutation(&pimpl_->cache_, &pimpl_->memory_only_cache_); in Modify() 105 return &pimpl_->cache_; in GetConfigCache() 134 ASSERT(LegacyConfigFile::FromPath(config_file_path_).Write(pimpl_->cache_)); in SaveImmediately() 136 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately() 197 &pimpl_->cache_, in GetDeviceByLegacyKey() 206 &pimpl_->cache_, in GetDeviceByClassicMacAddress() 215 &pimpl_->cache_, in GetDeviceByLeIdentityAddress() 223 return AdapterConfig(&pimpl_->cache_, &pimpl_->memory_only_cache_, kAdapterSection); in GetAdapterConfig() [all …]
|
/system/core/libunwindstack/ |
D | Elf.cpp | 40 std::unordered_map<std::string, std::pair<std::shared_ptr<Elf>, bool>>* Elf::cache_; member in unwindstack::Elf 332 cache_ = new std::unordered_map<std::string, std::pair<std::shared_ptr<Elf>, bool>>; in SetCachingEnabled() 336 delete cache_; in SetCachingEnabled() 358 (*cache_)[info->name] = std::make_pair(info->elf, true); in CacheAdd() 364 (*cache_)[info->name + ':' + std::to_string(info->offset)] = in CacheAdd() 374 auto entry = cache_->find(info->name); in CacheAfterCreateMemory() 375 if (entry == cache_->end()) { in CacheAfterCreateMemory() 383 (*cache_)[info->name + ':' + std::to_string(info->offset)] = std::make_pair(info->elf, true); in CacheAfterCreateMemory() 392 auto entry = cache_->find(name); in CacheGet() 393 if (entry != cache_->end()) { in CacheGet()
|
D | MemoryCache.h | 38 void Clear() override { cache_.clear(); } in Clear() 44 std::unordered_map<uint64_t, uint8_t[kCacheSize]> cache_; variable
|
D | Memory.cpp | 459 auto entry = cache_.find(addr_page); in Read() 461 if (entry != cache_.end()) { in Read() 464 cache_dst = cache_[addr_page]; in Read() 467 cache_.erase(addr_page); in Read() 483 entry = cache_.find(addr_page); in Read() 484 if (entry != cache_.end()) { in Read() 487 cache_dst = cache_[addr_page]; in Read() 490 cache_.erase(addr_page); in Read()
|
/system/core/libunwindstack/include/unwindstack/ |
D | Elf.h | 132 static std::unordered_map<std::string, std::pair<std::shared_ptr<Elf>, bool>>* cache_; variable
|