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``
594 IntFlag section in Derived Enumerations
597 The next variation of :class:`Enum` provided, :class:`IntFlag`, is also based
598 on :class:`int`. The difference being :class:`IntFlag` members can be combined
600 :class:`IntFlag` member. However, as the name implies, :class:`IntFlag`
602 used. Any operation on an :class:`IntFlag` member besides the bit-wise
[all …]
Dssl.rst537 All constants are now :class:`enum.IntEnum` or :class:`enum.IntFlag` collections.
639 :class:`enum.IntFlag` collection of VERIFY_* constants.
873 :class:`enum.IntFlag` collection of OP_* constants.
Dre.rst601 :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.py143 class RegexFlag(enum.IntFlag):
Denum.py790 class IntFlag(int, Flag): class
Dssl.py96 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
/external/python/cpython3/Lib/test/
Dtest_enum.py7 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
2326 class Perm(IntFlag):
2331 class Color(IntFlag):
2338 class Open(IntFlag):
2513 Perm = IntFlag('Perm', 'R W X')
2529 Perm = IntFlag('Perm', 'R W X', start=8)
2545 Perm = IntFlag('Perm', ['R', 'W', 'X'])
2561 Perm = IntFlag('Perm', (('R', 2), ('W', 8), ('X', 32)))
2577 Perm = IntFlag('Perm', OrderedDict((('R', 2), ('W', 8), ('X', 32))))
2594 Perm = enum.IntFlag('Perm', [])
[all …]
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b1.rst651 Convert re flag constants to IntFlag.
670 Add Flag, IntFlag, and auto() to enum module.