Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py47 from google.protobuf import message_factory
97 factory = message_factory.MessageFactory()
109 messages = message_factory.GetMessages([self.factory_test1_fd,
136 factory = message_factory.MessageFactory(pool=pool)
Ddescriptor_pool_test.py58 from google.protobuf import message_factory
348 message_class = message_factory.MessageFactory(pool).GetPrototype(
Dmessage_test.py65 from google.protobuf import message_factory
1829 self.proto_cls = message_factory.MessageFactory(pool).GetPrototype(
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc76 DynamicMessageFactory* message_factory = new DynamicMessageFactory(); in _CreateDescriptorPool() local
78 message_factory->SetDelegateToGeneratedFactory(true); in _CreateDescriptorPool()
79 cpool->message_factory = message_factory; in _CreateDescriptorPool()
167 delete self->message_factory; in Dealloc()
Ddescriptor_pool.h78 MessageFactory* message_factory; member
Dmessage.cc763 return GetDescriptorPoolForMessage(message)->message_factory; in CheckAndGetInteger()
1229 const Message* default_message = type->py_descriptor_pool->message_factory in CheckAndGetInteger()
1559 MessageFactory* message_factory = GetFactoryForMessage(self); in CheckAndGetInteger() local
1561 self->message, field_descriptor, message_factory); in CheckAndGetInteger()
1567 const Message* prototype = message_factory->GetPrototype(descriptor); in CheckAndGetInteger()
1934 input.SetExtensionRegistry(pool->pool, pool->message_factory); in CheckAndGetInteger()
2314 *self->message, field_descriptor, pool->message_factory); in CheckAndGetInteger()
Ddescriptor.cc241 input.SetExtensionRegistry(pool->pool, pool->message_factory); in GetOrBuildOptions()
/external/protobuf/python/google/protobuf/
Dproto_builder.py41 from google.protobuf import message_factory
74 factory = message_factory.MessageFactory(pool=pool)
/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/perfetto/test/trace_processor/
Dsynth_common.py18 from google.protobuf import descriptor, descriptor_pb2, message_factory, reflection
136 trace = message_factory.MessageFactory().GetPrototype(
/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``.
Demail.policy.rst224 .. attribute:: message_factory
379 The default value for the :attr:`~email.policy.Policy.message_factory`
/external/python/cpython3/Lib/email/
Dpolicy.py86 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/protobuf/
DMakefile.am585 python/google/protobuf/message_factory.py \
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1036 :attr:`~email.policy.Policy.message_factory`, that controls what class is used