Home
last modified time | relevance | path

Searched refs:IntFlag (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Doc/library/
Denum.rst28 :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 …]
Dssl.rst521 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.
Dre.rst489 :class:`enum.IntFlag`.
/external/llvm/lib/Fuzzer/
DFuzzerDriver.cpp35 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/
Dsocket.py53 from enum import IntEnum, IntFlag
83 IntFlag._convert(
88 IntFlag._convert(
Dre.py142 class RegexFlag(enum.IntFlag):
Denum.py755 class IntFlag(int, Flag): class
Dssl.py99 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
/external/python/cpython3/Lib/test/
Dtest_enum.py6 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/
DNEWS1170 - Issue #28082: Convert re flag constants to IntFlag.
1175 - Issue #23591: Add Flag, IntFlag, and auto() to enum module.