/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1_messages.py | 847 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json') 958 projection = _messages.EnumField('ProjectionValueValuesEnum', 4) 1041 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 2) 1042 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 3) 1044 projection = _messages.EnumField('ProjectionValueValuesEnum', 5) 1076 projection = _messages.EnumField('ProjectionValueValuesEnum', 5) 1161 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5) 1162 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 6) 1163 projection = _messages.EnumField('ProjectionValueValuesEnum', 7) 1272 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5) [all …]
|
/external/python/apitools/samples/iam_sample/iam_v1/ |
D | iam_v1_messages.py | 129 iam = _messages.EnumField('IamValueValuesEnum', 1) 130 op = _messages.EnumField('OpValueValuesEnum', 2) 132 sys = _messages.EnumField('SysValueValuesEnum', 4) 177 privateKeyType = _messages.EnumField('PrivateKeyTypeValueValuesEnum', 1) 367 publicKeyType = _messages.EnumField('PublicKeyTypeValueValuesEnum', 2) 403 keyTypes = _messages.EnumField('KeyTypesValueValuesEnum', 1, repeated=True) 697 action = _messages.EnumField('ActionValueValuesEnum', 1) 800 privateKeyType = _messages.EnumField('PrivateKeyTypeValueValuesEnum', 3) 914 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1) 916 alt = _messages.EnumField('AltValueValuesEnum', 3, default=u'json')
|
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/ |
D | servicemanagement_v1_messages.py | 62 syntax = _messages.EnumField('SyntaxValueValuesEnum', 6) 401 fileType = _messages.EnumField('FileTypeValueValuesEnum', 4) 630 kind = _messages.EnumField('KindValueValuesEnum', 1) 763 billingInteraction = _messages.EnumField('BillingInteractionValueValuesEnum', 2) 831 syntax = _messages.EnumField('SyntaxValueValuesEnum', 5) 931 cardinality = _messages.EnumField('CardinalityValueValuesEnum', 1) 934 kind = _messages.EnumField('KindValueValuesEnum', 4) 1123 valueType = _messages.EnumField('ValueTypeValueValuesEnum', 3) 1316 syntax = _messages.EnumField('SyntaxValueValuesEnum', 7) 1425 metricKind = _messages.EnumField('MetricKindValueValuesEnum', 4) [all …]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor.py | 138 messages.EnumField: lambda value: six.text_type(value.number), 147 messages.EnumField: int, 207 label = messages.EnumField(Label, 4, default=Label.OPTIONAL) 208 variant = messages.EnumField(Variant, 5) 319 if isinstance(field_definition, messages.EnumField):
|
D | messages_test.py | 660 field = messages.EnumField(Symbol, 1, default=Symbol.ALPHA) 666 field = messages.EnumField( 676 field = messages.EnumField( 686 field = messages.EnumField(descriptor.FieldDescriptor.Label, 698 messages.EnumField, 705 field = messages.EnumField( 1064 messages.EnumField, 1069 messages.EnumField, 1078 field = messages.EnumField(Color, 10) 1085 messages.EnumField, [all …]
|
D | protojson.py | 297 if not isinstance(field, messages.EnumField): 315 if isinstance(field, messages.EnumField):
|
D | messages.py | 1717 class EnumField(Field): class 1784 super(EnumField, self).__init__(number, **kwargs) 1809 return super(EnumField, self).validate_default_element(value) 1835 resolved_default = super(EnumField, self).default
|
D | test_util.py | 299 enum_value = messages.EnumField(SimpleEnum, 10) 334 enum_value = messages.EnumField(SimpleEnum,
|
D | descriptor_test.py | 165 field = messages.EnumField(MyEnum, 10, default=MyEnum.VAL) 172 expected.variant = messages.EnumField.DEFAULT_VARIANT
|
/external/golang-protobuf/cmd/protoc-gen-go/testdata/nopackage/ |
D | nopackage.pb.go | 76 …EnumField *Enum `protobuf:"varint,2,opt,name=enum_field,json=enumField,enum=Enum,def=0" json:"… member 124 if x != nil && x.EnumField != nil { 125 return *x.EnumField
|
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 75 value = messages.EnumField('UnrecognizedEnumMessage.ThisEnum', 2) 92 field_one = messages.EnumField(ThisEnum, 1) 93 field_two = messages.EnumField(ThisEnum, 2, default=ThisEnum.VALUE_TWO) 94 ignored_field = messages.EnumField(ThisEnum, 3) 159 enum_field = messages.EnumField(ThisEnum, 2) 202 enum_field = messages.EnumField(SomeEnum, 1) 203 double_encoding = messages.EnumField(SomeEnum, 2) 205 repeated_enum = messages.EnumField(SomeEnum, 4, repeated=True) 215 enum_field = messages.EnumField(SomeEnum, 1)
|
D | util_test.py | 39 enum_field = messages.EnumField('AnEnum', 2) 40 enum_field_remapping = messages.EnumField('AnEnum', 3)
|
D | encoding_helper.py | 332 elif isinstance(field, messages.EnumField): 376 if isinstance(field, messages.EnumField): 533 if (isinstance(field, messages.EnumField) and
|
/external/scapy/scapy/ |
D | fields.py | 982 class EnumField(_EnumField): class 985 class CharEnumField(EnumField): 987 EnumField.__init__(self, name, default, enum, fmt) 1001 __slots__ = EnumField.__slots__ 1011 class ShortEnumField(EnumField): 1012 __slots__ = EnumField.__slots__ 1014 EnumField.__init__(self, name, default, enum, "H") 1016 class LEShortEnumField(EnumField): 1018 EnumField.__init__(self, name, default, enum, "<H") 1020 class ByteEnumField(EnumField): [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings_factory.py | 10 from field import EnumField 496 EnumField( 517 EnumField(
|
D | field.py | 144 class EnumField(Field): class 156 super(EnumField, self).__init__(
|
/external/python/apitools/samples/dns_sample/dns_v1/ |
D | dns_v1_messages.py | 48 status = _messages.EnumField('StatusValueValuesEnum', 6) 136 sortBy = _messages.EnumField('SortByValueValuesEnum', 5, default=u'changeSequence') 416 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
|
/external/scapy/test/ |
D | fields.uts | 727 + EnumField tests 729 = EnumField tests initialization 731 # Basic EnumField 732 f = EnumField('test', 0, {0: 'Foo', 1: 'Bar'}) 734 rf = EnumField('test', 0, {'Foo': 0, 'Bar': 1}) 735 # EnumField initialized with a list 736 lf = EnumField('test', 0, ['Foo', 'Bar']) 737 # EnumField with i2s_cb/s2i_cb 738 fcb = EnumField('test', 0, ( 752 = EnumField.any2i_one [all …]
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 780 class EnumField(object): class 1081 ('nested_enum', EnumField(1, 'NestedEnum', 'ETA')), 1085 ('nested_enum', EnumField(1, 'NestedEnum', 'ZETA')), 1090 ('nested_enum', EnumField(1, 'NestedEnum', 'BETA')), 1101 ('nested_enum', EnumField(1, 'NestedEnum', 'MU')), 1105 ('nested_enum', EnumField(1, 'NestedEnum', 'IOTA')), 1110 ('nested_enum', EnumField(1, 'NestedEnum', 'GAMMA')), 1127 ('nested_enum', EnumField(1, 'NestedEnum', 'RHO')), 1131 ('nested_enum', EnumField(1, 'NestedEnum', 'PI')), 1136 ('nested_enum', EnumField(1, 'NestedEnum', 'XI')),
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 780 class EnumField(object): class 1081 ('nested_enum', EnumField(1, 'NestedEnum', 'ETA')), 1085 ('nested_enum', EnumField(1, 'NestedEnum', 'ZETA')), 1090 ('nested_enum', EnumField(1, 'NestedEnum', 'BETA')), 1101 ('nested_enum', EnumField(1, 'NestedEnum', 'MU')), 1105 ('nested_enum', EnumField(1, 'NestedEnum', 'IOTA')), 1110 ('nested_enum', EnumField(1, 'NestedEnum', 'GAMMA')), 1127 ('nested_enum', EnumField(1, 'NestedEnum', 'RHO')), 1131 ('nested_enum', EnumField(1, 'NestedEnum', 'PI')), 1136 ('nested_enum', EnumField(1, 'NestedEnum', 'XI')),
|
/external/python/apitools/apitools/gen/ |
D | extended_descriptor.py | 326 if field_type in (messages.EnumField, messages.MessageField): 515 if field_type in (messages.EnumField, messages.MessageField): 530 elif field_type is messages.EnumField:
|
/external/scapy/scapy/layers/tls/ |
D | keyexchange.py | 83 class SigAndHashAlgField(EnumField): 86 getfield = phantom_decorate(EnumField.getfield, True) 87 addfield = phantom_decorate(EnumField.addfield, False) 413 EnumField.__init__(self, name, default, enum, "B")
|
D | handshake_sslv2.py | 201 class _SSLv2CipherSuiteField(EnumField): 203 EnumField.__init__(self, name, default, dico)
|
/external/scapy/scapy/contrib/ |
D | modbus.py | 635 class ModbusByteEnumField(EnumField): 639 EnumField.__init__(self, name, default, enum, "B")
|
/external/python/apitools/samples/bigquery_sample/bigquery_v2/ |
D | bigquery_v2_messages.py | 213 projection = _messages.EnumField('ProjectionValueValuesEnum', 5) 214 stateFilter = _messages.EnumField('StateFilterValueValuesEnum', 6, repeated=True) 1705 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
|