Home
last modified time | relevance | path

Searched refs:message_factory (Results 1 – 25 of 29) sorted by relevance

12

/external/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc57 namespace message_factory { namespace
66 DynamicMessageFactory* message_factory = new DynamicMessageFactory(); in NewMessageFactory() local
68 message_factory->SetDelegateToGeneratedFactory(true); in NewMessageFactory()
69 factory->message_factory = message_factory; in NewMessageFactory()
114 delete self->message_factory; in Dealloc()
256 message_factory::Dealloc, // tp_dealloc
273 message_factory::GcTraverse, // tp_traverse
274 message_factory::GcClear, // tp_clear
279 message_factory::Methods, // tp_methods
281 message_factory::Getters, // tp_getset
[all …]
Dmessage_factory.h58 MessageFactory* message_factory; member
75 namespace message_factory {
Ddescriptor.cc193 PyMessageFactory* message_factory, const Message& from, Message* to) { in Reparse() argument
199 input.SetExtensionRegistry(message_factory->pool->pool, in Reparse()
200 message_factory->message_factory); in Reparse()
236 PyMessageFactory* message_factory = in GetOrBuildOptions() local
243 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in GetOrBuildOptions()
244 message_factory, message_type); in GetOrBuildOptions()
270 if (!Reparse(message_factory, options, cmsg->message)) { in GetOrBuildOptions()
305 PyMessageFactory* message_factory = in CopyToPythonProto() local
307 if (!Reparse(message_factory, *descriptor_message, descriptor_message)) { in CopyToPythonProto()
489 CMessageClass* concrete_class(message_factory::GetMessageClass( in GetConcreteClass()
Dextension_dict.cc81 message_factory::GetMessageClass( in len()
179 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in subscript()
420 message_factory::GetMessageClass( in IterNext()
Dmessage_module.cc56 ->py_message_factory->message_factory; in GetDefaultMessageFactory()
Dmessage.cc302 if (message_factory::RegisterMessageClass(newtype->py_message_factory, in New()
920 GetFactoryForMessage(self->parent)->message_factory); in AssureWritable()
1268 type->py_message_factory->message_factory->GetPrototype( in New()
1943 input.SetExtensionRegistry(factory->pool->pool, factory->message_factory); in MergeFromString()
2064 message_factory::GetMessageClass( in ListFields()
2242 *self->message, field_descriptor, factory->message_factory); in InternalGetSubMessage()
2244 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in InternalGetSubMessage()
2654 CMessageClass* value_class = message_factory::GetMessageClass( in GetFieldValue()
2666 CMessageClass* message_class = message_factory::GetMessageClass( in GetFieldValue()
2894 PyObject* message_factory) { in PyMessage_NewMessageOwnedExternally() argument
[all …]
Dmessage.h368 PyObject* message_factory);
Drepeated_composite_container.cc88 self->child_message_class->py_message_factory->message_factory); in Add()
Ddescriptor_pool.cc117 cpool->py_message_factory = message_factory::NewMessageFactory( in _CreateDescriptorPool()
Dmap_container.cc330 CMessageClass* message_class = message_factory::GetMessageClass( in GetEntryClass()
/external/protobuf/python/google/protobuf/
Dreflection.py51 from google.protobuf import message_factory
56 GeneratedProtocolMessageType = message_factory._GENERATED_PROTOCOL_MESSAGE_TYPE
Dsymbol_database.py62 from google.protobuf import message_factory
65 class SymbolDatabase(message_factory.MessageFactory):
Dproto_builder.py41 from google.protobuf import message_factory
74 factory = message_factory.MessageFactory(pool=pool)
/external/perfetto/src/trace_processor/python/perfetto/trace_processor/
Dprotos.py16 from google.protobuf import message_factory
46 return message_factory.MessageFactory().GetPrototype(message_desc)
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py49 from google.protobuf import message_factory
100 factory = message_factory.MessageFactory()
121 messages = message_factory.GetMessages([self.factory_test2_fd,
162 factory = message_factory.MessageFactory(pool=pool)
Ddescriptor_pool_test.py61 from google.protobuf import message_factory
485 message_class = message_factory.MessageFactory(pool).GetPrototype(
/external/perfetto/tools/
Dproto_utils.py21 from google.protobuf import descriptor, descriptor_pb2, message_factory, descriptor_pool
35 return message_factory.MessageFactory().GetPrototype(
/external/python/cpython3/Lib/test/test_email/
Dtest_parser.py76 MyPolicy = default.clone(message_factory=self.MyMessage)
83 MyPolicy = default.clone(message_factory=self.MyMessage)
/external/pigweed/pw_rpc/py/pw_rpc/
Ddescriptors.py22 from google.protobuf import descriptor_pb2, message_factory
117 annotation = message_factory.MessageFactory(
169 input_factory = message_factory.MessageFactory(
171 output_factory = message_factory.MessageFactory(
/external/pigweed/pw_rpc/py/tests/
Ddescriptors_test.py18 from google.protobuf.message_factory import MessageFactory
/external/python/cpython3/Doc/library/
Demail.parser.rst77 :attr:`~email.policy.Policy.message_factory` from the *policy*. Call
95 .. versionchanged:: 3.6 *_factory* defaults to the policy ``message_factory``.
151 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.
200 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.
280 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.
/external/python/cpython3/Lib/email/
Dpolicy.py87 message_factory = EmailMessage variable in EmailPolicy
Dfeedparser.py150 if policy.message_factory is None:
154 self._factory = policy.message_factory
D_policybase.py167 message_factory = None variable in Policy
/external/perfetto/test/
Dsynth_common.py19 from google.protobuf import descriptor, descriptor_pb2, message_factory, descriptor_pool
750 factory = message_factory.MessageFactory(pool)

12