Searched refs:enum_desc (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 265 enum_desc = msg_desc.enum_types_by_name[name] 266 test.assertEqual(name, enum_desc.name) 268 test.assertEqual(expected_enum_full_name, enum_desc.full_name) 269 test.assertEqual(msg_desc, enum_desc.containing_type) 270 test.assertEqual(file_desc, enum_desc.file) 272 value_desc = enum_desc.values_by_name[value] 276 test.assertEqual(enum_desc, value_desc.type) 321 enum_desc = msg_desc.enum_types_by_name[self.type_name] 331 test.assertEqual(enum_desc.values_by_name[self.default_value].index, 334 test.assertEqual(enum_desc, field_desc.enum_type)
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 808 enum_desc = EnumDescriptor( 812 enum_types[full_name] = enum_desc 828 enum_desc = None 837 enum_desc = enum_types[full_type_name] 843 field_proto.label, None, nested_desc, enum_desc, None, False, None,
|
D | descriptor_pool.py | 129 def AddEnumDescriptor(self, enum_desc): argument 138 if not isinstance(enum_desc, descriptor.EnumDescriptor): 141 self._enum_descriptors[enum_desc.full_name] = enum_desc 142 self.AddFileDescriptor(enum_desc.file)
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pool.py | 493 enum_desc = self.FindEnumTypeByName(enum_name) 494 yield (enum_name, enum_desc)
|