Home
last modified time | relevance | path

Searched refs:GetPrototype (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dmessage_factory.py57 def GetPrototype(self, descriptor): member in MessageFactory
81 self.GetPrototype(field.message_type)
84 self.GetPrototype(extension.containing_type)
111 result[full_name] = self.GetPrototype(
125 self.GetPrototype(extension.containing_type)
Dproto_builder.py56 proto_cls = factory.GetPrototype(proto_descriptor)
Djson_format.py304 message_class = db.GetPrototype(message_descriptor)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddynamic_message_unittest.cc105 prototype_ = factory_.GetPrototype(descriptor_); in SetUp()
110 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp()
115 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp()
120 oneof_prototype_ = factory_.GetPrototype(oneof_descriptor_); in SetUp()
126 proto3_prototype_ = factory_.GetPrototype(proto3_descriptor_); in SetUp()
138 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
199 nested_prototype = factory_.GetPrototype(nested_descriptor); in TEST_F()
207 foogroup_prototype = factory_.GetPrototype(foogroup_descriptor); in TEST_F()
Dextension_set_heavy.cc150 return *factory->GetPrototype(message_type); in GetMessage()
155 *factory->GetPrototype(message_type)); in GetMessage()
171 factory->GetPrototype(descriptor->message_type()); in MutableMessage()
181 *factory->GetPrototype(descriptor->message_type())); in MutableMessage()
199 *factory->GetPrototype(descriptor->message_type())); in ReleaseMessage()
227 *factory->GetPrototype(descriptor->message_type())); in UnsafeArenaReleaseMessage()
264 prototype = factory->GetPrototype(descriptor->message_type()); in AddMessage()
299 factory_->GetPrototype(extension->message_type()); in Find()
Ddynamic_message.h118 const Message* GetPrototype(const Descriptor* type);
Ddrop_unknown_fields_test.cc76 factory.GetPrototype(Foo::descriptor())->New()); in TEST()
Dpreserve_unknown_enum_test.cc123 google::protobuf::scoped_ptr<google::protobuf::Message> message(factory.GetPrototype( in TEST()
164 google::protobuf::scoped_ptr<google::protobuf::Message> message(factory.GetPrototype( in TEST()
Dmessage_unittest.cc451 MessageFactory::generated_factory()->GetPrototype( in TEST()
466 MessageFactory::generated_factory()->GetPrototype(descriptor) == NULL); in TEST()
Dmap_field_test.cc117 MessageFactory::generated_factory()->GetPrototype(map_descriptor_); in MapFieldBasePrimitiveTest()
222 MessageFactory::generated_factory()->GetPrototype(map_descriptor); in MapFieldStateTest()
Dmessage.cc295 const Message* GetPrototype(const Descriptor* type);
351 const Message* GeneratedMessageFactory::GetPrototype(const Descriptor* type) { in GetPrototype() function in google::protobuf::__anon9dfd28d60111::GeneratedMessageFactory
Dmap_test.cc1254 ->GetPrototype(fd_map_int32_int32->message_type()) in TEST_F()
1258 ->GetPrototype(fd_map_int32_double->message_type()) in TEST_F()
1262 ->GetPrototype(fd_map_string_string->message_type()) in TEST_F()
1266 ->GetPrototype(fd_map_int32_foreign_message->message_type()) in TEST_F()
1549 ->GetPrototype(fd_map_string_string->message_type()) in TEST_F()
1945 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
1962 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
1981 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
2000 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
2014 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
[all …]
Dreflection.h224 reflection->GetMessageFactory()->GetPrototype(field->message_type()); in RepeatedFieldRef()
299 reflection->GetMessageFactory()->GetPrototype(field->message_type()); in MutableRepeatedFieldRef()
Ddynamic_message.cc632 const Message* DynamicMessageFactory::GetPrototype(const Descriptor* type) { in GetPrototype() function in google::protobuf::DynamicMessageFactory
641 return MessageFactory::generated_factory()->GetPrototype(type); in GetPrototypeNoLock()
Dmessage.h1029 virtual const Message* GetPrototype(const Descriptor* type) = 0;
Dgenerated_message_reflection.h665 from->GetReflection()->GetMessageFactory()->GetPrototype( in DynamicCastToGenerated()
Dmap_field_inl.h480 MessageFactory::generated_factory()->GetPrototype( in InitDefaultEntryOnce()
Dtext_format.cc1048 const Message* value_prototype = factory.GetPrototype(value_descriptor); in ConsumeAnyValue()
1574 factory.GetPrototype(value_descriptor)->New()); in PrintAny()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dmessage_factory_test.py98 cls = factory.GetPrototype(pool.FindMessageTypeByName(
102 cls2 = factory.GetPrototype(pool.FindMessageTypeByName(
Dsymbol_database_test.py66 instance = self._Database().GetPrototype(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dgenerate_datasets.cc65 Message* m = MessageFactory::generated_factory()->GetPrototype(d)->New(); in WriteFileWithPayloads()
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/
Ddynamicproto.cc119 auto p = factory.GetPrototype(desc); in newMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util_test.cc206 google::protobuf::scoped_ptr<Message> message(factory.GetPrototype( in TEST_F()
/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/
Dapk_validator.cpp220 auto settings_proto = factory_.GetPrototype(sdesc); in ValidateSettings()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_file.cc140 factory.GetPrototype(file_proto_desc)->New()); in CollectExtensions()

12