Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc203 child_map_(child_data_.bitmap, kNumSparseBits, kNumSparseBits / 32) { in SparseControl()
205 memset(&child_data_, 0, sizeof(child_data_)); in SparseControl()
496 child_->GetDataSize(kSparseIndex) < static_cast<int>(sizeof(child_data_))) in OpenChild()
501 reinterpret_cast<char*>(&child_data_)); in OpenChild()
504 int rv = child_->ReadData(kSparseIndex, 0, buf.get(), sizeof(child_data_), in OpenChild()
506 if (rv != sizeof(child_data_)) in OpenChild()
509 if (child_data_.header.signature != sparse_header_.signature || in OpenChild()
510 child_data_.header.magic != kIndexMagic) in OpenChild()
513 if (child_data_.header.last_block_len < 0 || in OpenChild()
514 child_data_.header.last_block_len >= kBlockSize) { in OpenChild()
[all …]
Dsparse_control.h169 SparseData child_data_; // Parent and allocation map of child_. variable