Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/memory/
Dmem_entry_impl.cc32 const int kSparseData = 1; variable
328 DCHECK(type() == EntryType::kParent || index == kSparseData); in InternalReadData()
350 DCHECK(type() == EntryType::kParent || index == kSparseData); in InternalWriteData()
439 child->ReadData(kSparseData, child_offset, io_buf.get(), in InternalReadSparseData()
495 int data_size = child->GetDataSize(kSparseData); in InternalWriteSparseData()
507 int ret = child->WriteData(kSparseData, child_offset, io_buf.get(), in InternalWriteSparseData()
585 if (GetDataSize(kSparseData)) in InitSparseInfo()
617 child_responsibility_start + child->GetDataSize(kSparseData)); in ChildInterval()
/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc37 const int kSparseData = 1; variable
219 if (entry_->GetDataSize(kSparseData)) in Init()
239 if (entry_->GetDataSize(kSparseData)) in CouldBeSparse()
369 entry->GetDataSize(kSparseData)) in DeleteChildren()
433 if (entry_->GetDataSize(kSparseData)) in OpenSparseEntry()
750 rv = child_->ReadDataImpl(kSparseData, child_offset_, user_buf_.get(), in DoChildIO()
760 rv = child_->WriteDataImpl(kSparseData, child_offset_, user_buf_.get(), in DoChildIO()