/external/protobuf/src/google/protobuf/util/internal/ |
D | json_objectwriter_test.cc | 50 ow_(nullptr) {} in JsonObjectWriterTest() 52 ~JsonObjectWriterTest() override { delete ow_; } in ~JsonObjectWriterTest() 63 JsonObjectWriter* ow_; member in google::protobuf::util::converter::JsonObjectWriterTest 67 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F() 68 ow_->StartObject("")->EndObject(); in TEST_F() 73 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F() 74 ow_->StartObject("") in TEST_F() 83 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F() 84 ow_->StartList("")->EndList(); in TEST_F() 89 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F() [all …]
|
D | protostream_objectwriter_test.cc | 106 ow_() {} in BaseProtoStreamObjectWriterTest() 112 ow_() { in BaseProtoStreamObjectWriterTest() 123 ow_() { in BaseProtoStreamObjectWriterTest() 130 ow_.reset(helper_.NewProtoWriter(GetTypeUrl(descriptors[0]), output_.get(), in ResetTypeInfo() 165 std::unique_ptr<ProtoStreamObjectWriter> ow_; member in google::protobuf::util::converter::BaseProtoStreamObjectWriterTest 194 ow_->StartObject("")->EndObject(); in TEST_P() 206 ow_->StartObject("") in TEST_P() 227 ow_->StartObject("") in TEST_P() 256 ow_->StartObject("") in TEST_P() 271 ow_->StartObject("")->RenderInt32("value", 12345)->EndObject(); in TEST_P() [all …]
|
D | json_stream_parser_test.cc | 89 JsonStreamParserTest() : mock_(), ow_(&mock_) {} in JsonStreamParserTest() 155 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::JsonStreamParserTest 165 ow_.RenderBool("", true); in TEST_F() 173 ow_.RenderBool("", false); in TEST_F() 181 ow_.RenderNull(""); in TEST_F() 190 ow_.StartObject("")->EndObject(); in TEST_F() 198 ow_.StartList("")->EndList(); in TEST_F() 207 ow_.RenderDouble("", 42.5); in TEST_F() 215 ow_.RenderDouble("", 1.2345e-10); in TEST_F() 223 ow_.RenderDouble("", -1045.235); in TEST_F() [all …]
|
D | protostream_objectsource_test.cc | 96 ow_(&mock_), in ProtostreamObjectSourceTest() 130 ow_.StartObject("") in PrepareExpectingObjectWriterForRepeatedPrimitive() 285 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::ProtostreamObjectSourceTest 300 ow_.StartObject("")->EndObject(); in TEST_P() 322 ow_.StartObject("") in TEST_P() 348 ow_.StartList("repStr") in TEST_P() 362 ow_.StartObject("")->RenderUint64("@id", 12345)->EndObject(); in TEST_P() 373 ow_.StartObject("") in TEST_P() 389 ow_.StartObject("") in TEST_P() 422 ow_.StartObject("") in TEST_P() [all …]
|
D | protostream_objectwriter.cc | 206 ow_(), in AnyWriter() 221 if (ow_ == nullptr) { in StartObject() 232 ow_->StartObject(""); in StartObject() 237 ow_->StartObject(name); in StartObject() 243 if (ow_ == nullptr) { in EndObject() 252 ow_->EndObject(); in EndObject() 265 if (ow_ == nullptr) { in StartList() 274 ow_->StartList(""); in StartList() 276 ow_->StartList(name); in StartList() 286 if (ow_ == nullptr) { in EndList() [all …]
|
D | json_stream_parser.cc | 101 : ow_(ow), in JsonStreamParser() 307 ow_->RenderString(key_, parsed_); in ParseString() 483 ow_->RenderDouble(key_, number.double_val); in ParseNumber() 488 ow_->RenderInt64(key_, number.int_val); in ParseNumber() 493 ow_->RenderUint64(key_, number.uint_val); in ParseNumber() 601 ow_->StartObject(key_); in HandleBeginObject() 619 ow_->EndObject(); in ParseObjectMid() 640 ow_->EndObject(); in ParseEntry() 690 ow_->StartList(key_); in HandleBeginArray() 702 ow_->EndList(); in ParseArrayValue() [all …]
|
D | default_value_objectwriter.cc | 71 ow_(ow) {} in DefaultValueObjectWriter() 82 ow_->RenderBool(name, value); in RenderBool() 92 ow_->RenderInt32(name, value); in RenderInt32() 102 ow_->RenderUint32(name, value); in RenderUint32() 112 ow_->RenderInt64(name, value); in RenderInt64() 122 ow_->RenderUint64(name, value); in RenderUint64() 132 ow_->RenderDouble(name, value); in RenderDouble() 142 ow_->RenderBool(name, value); in RenderFloat() 152 ow_->RenderString(name, value); in RenderString() 165 ow_->RenderBytes(name, value); in RenderBytes() [all …]
|
D | proto_writer.cc | 292 ow_(enclosing), in ProtoElement() 311 ow_(this->parent()->ow_), in ProtoElement() 318 ? ow_->size_insert_.size() in ProtoElement() 324 if (ow_->IsRepeated(*field)) { in ProtoElement() 336 int start_pos = ow_->stream_->ByteCount(); in ProtoElement() 342 ow_->size_insert_.push_back(info); in ProtoElement() 354 ow_->MissingField((*it)->name()); in pop() 365 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop() 369 int size = ow_->size_insert_[size_index_].size; in pop() 374 ow_->size_insert_[e->size_index_].size += length; in pop() [all …]
|
D | protostream_objectwriter.h | 223 std::unique_ptr<ProtoStreamObjectWriter> ow_; variable 296 ProtoStreamObjectWriter* ow_;
|
D | json_stream_parser.h | 226 ObjectWriter* ow_; variable
|
D | default_value_objectwriter.h | 324 ObjectWriter* ow_; variable
|
D | proto_writer.h | 207 ProtoWriter* ow_;
|