Home
last modified time | relevance | path

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

/external/chromium/net/disk_cache/
Dsparse_control.cc363 memset(&sparse_header_, 0, sizeof(sparse_header_)); in CreateSparseEntry()
364 sparse_header_.signature = Time::Now().ToInternalValue(); in CreateSparseEntry()
365 sparse_header_.magic = kIndexMagic; in CreateSparseEntry()
366 sparse_header_.parent_key_len = entry_->GetKey().size(); in CreateSparseEntry()
371 new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); in CreateSparseEntry()
373 int rv = entry_->WriteData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL, in CreateSparseEntry()
375 if (rv != sizeof(sparse_header_)) { in CreateSparseEntry()
396 int map_len = data_len - sizeof(sparse_header_); in OpenSparseEntry()
401 new net::WrappedIOBuffer(reinterpret_cast<char*>(&sparse_header_))); in OpenSparseEntry()
404 int rv = entry_->ReadData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL); in OpenSparseEntry()
[all …]
Dsparse_control.h157 SparseHeader sparse_header_; // Data about the children of entry_. variable