Home
last modified time | relevance | path

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

12

/external/protobuf/python/google/protobuf/
Dmessage_factory.py66 def GetPrototype(self, descriptor): member in MessageFactory
90 self.GetPrototype(field.message_type)
93 self.GetPrototype(extension.containing_type)
116 result[desc.full_name] = self.GetPrototype(desc)
129 self.GetPrototype(extension.containing_type)
Dreflection.py95 return symbol_database.Default().GetPrototype(descriptor)
Dproto_builder.py56 proto_cls = factory.GetPrototype(proto_descriptor)
/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc102 prototype_ = factory_.GetPrototype(descriptor_); in SetUp()
107 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp()
112 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp()
117 oneof_prototype_ = factory_.GetPrototype(oneof_descriptor_); in SetUp()
122 proto3_prototype_ = factory_.GetPrototype(proto3_descriptor_); in SetUp()
134 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
213 nested_prototype = factory_.GetPrototype(nested_descriptor); in TEST_P()
221 foogroup_prototype = factory_.GetPrototype(foogroup_descriptor); in TEST_P()
Dextension_set_heavy.cc155 return *factory->GetPrototype(message_type); in GetMessage()
160 *factory->GetPrototype(message_type)); in GetMessage()
176 factory->GetPrototype(descriptor->message_type()); in MutableMessage()
186 *factory->GetPrototype(descriptor->message_type())); in MutableMessage()
204 *factory->GetPrototype(descriptor->message_type())); in ReleaseMessage()
232 *factory->GetPrototype(descriptor->message_type())); in UnsafeArenaReleaseMessage()
272 prototype = factory->GetPrototype(descriptor->message_type()); in AddMessage()
307 factory_->GetPrototype(extension->message_type()); in Find()
Ddrop_unknown_fields_test.cc71 std::unique_ptr<Message> foo(factory.GetPrototype(Foo::descriptor())->New()); in TEST()
Ddynamic_message.cc430 type_info_->factory->GetPrototype(field->message_type()), in SharedCtor()
434 type_info_->factory->GetPrototype(field->message_type())); in SharedCtor()
653 const Message* DynamicMessageFactory::GetPrototype(const Descriptor* type) { in GetPrototype() function in google::protobuf::DynamicMessageFactory
662 return MessageFactory::generated_factory()->GetPrototype(type); in GetPrototypeNoLock()
Dpreserve_unknown_enum_test.cc116 .GetPrototype( in TEST()
160 .GetPrototype( in TEST()
Dmap_test.cc1262 ->GetPrototype(fd_map_int32_int32->message_type()) in TEST_F()
1266 ->GetPrototype(fd_map_int32_double->message_type()) in TEST_F()
1270 ->GetPrototype(fd_map_string_string->message_type()) in TEST_F()
1274 ->GetPrototype(fd_map_int32_foreign_message->message_type()) in TEST_F()
1557 ->GetPrototype(fd_map_string_string->message_type()) in TEST_F()
1795 factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST_F()
1980 message1.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
1995 message1.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
2008 message1.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
2014 message2.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
[all …]
Ddynamic_message.h124 const Message* GetPrototype(const Descriptor* type) override;
Dreflection.h206 reflection->GetMessageFactory()->GetPrototype(field->message_type()); in RepeatedFieldRef()
267 reflection->GetMessageFactory()->GetPrototype(field->message_type()); in MutableRepeatedFieldRef()
/external/pigweed/pw_rpc/py/pw_rpc/
Ddescriptors.py118 field.message_type.file.pool).GetPrototype(field.message_type)
178 input_factory.GetPrototype(descriptor.input_type),
179 output_factory.GetPrototype(descriptor.output_type),
/external/pdfium/fxjs/
Dcfxjs_engine.cpp481 v8::Local<v8::Object> pThis = pThisProxy->GetPrototype().As<v8::Object>(); in InitializeEngine()
496 ->GetPrototype() in InitializeEngine()
501 ->GetPrototype() in InitializeEngine()
533 context->Global()->GetPrototype()->ToObject(context).ToLocalChecked(); in ReleaseEngine()
618 return context->Global()->GetPrototype()->ToObject(context).ToLocalChecked(); in GetThisObj()
640 v8::Local<v8::Value> val = pObj->GetPrototype(); in GetObjectPrivate()
/external/perfetto/src/trace_processor/python/perfetto/trace_processor/
Dprotos.py46 return message_factory.MessageFactory().GetPrototype(message_desc)
/external/pigweed/pw_rpc/py/tests/
Ddescriptors_test.py76 self._method.request_type.DESCRIPTOR.file.pool).GetPrototype(
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py101 cls = factory.GetPrototype(pool.FindMessageTypeByName(
105 cls2 = factory.GetPrototype(pool.FindMessageTypeByName(
Dsymbol_database_test.py67 instance = self._Database().GetPrototype(
/external/pdfium/fxjs/xfa/
Dcfxjse_context.cpp164 v8::Local<v8::Value> hProtoObject = hObject->GetPrototype(); in FXJSE_RetrieveObjectBinding()
211 v8::Local<v8::Object> pThis = pThisProxy->GetPrototype().As<v8::Object>(); in Create()
231 hContext->Global()->GetPrototype().As<v8::Object>(); in GetGlobalObject()
Dcfxjse_runtimedata.cpp38 ->GetPrototype() in Create()
/external/perfetto/tools/
Dproto_utils.py35 return message_factory.MessageFactory().GetPrototype(
/external/grpc-grpc/test/cpp/util/
Dproto_file_parser.cc254 dynamic_factory_->GetPrototype(desc)->New()); in GetSerializedProtoFromMessageType()
279 dynamic_factory_->GetPrototype(desc)->New()); in GetTextFormatFromMessageType()
/external/perfetto/test/
Dsynth_common.py751 ProtoTrace = factory.GetPrototype(
770 TrackEvent=factory.GetPrototype(
774 ThreadDescriptor=factory.GetPrototype(
776 ChromeProcessDescriptor=factory.GetPrototype(
779 CounterDescriptor=factory.GetPrototype(
/external/protobuf/conformance/
Dconformance_cpp.cc132 test_message = MessageFactory::generated_factory()->GetPrototype(descriptor)->New(); in DoTest()
/external/perfetto/tools/trace_to_text/
Dtrace_to_text.cc169 const Message* root = dmf.GetPrototype(trace_descriptor); in TraceToText()
/external/protobuf/benchmarks/cpp/
Dcpp_benchmark.cc68 prototype_ = MessageFactory::generated_factory()->GetPrototype(d); in Fixture()

12