Home
last modified time | relevance | path

Searched refs:EnumField (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py429 class EnumField(object): class
682 ('nested_enum', EnumField(1, 'NestedEnum', 'ETA')),
686 ('nested_enum', EnumField(1, 'NestedEnum', 'ZETA')),
691 ('nested_enum', EnumField(1, 'NestedEnum', 'BETA')),
702 ('nested_enum', EnumField(1, 'NestedEnum', 'MU')),
706 ('nested_enum', EnumField(1, 'NestedEnum', 'IOTA')),
711 ('nested_enum', EnumField(1, 'NestedEnum', 'GAMMA')),
728 ('nested_enum', EnumField(1, 'NestedEnum', 'RHO')),
732 ('nested_enum', EnumField(1, 'NestedEnum', 'PI')),
737 ('nested_enum', EnumField(1, 'NestedEnum', 'XI')),
/external/scapy/scapy/
Dfields.py982 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 …]
Dpacket.py18 MultiEnumField, EnumField, FlagsField
1443 if verbose and isinstance(cur_fld, EnumField) \
/external/scapy/test/
Dfields.uts727 + 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/toolchain-utils/crosperf/
Dfield.py134 class EnumField(Field): class
144 super(EnumField, self).__init__(name, required, default, inheritable,
/external/scapy/scapy/layers/tls/
Dkeyexchange.py83 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")
Dhandshake_sslv2.py201 class _SSLv2CipherSuiteField(EnumField):
203 EnumField.__init__(self, name, default, dico)
Dhandshake.py320 EnumField("cipher", None, _tls_cipher_suites),
401 EnumField("cipher", None, _tls_cipher_suites),
821 EnumField("hash_sig", None, _tls_hash_sig),
Dextensions.py389 EnumField("hash_sig", None,
/external/scapy/scapy/contrib/
Dmodbus.py635 class ModbusByteEnumField(EnumField):
639 EnumField.__init__(self, name, default, enum, "B")
Dhttp2.py1701 fields.EnumField('error', 0, H2ErrorCodes.literal, fmt='!I')
1719 fields.EnumField('id', 0, {
1888 fields.EnumField('error', 0, H2ErrorCodes.literal, fmt='!I'),
1946 fields.EnumField('type', None, {
Ddiameter.py44 class I3BytesEnumField (X3BytesField, EnumField):
48 EnumField.__init__(self, name, default, enum, "!I")
Dhomeplugav.py169 EnumField("HPtype" , 0xA000, HPAVTypeList, "<H") ]
/external/scapy/scapy/layers/
Dl2.py391 class LoIntEnumField(EnumField):
393 EnumField.__init__(self, name, default, enum, "!I")
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs2797 public global::Google.Protobuf.TestProtos.ForeignEnum EnumField { property in Google.Protobuf.TestProtos.TestCamelCaseFieldNames
2863 if (EnumField != other.EnumField) return false; in Equals()
2876 if (EnumField != 0) hash ^= EnumField.GetHashCode(); in GetHashCode()
2898 if (EnumField != 0) { in WriteTo()
2900 output.WriteEnum((int) EnumField); in WriteTo()
2920 if (EnumField != 0) { in CalculateSize()
2921 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumField); in CalculateSize()
2943 if (other.EnumField != 0) { in MergeFrom()
2944 EnumField = other.EnumField; in MergeFrom()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto143 repeated TestEnum EnumField = 22; // NO_PROTO3 field
/external/libmojo/mojo/public/tools/bindings/generators/
Dmojom_java_generator.py138 mojom.EnumField)):
/external/protobuf/src/google/protobuf/
Dunittest_proto3.proto234 ForeignEnum EnumField = 3; field
Dunittest.proto494 optional ForeignEnum EnumField = 3; field
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dtranslate.py450 field = mojom.EnumField()
Dmodule.py605 class EnumField(object): class
/external/scapy/doc/scapy/
Dbuild_dissect.rst905 EnumField(name, default, enum, fmt = "H")