Lines Matching defs:const
28 static const int value = std::is_floating_point<NumericType>::value
37 static const int value = std::numeric_limits<NumericType>::digits +
45 static const size_t value = IntegerBitsPlusSign<Integer>::value - 1;
93 constexpr bool IsCompileTimeConstant(const T v) {
101 constexpr bool IsCompileTimeConstant(const T) {
106 constexpr bool MustTreatAsConstexpr(const T v) {
161 static const NumericRangeRepresentation value =
174 static const NumericRangeRepresentation value =
186 static const NumericRangeRepresentation value = NUMERIC_RANGE_NOT_CONTAINED;
196 constexpr bool IsValid() const { return !is_overflow_ && !is_underflow_; }
197 constexpr bool IsInvalid() const { return is_overflow_ && is_underflow_; }
198 constexpr bool IsOverflow() const { return is_overflow_ && !is_underflow_; }
199 constexpr bool IsUnderflow() const { return !is_overflow_ && is_underflow_; }
200 constexpr bool IsOverflowFlagSet() const { return is_overflow_; }
201 constexpr bool IsUnderflowFlagSet() const { return is_underflow_; }
202 constexpr bool operator==(const RangeCheck rhs) const {
206 constexpr bool operator!=(const RangeCheck rhs) const {
213 const bool is_underflow_;
214 const bool is_overflow_;
244 static const int kShift =
395 static const bool value = StaticDstRangeRelationToSrcRange<Dst, Src>::value ==
515 static const bool is_contained = true;
525 static const bool is_contained = true;
532 static const bool is_contained = false;
541 static const bool value =
570 static const bool is_contained = true;
576 static const bool is_contained = false;
586 static const bool value = std::is_arithmetic<type>::value;
592 static const bool value = std::is_arithmetic<type>::value;
609 static const bool is_numeric = std::is_arithmetic<type>::value;
610 static const bool is_checked = false;
611 static const bool is_clamped = false;
612 static const bool is_strict = false;
618 static const bool is_numeric = true;
619 static const bool is_checked = true;
620 static const bool is_clamped = false;
621 static const bool is_strict = false;
627 static const bool is_numeric = true;
628 static const bool is_checked = false;
629 static const bool is_clamped = true;
630 static const bool is_strict = false;
636 static const bool is_numeric = true;
637 static const bool is_checked = false;
638 static const bool is_clamped = false;
639 static const bool is_strict = true;
644 static const bool value =
651 static const bool value =
659 static const bool value =
672 as_signed(const Src value) {
684 as_unsigned(const Src value) {
691 constexpr bool IsLessImpl(const L lhs,
692 const R rhs,
693 const RangeCheck l_range,
694 const RangeCheck r_range) {
704 static constexpr bool Test(const L lhs, const R rhs) {
711 constexpr bool IsLessOrEqualImpl(const L lhs,
712 const R rhs,
713 const RangeCheck l_range,
714 const RangeCheck r_range) {
724 static constexpr bool Test(const L lhs, const R rhs) {
731 constexpr bool IsGreaterImpl(const L lhs,
732 const R rhs,
733 const RangeCheck l_range,
734 const RangeCheck r_range) {
744 static constexpr bool Test(const L lhs, const R rhs) {
751 constexpr bool IsGreaterOrEqualImpl(const L lhs,
752 const R rhs,
753 const RangeCheck l_range,
754 const RangeCheck r_range) {
764 static constexpr bool Test(const L lhs, const R rhs) {
774 static constexpr bool Test(const L lhs, const R rhs) {
786 static constexpr bool Test(const L lhs, const R rhs) {
797 constexpr bool SafeCompare(const L lhs, const R rhs) {