Lines Matching defs:disk_cache
5 #include "net/disk_cache/sparse_control.h"
15 #include "net/disk_cache/backend_impl.h"
16 #include "net/disk_cache/entry_impl.h"
17 #include "net/disk_cache/file.h"
18 #include "net/disk_cache/net_log_parameters.h"
53 public disk_cache::FileIOCallback {
55 ChildrenDeleter(disk_cache::BackendImpl* backend, const std::string& name)
63 void ReadData(disk_cache::Addr address, int len);
71 base::WeakPtr<disk_cache::BackendImpl> backend_;
73 disk_cache::Bitmap children_map_;
87 if (len < static_cast<int>(sizeof(disk_cache::SparseData)))
92 disk_cache::SparseData* data =
93 reinterpret_cast<disk_cache::SparseData*>(buffer);
96 int num_bits = (len - sizeof(disk_cache::SparseHeader)) * 8;
104 void ChildrenDeleter::ReadData(disk_cache::Addr address, int len) {
109 disk_cache::File* file(backend_->File(address));
114 disk_cache::kBlockHeaderSize;
144 disk_cache::SparseControl::SparseOperation operation) {
146 case disk_cache::SparseControl::kReadOperation:
148 case disk_cache::SparseControl::kWriteOperation:
150 case disk_cache::SparseControl::kGetRangeOperation:
161 disk_cache::SparseControl::SparseOperation operation,
166 case disk_cache::SparseControl::kReadOperation:
169 case disk_cache::SparseControl::kWriteOperation:
172 case disk_cache::SparseControl::kGetRangeOperation:
184 namespace disk_cache {
855 } // namespace disk_cache