Home
last modified time | relevance | path

Searched refs:ow_ (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter_test.cc50 ow_(NULL) {} in JsonObjectWriterTest()
53 delete ow_; in ~JsonObjectWriterTest()
61 JsonObjectWriter* ow_; member in google::protobuf::util::converter::JsonObjectWriterTest
65 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
66 ow_->StartObject("")->EndObject(); in TEST_F()
71 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
72 ow_->StartObject("") in TEST_F()
82 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
83 ow_->StartList("")->EndList(); in TEST_F()
88 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
[all …]
Dprotostream_objectwriter_test.cc106 ow_() {} in BaseProtoStreamObjectWriterTest()
112 ow_() { in BaseProtoStreamObjectWriterTest()
123 ow_() { in BaseProtoStreamObjectWriterTest()
130 ow_.reset(helper_.NewProtoWriter(GetTypeUrl(descriptors[0]), output_.get(), in ResetTypeInfo()
169 google::protobuf::scoped_ptr<ProtoStreamObjectWriter> ow_; member in google::protobuf::util::converter::BaseProtoStreamObjectWriterTest
196 ow_->StartObject("")->EndObject(); in TEST_P()
208 ow_->StartObject("") in TEST_P()
229 ow_->StartObject("") in TEST_P()
258 ow_->StartObject("") in TEST_P()
302 ow_->StartObject("") in TEST_P()
[all …]
Djson_stream_parser_test.cc86 JsonStreamParserTest() : mock_(), ow_(&mock_) {} in JsonStreamParserTest()
137 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::JsonStreamParserTest
147 ow_.RenderBool("", true); in TEST_F()
155 ow_.RenderBool("", false); in TEST_F()
163 ow_.RenderNull(""); in TEST_F()
172 ow_.StartObject("")->EndObject(); in TEST_F()
180 ow_.StartList("")->EndList(); in TEST_F()
189 ow_.RenderDouble("", 42.5); in TEST_F()
197 ow_.RenderDouble("", 1.2345e-10); in TEST_F()
205 ow_.RenderDouble("", -1045.235); in TEST_F()
[all …]
Dprotostream_objectsource_test.cc102 ow_(&mock_), in ProtostreamObjectSourceTest()
129 ow_.StartObject("") in PrepareExpectingObjectWriterForRepeatedPrimitive()
274 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::ProtostreamObjectSourceTest
285 ow_.StartObject("")->EndObject(); in TEST_P()
307 ow_.StartObject("") in TEST_P()
333 ow_.StartList("repStr") in TEST_P()
347 ow_.StartObject("")->RenderUint64("@id", 12345)->EndObject(); in TEST_P()
358 ow_.StartObject("") in TEST_P()
374 ow_.StartObject("") in TEST_P()
407 ow_.StartObject("") in TEST_P()
[all …]
Dprotostream_objectwriter.cc180 ow_(), in AnyWriter()
195 if (ow_ == NULL) { in StartObject()
212 ow_->StartObject(""); in StartObject()
217 ow_->StartObject(name); in StartObject()
226 if (ow_ != NULL && (depth_ >= 0 || !is_well_known_type_)) { in EndObject()
227 ow_->EndObject(); in EndObject()
241 if (ow_ == NULL) { in StartList()
254 ow_->StartList(""); in StartList()
256 ow_->StartList(name); in StartList()
267 if (ow_ != NULL) { in EndList()
[all …]
Djson_stream_parser.cc98 : ow_(ow), in JsonStreamParser()
295 ow_->RenderString(key_, parsed_); in ParseString()
473 ow_->RenderDouble(key_, number.double_val); in ParseNumber()
478 ow_->RenderInt64(key_, number.int_val); in ParseNumber()
483 ow_->RenderUint64(key_, number.uint_val); in ParseNumber()
567 ow_->StartObject(key_); in HandleBeginObject()
581 ow_->EndObject(); in ParseObjectMid()
601 ow_->EndObject(); in ParseEntry()
650 ow_->StartList(key_); in HandleBeginArray()
662 ow_->EndList(); in ParseArrayValue()
[all …]
Ddefault_value_objectwriter.cc68 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 …]
Dproto_writer.cc293 ow_(enclosing), in ProtoElement()
306 ow_(this->parent()->ow_), in ProtoElement()
312 ? ow_->size_insert_.size() in ProtoElement()
316 if (ow_->IsRepeated(*field)) { in ProtoElement()
325 int start_pos = ow_->stream_->ByteCount(); in ProtoElement()
331 ow_->size_insert_.push_back(info); in ProtoElement()
342 ow_->MissingField((*it)->name()); in pop()
352 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop()
356 int size = ow_->size_insert_[size_index_].size; in pop()
361 ow_->size_insert_[e->size_index_].size += length; in pop()
[all …]
Dprotostream_objectwriter.h154 google::protobuf::scoped_ptr<ProtoStreamObjectWriter> ow_; variable
224 ProtoStreamObjectWriter* ow_;
Djson_stream_parser.h204 ObjectWriter* ow_; variable
Ddefault_value_objectwriter.h264 ObjectWriter* ow_; variable
Dproto_writer.h192 ProtoWriter* ow_;