Searched refs:IntFlag (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | enum.rst | 28 :class:`IntFlag`. It also defines one decorator, :func:`unique`, and one 41 .. class:: IntFlag 44 the bitwise operators without losing their :class:`IntFlag` membership. 45 :class:`IntFlag` members are also subclasses of :class:`int`. 60 .. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto`` 586 IntFlag section in Derived Enumerations 589 The next variation of :class:`Enum` provided, :class:`IntFlag`, is also based 590 on :class:`int`. The difference being :class:`IntFlag` members can be combined 592 :class:`IntFlag` member. However, as the name implies, :class:`IntFlag` 594 used. Any operation on an :class:`IntFlag` member besides the bit-wise [all …]
|
D | ssl.rst | 521 All constants are now :class:`enum.IntEnum` or :class:`enum.IntFlag` collections. 606 :class:`enum.IntFlag` collection of VERIFY_* constants. 797 :class:`enum.IntFlag` collection of OP_* constants.
|
D | re.rst | 489 :class:`enum.IntFlag`.
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerDriver.cpp | 35 int *IntFlag; member 143 if (FlagDescriptions[F].IntFlag) { in ParseOneFlag() 145 *FlagDescriptions[F].IntFlag = Val; in ParseOneFlag() 174 if (FlagDescriptions[F].IntFlag) in ParseFlags() 175 *FlagDescriptions[F].IntFlag = FlagDescriptions[F].Default; in ParseFlags()
|
/external/python/cpython3/Lib/ |
D | socket.py | 53 from enum import IntEnum, IntFlag 83 IntFlag._convert( 88 IntFlag._convert(
|
D | re.py | 142 class RegexFlag(enum.IntFlag):
|
D | enum.py | 755 class IntFlag(int, Flag): class
|
D | ssl.py | 99 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 6 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto 2034 class Perm(IntFlag): 2039 class Open(IntFlag): 2214 Perm = IntFlag('Perm', 'R W X') 2230 Perm = IntFlag('Perm', 'R W X', start=8) 2246 Perm = IntFlag('Perm', ['R', 'W', 'X']) 2262 Perm = IntFlag('Perm', (('R', 2), ('W', 8), ('X', 32))) 2278 Perm = IntFlag('Perm', OrderedDict((('R', 2), ('W', 8), ('X', 32)))) 2326 class TestFlag(IntFlag):
|
/external/python/cpython3/Misc/ |
D | NEWS | 1170 - Issue #28082: Convert re flag constants to IntFlag. 1175 - Issue #23591: Add Flag, IntFlag, and auto() to enum module.
|