/external/python/enum34/enum/ |
D | __init__.py | 200 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/ |
D | enum.py | 215 enum_class = super().__new__(metacls, cls, bases, classdict, **kwds) 216 enum_class._member_names_ = [] # names in definition order 217 enum_class._member_map_ = {} # name->value map 218 enum_class._member_type_ = member_type 223 k for c in enum_class.mro() 229 enum_class._value2member_map_ = {} 248 _make_class_unpicklable(enum_class) 271 _make_class_unpicklable(enum_class) 285 enum_member = __new__(enum_class) 289 enum_member = __new__(enum_class, *args) [all …]
|
/external/python/absl-py/absl/flags/ |
D | _argument_parser.py | 371 def __init__(self, enum_class, case_sensitive=True): argument 387 if not issubclass(enum_class, enum.Enum): 388 raise TypeError('{} is not a subclass of Enum.'.format(enum_class)) 389 if not enum_class.__members__: 391 .format(enum_class)) 394 name.lower() for name in enum_class.__members__) 404 self.enum_class = enum_class 407 self._member_names = tuple(enum_class.__members__) 410 name.lower() for name in enum_class.__members__) 429 if isinstance(argument, self.enum_class): [all …]
|
D | _flag.py | 355 enum_class, argument 360 enum_class, case_sensitive=case_sensitive) 368 for enum_value in self.parser.enum_class.__members__.keys(): 462 enum_class, argument 466 enum_class, case_sensitive=case_sensitive) 477 for enum_value in self.parser.enum_class.__members__.keys():
|
D | _defines.py | 477 enum_class, 509 enum_class, 825 enum_class, 862 name, default, help, enum_class, case_sensitive=case_sensitive),
|
D | _defines.pyi | 294 enum_class: Type[_ET], 308 enum_class: Type[_ET], 321 enum_class: Type[_ET], 583 enum_class: Type[_ET], 596 enum_class: Type[_ET], 609 enum_class: Type[_ET], 624 enum_class: Type[_ET], 636 enum_class: Type[_ET],
|
D | _flag.pyi | 113 enum_class: Type[_ET], 129 enum_class: Type[_ET],
|
D | _argument_parser.pyi | 80 def __init__(self, enum_class: Type[_ET], case_sensitive: bool=...) -> None:
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | EnumTables.cpp | 16 #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/ |
D | EnumTables.cpp | 15 #define PDB_ENUM_CLASS_ENT(enum_class, enum) \ argument 16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.h | 68 #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/ |
D | builder.py | 108 enum_class = enum_mappings 109 enum_mappings = enum_class.__members__
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | EnumTables.cpp | 15 #define CV_ENUM_CLASS_ENT(enum_class, enum) \ argument 16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
D | TypeDumper.cpp | 72 #define ENUM_ENTRY(enum_class, enum) \ argument 73 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | EnumTables.cpp | 16 #define CV_ENUM_CLASS_ENT(enum_class, enum) \ argument 17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
D | TypeDumpVisitor.cpp | 28 #define ENUM_ENTRY(enum_class, enum) \ argument 29 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
/external/llvm/bindings/python/llvm/ |
D | core.py | 603 for enum_class, enum_spec in enums: 606 enum_class.register(name, value)
|
/external/python/absl-py/ |
D | CHANGELOG.md | 260 * (flags) DEFINE_multi_enum_class: a multi flag variant of enum_class.
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.def | 308 HANDLE_DW_AT(0x6d, enum_class, 4, DWARF)
|