Lines Matching refs:kMax
53 return BitMask(ToUint(T::kMax) + 1) & (~BitMask(ToUint(T::kMin))); in BitMask()
66 constexpr uint32_t NumValues() { return ToUint(T::kMax) - ToUint(T::kMin) + 1; } in NumValues()
105 kMax = kGreylistMaxR, enumerator
116 kMax = kTestApi, enumerator
123 static_assert(kValueBitSize >= MinimumBitsToStore(helper::ToUint(Value::kMax)),
128 static_assert(helper::MatchesBitMask(Value::kMax, kValueBitMask));
131 static_assert(helper::ToUint(Value::kMax) < helper::ToUint(Value::kInvalid));
152 /* whitelist */ SdkVersion::kMax,
153 /* greylist */ SdkVersion::kMax,
177 DCHECK_LE(value, helper::ToUint(Value::kMax)); in GetValue()
347 static_assert(Value::kMax == helper::GetEnumAt<Value>(kValueCount - 1));
350 static_assert(DomainApi::kMax == helper::GetEnumAt<DomainApi>(kDomainApiCount - 1));