Home
last modified time | relevance | path

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

/third_party/python/Doc/library/
Denum.rst34 :class:`IntFlag`. It also defines one decorator, :func:`unique`, and one
47 .. class:: IntFlag
50 the bitwise operators without losing their :class:`IntFlag` membership.
51 :class:`IntFlag` members are also subclasses of :class:`int`.
67 .. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``
605 IntFlag section in Derived Enumerations
608 The next variation of :class:`Enum` provided, :class:`IntFlag`, is also based
609 on :class:`int`. The difference being :class:`IntFlag` members can be combined
611 :class:`IntFlag` member. However, as the name implies, :class:`IntFlag`
613 used. Any operation on an :class:`IntFlag` member besides the bit-wise
[all …]
Dssl.rst551 All constants are now :class:`enum.IntEnum` or :class:`enum.IntFlag` collections.
671 :class:`enum.IntFlag` collection of VERIFY_* constants.
907 :class:`enum.IntFlag` collection of OP_* constants.
Dre.rst607 :class:`enum.IntFlag`.
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerDriver.cpp38 int *IntFlag; member
147 if (FlagDescriptions[F].IntFlag) { in ParseOneFlag()
149 *FlagDescriptions[F].IntFlag = Val; in ParseOneFlag()
178 if (FlagDescriptions[F].IntFlag) in ParseFlags()
179 *FlagDescriptions[F].IntFlag = FlagDescriptions[F].Default; in ParseFlags()
/third_party/python/Lib/
Dsocket.py55 from enum import IntEnum, IntFlag
85 IntFlag._convert_(
90 IntFlag._convert_(
Dre.py145 class RegexFlag(enum.IntFlag):
Denum.py932 class IntFlag(int, Flag): class
Dssl.py96 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
/third_party/python/Lib/test/
Dtest_enum.py8 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
2670 class Perm(IntFlag):
2675 class Open(IntFlag):
2682 class Color(IntFlag):
2863 Perm = IntFlag('Perm', 'R W X')
2879 Perm = IntFlag('Perm', 'R W X', start=8)
2895 Perm = IntFlag('Perm', ['R', 'W', 'X'])
2911 Perm = IntFlag('Perm', (('R', 2), ('W', 8), ('X', 32)))
2927 Perm = IntFlag('Perm', OrderedDict((('R', 2), ('W', 8), ('X', 32))))
2944 Perm = enum.IntFlag('Perm', [])
[all …]
/third_party/python/Misc/NEWS.d/
D3.6.0b1.rst651 Convert re flag constants to IntFlag.
670 Add Flag, IntFlag, and auto() to enum module.
D3.10.0a4.rst674 fix ``format()`` behavior for ``IntFlag``
D3.10.0a1.rst1242 `enum.Flag` and `enum.IntFlag` members are now iterable