Home
last modified time | relevance | path

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

/external/libchrome/base/
Dpickle.cc25 read_index_(0), in PickleIterator()
43 if (end_index_ - read_index_ < aligned_size) { in Advance()
44 read_index_ = end_index_; in Advance()
46 read_index_ += aligned_size; in Advance()
52 if (sizeof(Type) > end_index_ - read_index_) { in GetReadPointerAndAdvance()
53 read_index_ = end_index_; in GetReadPointerAndAdvance()
56 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
63 end_index_ - read_index_ < static_cast<size_t>(num_bytes)) { in GetReadPointerAndAdvance()
64 read_index_ = end_index_; in GetReadPointerAndAdvance()
67 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
Dpickle.h28 PickleIterator() : payload_(NULL), read_index_(0), end_index_(0) {} in PickleIterator()
101 size_t read_index_; // Offset of the next readable byte in payload. variable