Home
last modified time | relevance | path

Searched refs:msg_desc (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py381 def CheckType(self, test, msg_desc, name, file_desc): argument
382 enum_desc = msg_desc.enum_types_by_name[name]
384 expected_enum_full_name = '.'.join([msg_desc.full_name, name])
386 test.assertEqual(msg_desc, enum_desc.containing_type)
394 test.assertIn(value, msg_desc.enum_values_by_name)
436 def CheckField(self, test, msg_desc, name, index): argument
437 field_desc = msg_desc.fields_by_name[name]
438 enum_desc = msg_desc.enum_types_by_name[self.type_name]
440 expected_field_full_name = '.'.join([msg_desc.full_name, name])
450 test.assertEqual(msg_desc, field_desc.containing_type)
[all …]
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2013 const Descriptor* msg_desc = GetMessageDescriptor( in CheckAndGetInteger() local
2021 msg_desc->full_name().c_str(), in CheckAndGetInteger()