Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DEndian.h82 using make_unsigned_t = typename std::make_unsigned<value_type>::type; variable
102 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
104 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
106 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment()
109 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
110 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
138 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
139 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
141 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
146 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment()
[all …]
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
Dmake_unsigned.pass.cpp36 static_assert((std::is_same<std::make_unsigned_t<T>, U>::value), ""); in test_make_unsigned()
/external/libcxx/include/
Dtype_traits173 using make_unsigned_t = typename make_unsigned<T>::type; // C++14
1463 template <class _Tp> using make_unsigned_t = typename make_unsigned<_Tp>::type;