Home
last modified time | relevance | path

Searched refs:enum_class (Results 1 – 19 of 19) sorted by relevance

/external/python/enum34/enum/
D__init__.py200 enum_class = super(EnumMeta, metacls).__new__(metacls, cls, bases, classdict)
201 enum_class._member_names_ = [] # names in random order
203 enum_class._member_map_ = OrderedDict()
205 enum_class._member_map_ = {} # name->value map
206 enum_class._member_type_ = member_type
209 enum_class._value2member_map_ = {}
216 __new__ = enum_class.__new__
226 enum_member = __new__(enum_class)
230 enum_member = __new__(enum_class, *args)
235 enum_member.__objclass__ = enum_class
[all …]
/external/python/cpython3/Lib/
Denum.py171 enum_class = super().__new__(metacls, cls, bases, classdict)
172 enum_class._member_names_ = [] # names in definition order
173 enum_class._member_map_ = {} # name->value map
174 enum_class._member_type_ = member_type
178 dynamic_attributes = {k for c in enum_class.mro()
183 enum_class._value2member_map_ = {}
200 _make_class_unpicklable(enum_class)
215 enum_member = __new__(enum_class)
219 enum_member = __new__(enum_class, *args)
227 enum_member.__objclass__ = enum_class
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DEnumTables.cpp16 #define PDB_ENUM_CLASS_ENT(enum_class, enum) \ argument
17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DEnumTables.cpp15 #define PDB_ENUM_CLASS_ENT(enum_class, enum) \ argument
16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DEnumTables.cpp15 #define PDB_ENUM_CLASS_ENT(enum_class, enum) \ argument
16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/llvm-project/llvm/tools/llvm-readobj/
Dllvm-readobj.h49 #define LLVM_READOBJ_ENUM_CLASS_ENT(enum_class, enum) \ argument
50 { #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.h68 #define LLVM_READOBJ_ENUM_CLASS_ENT(enum_class, enum) \ argument
69 { #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
/external/python/parse_type/parse_type/
Dbuilder.py108 enum_class = enum_mappings
109 enum_mappings = enum_class.__members__
/external/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp15 #define CV_ENUM_CLASS_ENT(enum_class, enum) \ argument
16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
DTypeDumper.cpp72 #define ENUM_ENTRY(enum_class, enum) \ argument
73 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp16 #define CV_ENUM_CLASS_ENT(enum_class, enum) \ argument
17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
DTypeDumpVisitor.cpp28 #define ENUM_ENTRY(enum_class, enum) \ argument
29 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp16 #define CV_ENUM_CLASS_ENT(enum_class, enum) \ argument
17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
DTypeDumpVisitor.cpp28 #define ENUM_ENTRY(enum_class, enum) \ argument
29 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/external/llvm/bindings/python/llvm/
Dcore.py603 for enum_class, enum_spec in enums:
606 enum_class.register(name, value)
/external/llvm-project/llvm/bindings/python/llvm/
Dcore.py617 for enum_class, enum_spec in enums:
620 enum_class.register(name, value)
/external/llvm-project/clang/test/Parser/
DMicrosoftExtensions.cpp447 namespace enum_class {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def308 HANDLE_DW_AT(0x6d, enum_class, 4, DWARF)
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DDwarf.def321 HANDLE_DW_AT(0x6d, enum_class, 4, DWARF)