Home
last modified time | relevance | path

Searched refs:read_index_ (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/
Dpickle.cc27 read_index_(0), in PickleIterator()
45 if (end_index_ - read_index_ < aligned_size) { in Advance()
46 read_index_ = end_index_; in Advance()
48 read_index_ += aligned_size; in Advance()
54 if (sizeof(Type) > end_index_ - read_index_) { in GetReadPointerAndAdvance()
55 read_index_ = end_index_; in GetReadPointerAndAdvance()
58 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
65 end_index_ - read_index_ < static_cast<size_t>(num_bytes)) { in GetReadPointerAndAdvance()
66 read_index_ = end_index_; in GetReadPointerAndAdvance()
69 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
Dpickle.h33 PickleIterator() : payload_(NULL), read_index_(0), end_index_(0) {} in PickleIterator()
105 size_t read_index_; // Offset of the next readable byte in payload. variable
/external/v8/src/debug/
Ddebug-coverage.cc109 read_index_(-1), in CoverageBlockIterator()
122 return read_index_ + 1 < static_cast<int>(function_->blocks.size()); in HasNext()
136 if (read_index_ == -1) { in Next()
145 read_index_++; in Next()
165 return function_->blocks[read_index_]; in GetBlock()
171 return function_->blocks[read_index_ + 1]; in GetNextBlock()
176 DCHECK_GT(read_index_, 0); in GetPreviousBlock()
177 return function_->blocks[read_index_ - 1]; in GetPreviousBlock()
209 if (read_index_ >= 0 && write_index_ != read_index_) { in MaybeWriteCurrent()
210 function_->blocks[write_index_] = function_->blocks[read_index_]; in MaybeWriteCurrent()
[all …]