Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h81 using make_unsigned_t = typename std::make_unsigned<value_type>::type; variable
101 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
103 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
105 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment()
108 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
109 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
137 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
138 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
140 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
145 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DEndian.h112 using make_unsigned_t = std::make_unsigned_t<value_type>; variable
132 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
134 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
136 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment()
139 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
140 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
168 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
169 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
171 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
176 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment()
[all …]
DMathExtras.h890 using U = std::make_unsigned_t<T>;
916 using U = std::make_unsigned_t<T>;
939 using U = std::make_unsigned_t<T>;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DEndian.h114 using make_unsigned_t = typename std::make_unsigned<value_type>::type; variable
134 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
136 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
138 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment()
141 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
142 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
170 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
171 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
173 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
178 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment()
[all …]
/external/openscreen/util/
Dsaturate_cast.h58 if (static_cast<std::make_unsigned_t<From>>(from) >= in saturate_cast()
72 if (from >= static_cast<typename std::make_unsigned_t<To>>( in saturate_cast()
/external/pigweed/pw_varint/public/pw_varint/
Dvarint.h96 constexpr std::make_unsigned_t<T> ZigZagEncode(T n) { in ZigZagEncode()
98 using U = std::make_unsigned_t<T>; in ZigZagEncode()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
Dmake_unsigned.pass.cpp41 ASSERT_SAME_TYPE(U, std::make_unsigned_t<T>); in test_make_unsigned()
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp57 using U1 = std::make_unsigned_t<Input1>; in do_test()
58 using U2 = std::make_unsigned_t<Input2>; in do_test()
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp57 using U1 = std::make_unsigned_t<Input1>; in do_test()
58 using U2 = std::make_unsigned_t<Input2>; in do_test()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
Dmake_unsigned.pass.cpp42 static_assert((std::is_same<std::make_unsigned_t<T>, U>::value), ""); in test_make_unsigned()
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp56 using U1 = std::make_unsigned_t<Input1>; in do_test()
57 using U2 = std::make_unsigned_t<Input2>; in do_test()
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp54 using U1 = std::make_unsigned_t<Input1>; in do_test()
55 using U2 = std::make_unsigned_t<Input2>; in do_test()
/external/libcxx/test/support/
Dcharconv_test_helpers.h60 return 0 <= v && std::make_unsigned_t<T>(v) <= (xl::max)(); in _fits_in()
67 return v <= std::make_unsigned_t<X>((xl::max)()); in _fits_in()
/external/llvm-project/flang/lib/Parser/
Dcharacters.cpp43 char32_t ch32{static_cast<std::make_unsigned_t<CharT>>(ch)}; in QuoteCharacterLiteralHelper()
132 char32_t uch{static_cast<std::make_unsigned_t<decltype(ch)>>(ch)}; in EncodeString()
/external/pigweed/pw_polyfill/standard_library_public/pw_polyfill/standard_library/
Dtype_traits.h46 using make_unsigned_t = typename make_unsigned<T>::type; variable
/external/pigweed/pw_polyfill/
Dtest.cc167 static_assert(std::is_same<std::make_unsigned_t<int>, in TEST()
/external/llvm-project/llvm/lib/Support/
DNativeFormatting.cpp91 using UnsignedT = std::make_unsigned_t<T>; in write_signed()
/external/llvm-project/libcxx/include/
Dnumeric546 using _Wp = make_unsigned_t<_Rp>;
579 using _Up = make_unsigned_t<_Tp>;
/external/abseil-cpp/absl/meta/
Dtype_traits.h592 using make_unsigned_t = typename std::make_unsigned<T>::type;
/external/webrtc/third_party/abseil-cpp/absl/meta/
Dtype_traits.h592 using make_unsigned_t = typename std::make_unsigned<T>::type;
/external/libtextclassifier/abseil-cpp/absl/meta/
Dtype_traits.h586 using make_unsigned_t = typename std::make_unsigned<T>::type;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/meta/
Dtype_traits.h586 using make_unsigned_t = typename std::make_unsigned<T>::type;
/external/angle/third_party/abseil-cpp/absl/meta/
Dtype_traits.h607 using make_unsigned_t = typename std::make_unsigned<T>::type;
/external/openscreen/third_party/abseil/src/absl/meta/
Dtype_traits.h586 using make_unsigned_t = typename std::make_unsigned<T>::type;

12