Home
last modified time | relevance | path

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

/aosp12/art/libartbase/base/
H A Dhiddenapi_flags.h53 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()
71 return static_cast<T>(ToUint(T::kMin) + i); in GetEnumAt()
131 static_assert(helper::ToUint(Value::kMax) < helper::ToUint(Value::kInvalid));
166 : dex_flags_(helper::ToUint(val) | domain_apis) {
177 if (value == helper::ToUint(Value::kInvalid)) { in GetValue()
179 } else if (value > helper::ToUint(Value::kMax)) { in GetValue()
183 DCHECK_GE(value, helper::ToUint(Value::kMin)); in GetValue()
211 uint32_t GetIntValue() const { return helper::ToUint(GetValue()) - helper::ToUint(Value::kMin); } in GetIntValue()
226 static_assert(helper::ToUint(Value::kMax) + 1 < helper::ToUint(Value::kInvalid)); in FromName()
[all …]