Searched refs:cache_ (Results 1 – 6 of 6) sorted by relevance
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()88 GetFd()->Write(cache_.data() + begin, bytes_cached_ - begin); in FlushCache()
34 explicit CachedFileDescriptorBase(size_t cache_size) : cache_(cache_size) {} in CachedFileDescriptorBase()67 brillo::Blob cache_; variable
45 std::unordered_map<std::string, std::unordered_map<uint64_t, std::shared_ptr<Elf>>>* Elf::cache_; member in unwindstack::Elf351 cache_ = in SetCachingEnabled()356 delete cache_; in SetCachingEnabled()373 (*cache_)[std::string(info->name())].emplace(info->elf_start_offset(), info->elf()); in CacheAdd()377 auto name_entry = cache_->find(std::string(info->name())); in CacheGet()378 if (name_entry == cache_->end()) { in CacheGet()
74 CacheDataType cache_;
533 cache_.clear(); in Clear()541 return InternalCachedRead(addr, dst, size, &cache_); in CachedRead()
130 cache_; variable