Home
last modified time | relevance | path

Searched refs:stream_ (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc118 : stream_(stream), in ProtoStreamObjectSource()
132 : stream_(stream), in ProtoStreamObjectSource()
188 uint32 tag = stream_->ReadTag(), last_tag = tag + 1; in WriteMessage()
205 WireFormat::SkipField(stream_, tag, in WriteMessage()
207 tag = stream_->ReadTag(); in WriteMessage()
225 tag = stream_->ReadTag(); in WriteMessage()
248 tag_to_return = stream_->ReadTag(); in RenderList()
252 } while ((tag_to_return = stream_->ReadTag()) == list_tag); in RenderList()
267 stream_->ReadVarint32(&buffer32); // message length in RenderMap()
268 int old_limit = stream_->PushLimit(buffer32); in RenderMap()
[all …]
Djson_objectwriter.h93 stream_(out), in JsonObjectWriter()
146 : stream_(stream) {} in ByteSinkWrapper()
151 stream_->WriteRaw(bytes, n); in Append()
155 google::protobuf::io::CodedOutputStream* stream_;
165 stream_->WriteString(value); in RenderSimple()
185 stream_->WriteString(indent_string_); in NewLine()
196 void WriteChar(const char c) { stream_->WriteRaw(&c, sizeof(c)); } in WriteChar()
199 google::protobuf::io::CodedOutputStream* stream_; variable
Dproto_writer.cc73 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter()
91 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter()
339 int start_pos = ow_->stream_->ByteCount(); in ProtoElement()
368 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop()
603 status = WriteInt32(field.number(), data, stream_.get()); in RenderPrimitiveField()
607 status = WriteSFixed32(field.number(), data, stream_.get()); in RenderPrimitiveField()
611 status = WriteSInt32(field.number(), data, stream_.get()); in RenderPrimitiveField()
615 status = WriteFixed32(field.number(), data, stream_.get()); in RenderPrimitiveField()
619 status = WriteUInt32(field.number(), data, stream_.get()); in RenderPrimitiveField()
623 status = WriteInt64(field.number(), data, stream_.get()); in RenderPrimitiveField()
[all …]
Djson_objectwriter.cc101 stream_->WriteString(SimpleItoa(value)); in RenderInt64()
110 stream_->WriteString(SimpleItoa(value)); in RenderUint64()
158 stream_->WriteRaw(base64.data(), base64.size()); in RenderBytes()
175 stream_->WriteString("\":"); in WritePrefix()
Dproto_writer.h136 google::protobuf::io::CodedOutputStream* stream() { return stream_.get(); } in stream()
327 google::protobuf::scoped_ptr<google::protobuf::io::CodedOutputStream> stream_; variable
Dprotostream_objectsource.h269 google::protobuf::io::CodedInputStream* stream_; variable
/frameworks/base/cmds/idmap2/libidmap2/
DPrettyPrintVisitor.cpp35 stream_ << "target apk path : " << header.GetTargetPath() << std::endl in visit()
64 stream_ << base::StringPrintf("0x%08x -> 0x%08x", target_resid, overlay_resid); in visit()
68 stream_ << " " << *name; in visit()
71 stream_ << std::endl; in visit()
DBinaryStreamVisitor.cpp29 stream_.write(reinterpret_cast<char*>(&x), sizeof(uint16_t)); in Write16()
34 stream_.write(reinterpret_cast<char*>(&x), sizeof(uint32_t)); in Write32()
41 stream_.write(buf, sizeof(buf)); in WriteString()
DRawPrintVisitor.cpp100 stream_ << base::StringPrintf("%08zx: %04x", offset_, value) << " " << comment << std::endl; in print()
113 stream_ << base::StringPrintf("%08zx: %08x", offset_, value) << " " << comment << std::endl; in print()
126 stream_ << base::StringPrintf("%08zx: ", offset_) << "........ " << comment << ": " << value in print()
/frameworks/base/cmds/idmap2/include/idmap2/
DBinaryStreamVisitor.h30 explicit BinaryStreamVisitor(std::ostream& stream) : stream_(stream) { in BinaryStreamVisitor()
42 std::ostream& stream_; variable
DPrettyPrintVisitor.h34 explicit PrettyPrintVisitor(std::ostream& stream) : stream_(stream) { in PrettyPrintVisitor()
43 std::ostream& stream_;
DRawPrintVisitor.h35 explicit RawPrintVisitor(std::ostream& stream) : stream_(stream), offset_(0) { in RawPrintVisitor()
48 std::ostream& stream_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util.h175 : stream_(stream) {} in ZeroCopyStreamByteSink()
180 io::ZeroCopyOutputStream* stream_;
Djson_util.cc56 if (!stream_->Next(&buffer, &length)) { in Append()
62 stream_->BackUp(length - len); in Append()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp589 explicit TestVisitor(std::ostream& stream) : stream_(stream) { in TestVisitor()
593 stream_ << "TestVisitor::visit(Idmap)" << std::endl; in visit()
597 stream_ << "TestVisitor::visit(IdmapHeader)" << std::endl; in visit()
601 stream_ << "TestVisitor::visit(IdmapData)" << std::endl; in visit()
605 stream_ << "TestVisitor::visit(IdmapData::Header)" << std::endl; in visit()
609 stream_ << "TestVisitor::visit(IdmapData::TypeEntry)" << std::endl; in visit()
613 std::ostream& stream_; member in android::idmap2::TestVisitor