Home
last modified time | relevance | path

Searched refs:SerializeToString (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dunknown_fields_test.py65 self.all_fields_data = self.all_fields.SerializeToString()
70 data = self.empty_message.SerializeToString()
80 self.assertEqual(0, len(message.SerializeToString()))
99 item.message = message1.SerializeToString()
101 serialized = raw.SerializeToString()
108 reserialized = proto.SerializeToString()
119 message.ParseFromString(self.all_fields.SerializeToString())
124 self.assertEqual(b'', self.empty_message.SerializeToString())
130 other_message.SerializeToString())
132 other_message.SerializeToString())
[all …]
Dmessage_test.py120 self.assertEqual(golden_data, golden_message.SerializeToString())
122 self.assertEqual(golden_data, golden_copy.SerializeToString())
131 self.assertEqual(golden_data, all_set.SerializeToString())
133 self.assertEqual(golden_data, golden_copy.SerializeToString())
162 self.assertEqual(golden_data, golden_message.SerializeToString())
182 self.assertEqual(golden_data, golden_message.SerializeToString())
200 serialized = golden_message.SerializeToString()
215 self.assertEqual(golden_data, golden_message.SerializeToString())
224 self.assertEqual(golden_data, golden_message.SerializeToString())
234 serialized = golden_message.SerializeToString()
[all …]
Dreflection_test.py626 proto2.ParseFromString(proto.SerializeToString())
1083 serialized_prius = prius.SerializeToString()
1291 string1 = proto1.SerializeToString()
1365 string1 = proto1.SerializeToString()
1366 string2 = proto2.SerializeToString()
1468 string1 = proto1.SerializeToString()
1469 string2 = proto2.SerializeToString()
1570 proto.SerializeToString()
1575 self.assertRaises(message.EncodeError, proto.SerializeToString)
1652 serialized_pb=file_descriptor_proto.SerializeToString())
[all …]
Dmessage_factory_test.py85 serialized = msg.SerializeToString()
87 reserialized = converted.SerializeToString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dpreserve_unknown_enum_test.cc103 orig_message.SerializeToString(&serialized); in TEST()
110 message.SerializeToString(&serialized); in TEST()
139 orig_message.SerializeToString(&serialized); in TEST()
150 message.SerializeToString(&serialized); in TEST()
161 orig_message.SerializeToString(&serialized); in TEST()
175 message->SerializeToString(&serialized); in TEST()
185 orig_message.SerializeToString(&serialized); in TEST()
Dwire_format_unittest.cc88 source.SerializeToString(&data); in TEST()
105 source.SerializeToString(&data); in TEST()
122 source.SerializeToString(&data); in TEST()
171 source.SerializeToString(&data); in TEST()
188 source.SerializeToString(&data); in TEST()
209 source.SerializeToString(&data); in TEST()
403 source.SerializeToString(&data); in TEST()
434 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST()
523 message.SerializeToString(item->mutable_message()); in TEST()
532 message.SerializeToString(item->mutable_message()); in TEST()
[all …]
Dno_field_presence_test.cc426 message.SerializeToString(&output); in TEST()
450 message.SerializeToString(&output); in TEST()
454 message.SerializeToString(&output); in TEST()
459 message.SerializeToString(&output); in TEST()
517 message.SerializeToString(&output); in TEST()
536 message.SerializeToString(&serialized); in TEST()
553 message.SerializeToString(&serialized); in TEST()
562 message.SerializeToString(&serialized); in TEST()
Dmessage_unittest.cc84 EXPECT_TRUE(message.SerializeToString(&str1)); in TEST()
144 message.SerializeToString(&data); in TEST()
238 EXPECT_DEBUG_DEATH(EXPECT_TRUE(message.SerializeToString(&data)), in TEST()
375 generator.SerializeToString(&buffer); in TEST()
Dunknown_field_set_unittest.cc64 all_fields_.SerializeToString(&all_fields_data_); in SetUp()
97 EXPECT_TRUE(bizarro_message.SerializeToString(&data)); in GetBizarroData()
217 empty_message_.SerializeToString(&data); in TEST_F()
329 ASSERT_TRUE(source.SerializeToString(&data)); in TEST_F()
430 empty_message.SerializeToString(&data); in TEST_F()
Dlite_arena_unittest.cc58 from->SerializeToString(&data); in TEST()
Dany.cc65 message.SerializeToString(value_->MutableNoArena( in PackFrom()
Dmessage_lite.h216 bool SerializeToString(string* output) const;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_cpp.cc131 test_message.SerializeToString(response->mutable_protobuf_payload())); in DoTest()
136 GOOGLE_CHECK(test_message.SerializeToString(&proto_binary)); in DoTest()
179 response.SerializeToString(&serialized_output); in DoTestIo()
Dconformance_python.py81 response.protobuf_payload = test_message.SerializeToString()
111 serialized_response = response.SerializeToString()
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/
Deng_game.cc24 t.SerializeToString(&s); in setUsingGameEngineAsIfAnotherLanguage()
58 ann.SerializeToString(&str); in runWithGameEngine()
Dgameengine.cc26 p.SerializeToString(&fp_ser); in init()
Dsztool.cc119 m->SerializeToString(&s); in MakeAnnotation()
161 m->SerializeToString(&s); in RandomFidelityParams()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc328 fdp.SerializeToString(&file_descriptor_serialized_); in Generate()
499 enum_descriptor.options().SerializeToString(&options_string); in PrintEnum()
572 descriptor.options().SerializeToString(&options_string); in PrintServiceDescriptor()
598 method->options().SerializeToString(&options_string); in PrintServiceDescriptor()
709 message_descriptor.options().SerializeToString(&options_string); in PrintDescriptor()
1051 descriptor.options().SerializeToString(&options_string); in PrintEnumValueDescriptor()
1084 field.options().SerializeToString(&options_string); in PrintFieldDescriptor()
1222 proto.SerializeToString(&sp); in PrintSerializedPbInterval()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/
Dadd_person.py56 f.write(address_book.SerializeToString())
/frameworks/av/services/mediaanalytics/
Dstatsd_extractor.cpp75 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_extractor()
Dstatsd_audiopolicy.cpp106 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiopolicy()
Dstatsd_audiotrack.cpp130 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiotrack()
Dstatsd_audiorecord.cpp139 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiorecord()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDeviceFiles.cpp68 file.SerializeToString(&serializedFile); in StoreLicense()
86 hashFile.SerializeToString(&serializedHashFile); in StoreFileWithHash()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dmessage.py187 def SerializeToString(self): member in Message

123