Searched refs:enum_desc (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | descriptor_pool.py | 150 def AddEnumDescriptor(self, enum_desc): argument 159 if not isinstance(enum_desc, descriptor.EnumDescriptor): 162 self._enum_descriptors[enum_desc.full_name] = enum_desc 163 self.AddFileDescriptor(enum_desc.file) 343 def _AddEnumDescriptor(enum_desc): argument 344 self._enum_descriptors[enum_desc.full_name] = enum_desc
|
D | descriptor.py | 950 enum_desc = EnumDescriptor( 954 enum_types[full_name] = enum_desc 971 enum_desc = None 980 enum_desc = enum_types[full_type_name] 986 field_proto.label, None, nested_desc, enum_desc, None, False, None,
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 383 enum_desc = msg_desc.enum_types_by_name[name] 384 test.assertEqual(name, enum_desc.name) 386 test.assertEqual(expected_enum_full_name, enum_desc.full_name) 387 test.assertEqual(msg_desc, enum_desc.containing_type) 388 test.assertEqual(file_desc, enum_desc.file) 390 value_desc = enum_desc.values_by_name[value] 394 test.assertEqual(enum_desc, value_desc.type) 439 enum_desc = msg_desc.enum_types_by_name[self.type_name] 449 test.assertEqual(enum_desc.values_by_name[self.default_value].number, 452 test.assertEqual(enum_desc, field_desc.enum_type)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | text_format.cc | 1841 const EnumValueDescriptor* enum_desc = in PrintFieldValue() local 1843 if (enum_desc != NULL) { in PrintFieldValue() 1844 generator.Print(printer->PrintEnum(enum_value, enum_desc->name())); in PrintFieldValue()
|
D | descriptor.cc | 5505 const EnumDescriptor* enum_desc = message->enum_type(i); in DetectMapConflicts() local 5507 seen_types.find(enum_desc->name()); in DetectMapConflicts()
|