Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc204 memset(&sparse_header_, 0, sizeof(sparse_header_)); in SparseControl()
407 memset(&sparse_header_, 0, sizeof(sparse_header_)); in CreateSparseEntry()
408 sparse_header_.signature = Time::Now().ToInternalValue(); in CreateSparseEntry()
409 sparse_header_.magic = kIndexMagic; in CreateSparseEntry()
410 sparse_header_.parent_key_len = entry_->GetKey().size(); in CreateSparseEntry()
415 reinterpret_cast<char*>(&sparse_header_)); in CreateSparseEntry()
417 int rv = entry_->WriteData(kSparseIndex, 0, buf.get(), sizeof(sparse_header_), in CreateSparseEntry()
419 if (rv != sizeof(sparse_header_)) { in CreateSparseEntry()
440 int map_len = data_len - sizeof(sparse_header_); in OpenSparseEntry()
445 reinterpret_cast<char*>(&sparse_header_)); in OpenSparseEntry()
[all …]
Dsparse_control.h167 SparseHeader sparse_header_; // Data about the children of entry_. variable