Searched refs:block_files_ (Results 1 – 5 of 5) sorted by relevance
/external/cronet/net/disk_cache/blockfile/ |
D | block_files.cc | 274 block_files_.resize(kFirstAdditionalBlockFile); in Init() 294 DCHECK_GE(block_files_.size(), in GetFile() 301 if (static_cast<unsigned int>(file_index) >= block_files_.size() || in GetFile() 302 !block_files_[file_index]) { in GetFile() 307 DCHECK_GE(block_files_.size(), static_cast<unsigned int>(file_index)); in GetFile() 308 return block_files_[file_index].get(); in GetFile() 384 block_files_.clear(); in CloseFiles() 438 if (block_files_.size() - 1 < static_cast<unsigned int>(index)) { in OpenBlockFile() 440 int to_add = index - static_cast<int>(block_files_.size()) + 1; in OpenBlockFile() 441 block_files_.resize(block_files_.size() + to_add); in OpenBlockFile() [all …]
|
D | backend_impl.cc | 160 block_files_(path), in BackendImpl() 175 block_files_(path), in BackendImpl() 277 if (!block_files_.Init(create_files)) in SyncInit() 347 block_files_.CloseFiles(); in CleanupCache() 582 if (!block_files_.CreateBlock(BLOCK_256, num_blocks, &entry_address)) { in CreateEntryImpl() 589 if (!block_files_.CreateBlock(RANKINGS, 1, &node_address)) { in CreateEntryImpl() 590 block_files_.DeleteBlock(entry_address, false); in CreateEntryImpl() 601 block_files_.DeleteBlock(entry_address, false); in CreateEntryImpl() 602 block_files_.DeleteBlock(node_address, false); in CreateEntryImpl() 730 return block_files_.GetFile(address); in File() [all …]
|
D | block_files.h | 157 std::vector<scoped_refptr<MappedFile>> block_files_; // The actual files. variable
|
D | backend_impl.h | 408 BlockFiles block_files_; // Set of files used to store all data. variable
|
/external/cronet/net/tools/dump_cache/ |
D | dump_files.cc | 163 : path_(path), block_files_(path) {} in CacheDumper() 184 disk_cache::BlockFiles block_files_; member in __anone429a5ba0111::CacheDumper 193 if (!block_files_.Init(false)) { in Init() 246 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadEntry() 275 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadRankings() 292 disk_cache::MappedFile* file = block_files_.GetFile(address); in HexDump()
|