Searched refs:MemEntryImpl (Results 1 – 5 of 5) sorted by relevance
/external/cronet/net/disk_cache/memory/ |
D | mem_entry_impl.cc | 60 base::Value::Dict NetLogEntryCreationParams(const MemEntryImpl* entry) { in NetLogEntryCreationParams() 64 case MemEntryImpl::EntryType::kParent: in NetLogEntryCreationParams() 67 case MemEntryImpl::EntryType::kChild: in NetLogEntryCreationParams() 78 MemEntryImpl::MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, in MemEntryImpl() function in disk_cache::MemEntryImpl 81 : MemEntryImpl(backend, in MemEntryImpl() 92 MemEntryImpl::MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, in MemEntryImpl() function in disk_cache::MemEntryImpl 94 MemEntryImpl* parent, in MemEntryImpl() 96 : MemEntryImpl(backend, in MemEntryImpl() 104 void MemEntryImpl::Open() { in Open() 112 bool MemEntryImpl::InUse() const { in InUse() [all …]
|
D | mem_entry_impl.h | 61 class NET_EXPORT_PRIVATE MemEntryImpl final 63 public base::LinkNode<MemEntryImpl> { 77 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 82 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 84 MemEntryImpl* parent, 87 MemEntryImpl(const MemEntryImpl&) = delete; 88 MemEntryImpl& operator=(const MemEntryImpl&) = delete; 97 const MemEntryImpl* parent() const { return parent_; } in parent() 143 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 146 MemEntryImpl* parent, [all …]
|
D | mem_backend_impl.cc | 33 base::LinkNode<MemEntryImpl>* NextSkippingChildren( in NextSkippingChildren() 34 const base::LinkedList<MemEntryImpl>& lru_list, in NextSkippingChildren() 35 base::LinkNode<MemEntryImpl>* node) { in NextSkippingChildren() 36 MemEntryImpl* cur = node->value(); in NextSkippingChildren() 113 void MemBackendImpl::OnEntryInserted(MemEntryImpl* entry) { in OnEntryInserted() 117 void MemBackendImpl::OnEntryUpdated(MemEntryImpl* entry) { in OnEntryUpdated() 123 void MemBackendImpl::OnEntryDoomed(MemEntryImpl* entry) { in OnEntryDoomed() 124 if (entry->type() == MemEntryImpl::EntryType::kParent) in OnEntryDoomed() 193 MemEntryImpl* cache_entry = in CreateEntry() 194 new MemEntryImpl(weak_factory_.GetWeakPtr(), key, net_log_); in CreateEntry() [all …]
|
D | mem_backend_impl.h | 71 void OnEntryInserted(MemEntryImpl* entry); 75 void OnEntryUpdated(MemEntryImpl* entry); 80 void OnEntryDoomed(MemEntryImpl* entry); 131 using EntryMap = std::unordered_map<std::string, MemEntryImpl*>; 149 base::LinkedList<MemEntryImpl> lru_list_;
|
/external/cronet/net/disk_cache/ |
D | entry_unittest.cc | 1604 disk_cache::MemEntryImpl* mem_entry = in TEST_F() 1605 reinterpret_cast<disk_cache::MemEntryImpl*>(entry); in TEST_F() 1606 EXPECT_EQ(disk_cache::MemEntryImpl::EntryType::kParent, mem_entry->type()); in TEST_F()
|