Home
last modified time | relevance | path

Searched refs:kSparseIndex (Results 1 – 1 of 1) sorted by relevance

/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc34 const int kSparseIndex = 2; variable
224 int data_len = entry_->GetDataSize(kSparseIndex); in Init()
243 return (entry_->GetDataSize(kSparseIndex) != 0); in CouldBeSparse()
367 int data_len = entry->GetDataSize(kSparseIndex); in DeleteChildren()
378 entry->GetData(kSparseIndex, &buffer, &address); in DeleteChildren()
417 int rv = entry_->WriteData(kSparseIndex, 0, buf.get(), sizeof(sparse_header_), in CreateSparseEntry()
448 int rv = entry_->ReadData(kSparseIndex, 0, buf.get(), sizeof(sparse_header_), in OpenSparseEntry()
462 rv = entry_->ReadData(kSparseIndex, sizeof(sparse_header_), buf.get(), in OpenSparseEntry()
496 child_->GetDataSize(kSparseIndex) < static_cast<int>(sizeof(child_data_))) in OpenChild()
504 int rv = child_->ReadData(kSparseIndex, 0, buf.get(), sizeof(child_data_), in OpenChild()
[all …]