/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pb2.py | 191 message_type=None, enum_type=None, containing_type=None, 219 message_type=None, enum_type=None, containing_type=None, 226 message_type=None, enum_type=None, containing_type=None, 233 message_type=None, enum_type=None, containing_type=None, 240 message_type=None, enum_type=None, containing_type=None, 247 message_type=None, enum_type=None, containing_type=None, 254 message_type=None, enum_type=None, containing_type=None, 261 message_type=None, enum_type=None, containing_type=None, 268 message_type=None, enum_type=None, containing_type=None, 275 message_type=None, enum_type=None, containing_type=None, [all …]
|
D | descriptor_database.py | 55 for enum in file_desc_proto.enum_type: 119 for enum_type in desc_proto.enum_type: 120 yield '.'.join((message_name, enum_type.name))
|
D | descriptor_pool.py | 208 symbols = list(self._ExtractEnums(dep_proto.enum_type, package)) 216 for enum_type in file_proto.enum_type: 217 self._ConvertEnumDescriptor(enum_type, file_proto.package, 262 for enum in desc_proto.enum_type] 368 enum_type=None, 409 field_desc.enum_type = desc 424 field_desc.default_value = field_desc.enum_type.values_by_name[ 474 for symbol in self._ExtractEnums(desc_proto.enum_type, message_name):
|
D | descriptor.py | 256 for enum_type in self.enum_types: 257 enum_type.containing_type = self 429 default_value, message_type, enum_type, containing_type, argument 451 self.enum_type = enum_type
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | protorpc_test_pb2.py | 76 message_type=None, enum_type=None, containing_type=None, 104 message_type=None, enum_type=None, containing_type=None, 111 message_type=None, enum_type=None, containing_type=None, 139 message_type=None, enum_type=None, containing_type=None, 167 message_type=None, enum_type=None, containing_type=None, 174 message_type=None, enum_type=None, containing_type=None, 181 message_type=None, enum_type=None, containing_type=None, 188 message_type=None, enum_type=None, containing_type=None, 195 message_type=None, enum_type=None, containing_type=None, 202 message_type=None, enum_type=None, containing_type=None, [all …]
|
D | messages.py | 1694 def __init__(self, enum_type, number, **kwargs): argument 1710 valid_type = (isinstance(enum_type, six.string_types) or 1711 (enum_type is not Enum and 1712 isinstance(enum_type, type) and 1713 issubclass(enum_type, Enum))) 1716 raise FieldDefinitionError('Invalid enum type: %s' % enum_type) 1718 if isinstance(enum_type, six.string_types): 1719 self.__type_name = enum_type 1722 self.__type = enum_type
|
/external/nanopb-c/generator/proto/ |
D | nanopb_pb2.py | 60 message_type=None, enum_type=None, containing_type=None, 68 message_type=None, enum_type=None, containing_type=None, 76 message_type=None, enum_type=None, containing_type=None, 84 message_type=None, enum_type=None, containing_type=None, 100 message_type=None, enum_type=None, containing_type=None, 107 message_type=None, enum_type=None, containing_type=None, 114 message_type=None, enum_type=None, containing_type=None, 121 message_type=None, enum_type=None, containing_type=None, 128 message_type=None, enum_type=None, containing_type=None, 146 _NANOPBOPTIONS.fields_by_name['type'].enum_type = _FIELDTYPE
|
D | plugin_pb2.py | 29 message_type=None, enum_type=None, containing_type=None, 36 message_type=None, enum_type=None, containing_type=None, 43 message_type=None, enum_type=None, containing_type=None, 71 message_type=None, enum_type=None, containing_type=None, 78 message_type=None, enum_type=None, containing_type=None, 85 message_type=None, enum_type=None, containing_type=None, 112 message_type=None, enum_type=None, containing_type=None, 119 message_type=None, enum_type=None, containing_type=None,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | extended_descriptor.py | 231 def PrintEnum(self, enum_type): argument 246 def __PrintEnumCommentLines(self, enum_type): argument 247 description = enum_type.description or '%s enum type.' % enum_type.name 251 PrintIndentedDescriptions(self.__printer, enum_type.values, 'Values', 260 def PrintEnum(self, enum_type): argument 261 self.__PrintEnumCommentLines(enum_type) 262 self.__printer('enum %s {', enum_type.name) 265 enum_type.values, key=operator.attrgetter('number')) 362 def __PrintEnumDocstringLines(self, enum_type): argument 363 description = enum_type.description or '%s enum type.' % enum_type.name [all …]
|
/external/nanopb-c/generator/google/protobuf/compiler/ |
D | plugin_pb2.py | 33 message_type=None, enum_type=None, containing_type=None, 40 message_type=None, enum_type=None, containing_type=None, 47 message_type=None, enum_type=None, containing_type=None, 75 message_type=None, enum_type=None, containing_type=None, 82 message_type=None, enum_type=None, containing_type=None, 89 message_type=None, enum_type=None, containing_type=None, 116 message_type=None, enum_type=None, containing_type=None, 123 message_type=None, enum_type=None, containing_type=None,
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_database.py | 72 for enum in file_desc_proto.enum_type: 136 for enum_type in desc_proto.enum_type: 137 yield '.'.join((message_name, enum_type.name))
|
D | descriptor_pool.py | 294 for enum_type in file_proto.enum_type: 295 file_descriptor.enum_types_by_name[enum_type.name] = ( 296 self._ConvertEnumDescriptor(enum_type, file_proto.package, 356 for enum in desc_proto.enum_type] 472 enum_type=None, 541 field_desc.enum_type = desc 556 field_desc.default_value = field_desc.enum_type.values_by_name[
|
D | descriptor.py | 273 for enum_type in self.enum_types: 274 enum_type.containing_type = self 456 default_value, message_type, enum_type, containing_type, argument 478 self.enum_type = enum_type 806 for enum_proto in desc_proto.enum_type:
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum_field.cc | 79 const EnumDescriptor* enum_type = descriptor->enum_type(); in SetEnumVariables() local 81 + ToJavaName(params, enum_type->name(), true, in SetEnumVariables() 82 enum_type->containing_type(), enum_type->file()); in SetEnumVariables() 116 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in EnumFieldGenerator() 269 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in AccessorEnumFieldGenerator() 379 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in RepeatedEnumFieldGenerator()
|
D | javanano_file.cc | 143 if (file_->enum_type(i)->name() == classname_) { in Validate() 195 EnumGenerator(file_->enum_type(i), params_).Generate(printer); in Generate() 255 file_->enum_type(i), in GenerateSiblings()
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | enum_type_wrapper.py | 46 def __init__(self, enum_type): argument 48 self._enum_type = enum_type 49 self.DESCRIPTOR = enum_type;
|
/external/protobuf/python/google/protobuf/internal/ |
D | enum_type_wrapper.py | 46 def __init__(self, enum_type): argument 48 self._enum_type = enum_type 49 self.DESCRIPTOR = enum_type;
|
D | descriptor_test.py | 81 message_type=None, enum_type=None, containing_type=None, 606 enum_type = nested_type.enum_type.add() 607 enum_type.name = 'FOO' 608 enum_type_val = enum_type.value.add() 638 self.assertEqual(result.nested_types[0].fields[0].enum_type, 646 enum_type = message_type.enum_type.add() 647 enum_type.name = 'FOO' 648 enum_type_val = enum_type.value.add()
|
D | decoder.py | 372 enum_type = key.enum_type 386 if element in enum_type.values_by_number: 396 if element in enum_type.values_by_number: 412 if element in enum_type.values_by_number: 434 if enum_value in enum_type.values_by_number:
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2131 EXPECT_TRUE(HasSpan('a', 'd', file_.enum_type(0))); in TEST_F() 2132 EXPECT_TRUE(HasSpan('b', 'c', file_.enum_type(0), "name")); in TEST_F() 2133 EXPECT_TRUE(HasSpan('e', 'h', file_.enum_type(1))); in TEST_F() 2134 EXPECT_TRUE(HasSpan('f', 'g', file_.enum_type(1), "name")); in TEST_F() 2147 const EnumValueDescriptorProto& bar = file_.enum_type(0).value(0); in TEST_F() 2148 const EnumValueDescriptorProto& baz = file_.enum_type(0).value(1); in TEST_F() 2159 EXPECT_TRUE(HasSpan(file_.enum_type(0))); in TEST_F() 2160 EXPECT_TRUE(HasSpan(file_.enum_type(0), "name")); in TEST_F() 2170 const EnumDescriptorProto& bar = file_.message_type(0).enum_type(0); in TEST_F() 2171 const EnumDescriptorProto& baz = file_.message_type(0).enum_type(1); in TEST_F() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | encoding.py | 552 def AddCustomJsonEnumMapping(enum_type, python_name, json_name, argument 567 if not issubclass(enum_type, messages.Enum): 569 'Cannot set JSON enum mapping for non-enum "%s"' % enum_type) 570 enum_name = _GetTypeKey(enum_type, package) 571 if python_name not in enum_type.names(): 573 'Enum value %s not a value for type %s' % (python_name, enum_type)) 575 _CheckForExistingMappings('enum', enum_type, python_name, json_name) 610 def GetCustomJsonEnumMapping(enum_type, python_name=None, json_name=None): argument 612 return _FetchRemapping(enum_type.definition_name(), 'enum',
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 71 type_traits_.append(ClassName(descriptor_->enum_type(), true)); in ExtensionGenerator() 73 type_traits_.append(ClassName(descriptor_->enum_type(), true)); in ExtensionGenerator() 187 "type", ClassName(descriptor_->enum_type(), true)); in GenerateRegistration()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 366 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in PrintTopLevelEnums() 447 PrintEnum(*descriptor.enum_type(i)); in PrintNestedEnums() 619 *message_descriptor.enum_type(i)); in PrintDescriptor() 758 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); in FixForeignFieldsInDescriptor() 835 const EnumDescriptor* enum_type = field.enum_type(); in FixForeignFieldsInField() local 836 if (enum_type) { in FixForeignFieldsInField() 837 m["enum_type"] = ModuleLevelDescriptorName(*enum_type); in FixForeignFieldsInField() 896 AddEnumToFileDescriptor(*file_->enum_type(i)); in FixForeignFieldsInDescriptors() 1166 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in FixAllDescriptorOptions() 1236 FixOptionsForEnum(*descriptor.enum_type(i)); in FixOptionsForMessage()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 215 enum_type = enum.enum_type 216 assert enum_type.kind == TypeKind.UINT 224 assert enum.enum_type.kind == TypeKind.LONGLONG
|
/external/clang/test/CodeGenCXX/ |
D | value-init.cpp | 27 enum enum_type { negative_number = -1, magic_number = 42 }; enum 31 enum_type m_enum;
|