Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_utils.h34 using unsigned_type = typename std::make_unsigned<T>::type; in BitSizeOf() local
35 static_assert(sizeof(T) == sizeof(unsigned_type), "Unexpected type size mismatch!"); in BitSizeOf()
36 static_assert(std::numeric_limits<unsigned_type>::radix == 2, "Unexpected radix!"); in BitSizeOf()
37 return std::numeric_limits<unsigned_type>::digits; in BitSizeOf()
64 using unsigned_type = typename std::make_unsigned<T>::type; in JAVASTYLE_CLZ() local
65 return (x == 0) ? BitSizeOf<T>() : CLZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CLZ()
83 using unsigned_type = typename std::make_unsigned<T>::type; in JAVASTYLE_CTZ() local
84 return (x == 0) ? BitSizeOf<T>() : CTZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CTZ()
285 using unsigned_type = typename std::make_unsigned<T>::type; in IsUint() local
288 (static_cast<unsigned_type>(value) <= GetIntLimit<unsigned_type>(kBits) * 2u - 1u)); in IsUint()
[all …]