Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
200 ow_->StartObject("")->EndObject(); in TEST_P()
212 ow_->StartObject("") in TEST_P()
233 ow_->StartObject("") in TEST_P()
262 ow_->StartObject("") in TEST_P()
306 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.cc182 ow_(), in AnyWriter()
197 if (ow_ == NULL) { in StartObject()
214 ow_->StartObject(""); in StartObject()
219 ow_->StartObject(name); in StartObject()
228 if (ow_ != NULL && (depth_ >= 0 || !is_well_known_type_)) { in EndObject()
229 ow_->EndObject(); in EndObject()
243 if (ow_ == NULL) { in StartList()
256 ow_->StartList(""); in StartList()
258 ow_->StartList(name); in StartList()
269 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.cc69 ow_(ow) {} in DefaultValueObjectWriter()
83 ow_->RenderBool(name, value); in RenderBool()
93 ow_->RenderInt32(name, value); in RenderInt32()
103 ow_->RenderUint32(name, value); in RenderUint32()
113 ow_->RenderInt64(name, value); in RenderInt64()
123 ow_->RenderUint64(name, value); in RenderUint64()
133 ow_->RenderDouble(name, value); in RenderDouble()
143 ow_->RenderBool(name, value); in RenderFloat()
153 ow_->RenderString(name, value); in RenderString()
166 ow_->RenderBytes(name, value); in RenderBytes()
[all …]
Dproto_writer.cc295 ow_(enclosing), in ProtoElement()
314 ow_(this->parent()->ow_), in ProtoElement()
321 ? ow_->size_insert_.size() in ProtoElement()
327 if (ow_->IsRepeated(*field)) { in ProtoElement()
339 int start_pos = ow_->stream_->ByteCount(); in ProtoElement()
345 ow_->size_insert_.push_back(info); in ProtoElement()
357 ow_->MissingField((*it)->name()); in pop()
368 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop()
372 int size = ow_->size_insert_[size_index_].size; in pop()
377 ow_->size_insert_[e->size_index_].size += length; in pop()
[all …]
Dprotostream_objectwriter.h159 google::protobuf::scoped_ptr<ProtoStreamObjectWriter> ow_; variable
229 ProtoStreamObjectWriter* ow_;
Djson_stream_parser.h204 ObjectWriter* ow_; variable
Ddefault_value_objectwriter.h274 ObjectWriter* ow_; variable
Dproto_writer.h200 ProtoWriter* ow_;