Lines Matching refs:_value_
217 enum_member._value_ = value
222 enum_member._value_ = value
224 enum_member._value_ = member_type(*args)
225 value = enum_member._value_
232 if canonical_member._value_ == enum_member._value_:
597 if member._value_ == value:
635 self.__class__.__name__, self._name_, self._value_)
662 val = self._value_
669 return self.__class__, (self._value_, )
686 return self._value_
742 pseudo_member._value_ = value
753 return other._value_ & self._value_ == other._value_
758 return '<%s.%s: %r>' % (cls.__name__, self._name_, self._value_)
759 members, uncovered = _decompose(cls, self._value_)
762 '|'.join([str(m._name_ or m._value_) for m in members]),
763 self._value_,
770 members, uncovered = _decompose(cls, self._value_)
772 return '%s.%r' % (cls.__name__, members[0]._value_)
776 '|'.join([str(m._name_ or m._value_) for m in members]),
780 return bool(self._value_)
785 return self.__class__(self._value_ | other._value_)
790 return self.__class__(self._value_ & other._value_)
795 return self.__class__(self._value_ ^ other._value_)
798 members, uncovered = _decompose(self.__class__, self._value_)
801 if m not in members and not (m._value_ & self._value_):
840 pseudo_member._value_ = value
849 result = self.__class__(self._value_ | self.__class__(other)._value_)
855 return self.__class__(self._value_ & self.__class__(other)._value_)
860 return self.__class__(self._value_ ^ self.__class__(other)._value_)
867 result = self.__class__(~self._value_)
909 members.sort(key=lambda m: m._value_, reverse=True)