Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/include/idmap2/
DXmlParser.h68 iterator(const iterator& other) : iterator(other.tree_, other.iter_) { in iterator()
72 iter_.set_position(rhs.iter_.get_position());
77 return iter_ == rhs.iter_;
86 iter_.Seek(false /* inner_child */);
93 child_it.iter_.Seek(true /* inner_child */); in begin()
99 while (child_it.iter_.Seek(false /* inner_child */)) { in end()
107 return Node(tree_, iter_.get_position());
111 return &iter_;
115 explicit iterator(const ResXMLTree& tree) : tree_(tree), iter_(Node(tree)) { in iterator()
118 : tree_(tree), iter_(Node(tree, node.get_position())) { in iterator()
[all …]
/frameworks/base/libs/androidfw/
DBigBufferStream.cpp28 if (iter_ == buffer_->end()) { in Next()
32 if (offset_ == iter_->size) { in Next()
33 ++iter_; in Next()
34 if (iter_ == buffer_->end()) { in Next()
40 *data = iter_->buffer.get() + offset_; in Next()
41 *size = iter_->size - offset_; in Next()
42 bytes_read_ += iter_->size - offset_; in Next()
43 offset_ = iter_->size; in Next()
62 iter_ = buffer_->begin(); in Rewind()
/frameworks/base/libs/androidfw/include/androidfw/
DBigBufferStream.h27 : owning_buffer_(0), buffer_(buffer), iter_(buffer->begin()) { in BigBufferInputStream()
31 : owning_buffer_(std::move(buffer)), buffer_(&owning_buffer_), iter_(buffer_->begin()) { in BigBufferInputStream()
57 BigBuffer::const_iterator iter_; variable