Home
last modified time | relevance | path

Searched refs:in_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp333 : in_(static_cast<const uint8_t*>(data), size) {} in CompiledFileInputStream()
336 const int padding = in_.CurrentPosition() % 4; in EnsureAlignedRead()
339 in_.Skip(padding); in EnsureAlignedRead()
345 return in_.ReadLittleEndian32(out_val); in ReadLittleEndian32()
352 if (!in_.ReadLittleEndian64(&pb_size)) { in ReadCompiledFile()
356 CodedInputStream::Limit l = in_.PushLimit(static_cast<int>(pb_size)); in ReadCompiledFile()
359 if (static_cast<uint64_t>(in_.BytesUntilLimit()) != pb_size) { in ReadCompiledFile()
360 in_.PopLimit(l); in ReadCompiledFile()
361 in_.PushLimit(0); in ReadCompiledFile()
365 if (!out_val->ParsePartialFromCodedStream(&in_)) { in ReadCompiledFile()
[all …]
DProtoSerialize.h62 google::protobuf::io::CodedInputStream in_; variable
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp33 XmlPullParser::XmlPullParser(InputStream* in) : in_(in), empty_(), depth_(0) { in XmlPullParser()
59 if (!in_->Next(reinterpret_cast<const void**>(&buffer), &buffer_size)) { in Next()
60 if (in_->HadError()) { in Next()
61 error_ = in_->GetError(); in Next()
DXmlPullParser.h173 io::InputStream* in_; variable