Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc607 child_offset_ = static_cast<int>(offset_) & (kMaxEntrySize - 1); in VerifyRange()
608 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange()
615 int last_bit = (child_offset_ + child_len_ + 1023) >> 10; in VerifyRange()
616 int start = child_offset_ >> 10; in VerifyRange()
622 if (start == child_offset_ >> 10) { in VerifyRange()
624 if (partial_block_len <= (child_offset_ & (kBlockSize - 1))) in VerifyRange()
629 child_len_ = (start << 10) - child_offset_; in VerifyRange()
648 int first_bit = child_offset_ >> 10; in UpdateRange()
649 int block_offset = child_offset_ & (kBlockSize - 1); in UpdateRange()
656 int last_bit = (child_offset_ + result) >> 10; in UpdateRange()
[all …]
Dsparse_control.h177 int child_offset_ = 0; // Offset to use for the current child. variable