Home
last modified time | relevance | path

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

12

/external/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc54 namespace message_factory { namespace
63 DynamicMessageFactory* message_factory = new DynamicMessageFactory(); in NewMessageFactory() local
65 message_factory->SetDelegateToGeneratedFactory(true); in NewMessageFactory()
66 factory->message_factory = message_factory; in NewMessageFactory()
112 delete self->message_factory; in Dealloc()
255 message_factory::Dealloc, // tp_dealloc
276 message_factory::GcTraverse, // tp_traverse
277 message_factory::GcClear, // tp_clear
282 message_factory::Methods, // tp_methods
284 message_factory::Getters, // tp_getset
[all …]
Dmessage_factory.h59 MessageFactory* message_factory; member
76 namespace message_factory {
Ddescriptor.cc188 PyMessageFactory* message_factory, const Message& from, Message* to) { in Reparse() argument
194 input.SetExtensionRegistry(message_factory->pool->pool, in Reparse()
195 message_factory->message_factory); in Reparse()
231 PyMessageFactory* message_factory = in GetOrBuildOptions() local
238 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in GetOrBuildOptions()
239 message_factory, message_type); in GetOrBuildOptions()
266 if (!Reparse(message_factory, options, cmsg->message)) { in GetOrBuildOptions()
301 PyMessageFactory* message_factory = in CopyToPythonProto() local
303 if (!Reparse(message_factory, *descriptor_message, descriptor_message)) { in CopyToPythonProto()
489 CMessageClass* concrete_class(message_factory::GetMessageClass( in GetConcreteClass()
Dextension_dict.cc79 message_factory::GetMessageClass( in len()
177 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in subscript()
426 message_factory::GetMessageClass( in IterNext()
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc54 namespace message_factory { namespace
63 DynamicMessageFactory* message_factory = new DynamicMessageFactory(); in NewMessageFactory() local
65 message_factory->SetDelegateToGeneratedFactory(true); in NewMessageFactory()
66 factory->message_factory = message_factory; in NewMessageFactory()
112 delete self->message_factory; in Dealloc()
255 message_factory::Dealloc, // tp_dealloc
276 message_factory::GcTraverse, // tp_traverse
277 message_factory::GcClear, // tp_clear
282 message_factory::Methods, // tp_methods
284 message_factory::Getters, // tp_getset
[all …]
Dmessage_factory.h59 MessageFactory* message_factory; member
76 namespace message_factory {
Ddescriptor.cc188 PyMessageFactory* message_factory, const Message& from, Message* to) { in Reparse() argument
194 input.SetExtensionRegistry(message_factory->pool->pool, in Reparse()
195 message_factory->message_factory); in Reparse()
231 PyMessageFactory* message_factory = in GetOrBuildOptions() local
238 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in GetOrBuildOptions()
239 message_factory, message_type); in GetOrBuildOptions()
266 if (!Reparse(message_factory, options, cmsg->message)) { in GetOrBuildOptions()
301 PyMessageFactory* message_factory = in CopyToPythonProto() local
303 if (!Reparse(message_factory, *descriptor_message, descriptor_message)) { in CopyToPythonProto()
489 CMessageClass* concrete_class(message_factory::GetMessageClass( in GetConcreteClass()
Dextension_dict.cc79 message_factory::GetMessageClass( in len()
177 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in subscript()
426 message_factory::GetMessageClass( in IterNext()
Dmessage.cc298 if (message_factory::RegisterMessageClass(newtype->py_message_factory, in New()
832 message, descriptor, factory->message_factory); in FixupMessageAfterMerge()
871 GetFactoryForMessage(self->parent)->message_factory); in AssureWritable()
1225 type->py_message_factory->message_factory->GetPrototype( in NewCMessage()
1886 ctx.data().factory = factory->message_factory; in MergeFromString()
2025 message_factory::GetMessageClass(GetFactoryForMessage(self), in ListFields()
2205 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in InternalGetSubMessage()
2226 self->message, field_descriptor, factory->message_factory); in InternalGetSubMessage()
2235 *self->message, field_descriptor, factory->message_factory); in InternalGetSubMessage()
2571 CMessageClass* value_class = message_factory::GetMessageClass( in GetFieldValue()
[all …]
/external/perfetto/python/perfetto/trace_processor/
Dprotos.py16 from google.protobuf import message_factory
46 if hasattr(message_factory, 'GetMessageClass'):
47 return message_factory.GetMessageClass(message_desc)
48 return message_factory.MessageFactory().GetPrototype(message_desc)
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py44 from google.protobuf import message_factory
95 factory = message_factory.MessageFactory()
105 class MyMessageFactory(message_factory.MessageFactory):
133 messages = message_factory.GetMessages([self.factory_test2_fd,
174 factory = message_factory.MessageFactory(pool=pool)
274 factory = message_factory.MessageFactory(pool=pool)
286 factory = message_factory.MessageFactory(pool=pool)
/external/protobuf/python/google/protobuf/
Dreflection.py51 from google.protobuf import message_factory
56 GeneratedProtocolMessageType = message_factory._GENERATED_PROTOCOL_MESSAGE_TYPE
Dsymbol_database.py63 from google.protobuf import message_factory
66 class SymbolDatabase(message_factory.MessageFactory):
Dproto_builder.py39 from google.protobuf import message_factory
72 factory = message_factory.MessageFactory(pool=pool)
/external/cronet/third_party/protobuf/python/google/protobuf/
Dreflection.py51 from google.protobuf import message_factory
56 GeneratedProtocolMessageType = message_factory._GENERATED_PROTOCOL_MESSAGE_TYPE
Dsymbol_database.py63 from google.protobuf import message_factory
66 class SymbolDatabase(message_factory.MessageFactory):
Dproto_builder.py39 from google.protobuf import message_factory
72 factory = message_factory.MessageFactory(pool=pool)
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py44 from google.protobuf import message_factory
95 factory = message_factory.MessageFactory()
105 class MyMessageFactory(message_factory.MessageFactory):
133 messages = message_factory.GetMessages([self.factory_test2_fd,
174 factory = message_factory.MessageFactory(pool=pool)
/external/protobuf/python/docs/google/protobuf/
Dmessage_factory.rst15 google.protobuf.message_factory
18 .. automodule:: google.protobuf.message_factory
/external/cronet/third_party/protobuf/python/docs/google/protobuf/
Dmessage_factory.rst15 google.protobuf.message_factory
18 .. automodule:: google.protobuf.message_factory
/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/openthread/tests/scripts/thread-cert/
Dsniffer.py59 def __init__(self, message_factory): argument
65 self._message_factory = message_factory
/external/pigweed/pw_rpc/py/pw_rpc/
Ddescriptors.py34 from google.protobuf import descriptor_pb2, message_factory
193 annotation = message_factory.MessageFactory(
248 input_factory = message_factory.MessageFactory(
251 output_factory = message_factory.MessageFactory(
/external/perfetto/python/generators/diff_tests/
Dutils.py22 from google.protobuf import descriptor_pb2, message_factory, text_format
92 return message_factory.GetMessages(files)[proto_type]
/external/pigweed/pw_rpc/py/tests/
Ddescriptors_test.py18 from google.protobuf.message_factory import MessageFactory

12