Home
last modified time | relevance | path

Searched refs:make_unsigned (Results 1 – 25 of 51) sorted by relevance

123

/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h141 template <typename T> using make_unsigned = std::make_unsigned<T>; variable
150 template<typename T> struct make_unsigned { struct
154 template<> struct make_unsigned<char> { using type = unsigned char; }; argument
155 template<> struct make_unsigned<short> { using type = unsigned short; };
156 template<> struct make_unsigned<int> { using type = unsigned int; };
157 template<> struct make_unsigned<long> { using type = unsigned long; };
159 struct make_unsigned<long long> { using type = unsigned long long; };
168 template <typename T> struct make_unsigned : public std::make_unsigned<T> {};
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h38 using type = typename std::make_unsigned<Numeric>::type;
60 using UnsignedDst = typename std::make_unsigned<T>::type;
111 using UnsignedDst = typename std::make_unsigned<T>::type;
162 using UnsignedDst = typename std::make_unsigned<T>::type;
309 using ShiftType = typename std::make_unsigned<T>::type;
339 using ShiftType = typename std::make_unsigned<T>::type;
358 using result_type = typename std::make_unsigned<
377 using result_type = typename std::make_unsigned<
396 using result_type = typename std::make_unsigned<
478 using UnsignedT = typename std::make_unsigned<T>::type;
[all …]
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h143 inline typename std::make_unsigned<T>::type ZigZagEncode(T value) { in ZigZagEncode()
144 return static_cast<typename std::make_unsigned<T>::type>( in ZigZagEncode()
164 using UnsignedType = typename std::make_unsigned<MaybeExtendedType>::type; in WriteVarInt()
/external/libchrome/base/numerics/
Dsafe_math_shared_impl.h120 using type = typename std::make_unsigned<Numeric>::type;
136 using UnsignedT = typename std::make_unsigned<T>::type;
150 constexpr typename std::make_unsigned<T>::type InvertWrapper(T value) {
Dchecked_math_impl.h28 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl()
88 using UnsignedDst = typename std::make_unsigned<T>::type;
148 using UnsignedDst = typename std::make_unsigned<T>::type;
328 using result_type = typename std::make_unsigned<
347 using result_type = typename std::make_unsigned<
366 using result_type = typename std::make_unsigned<
Dclamped_math_impl.h240 using result_type = typename std::make_unsigned<
257 using result_type = typename std::make_unsigned<
274 using result_type = typename std::make_unsigned<
Dsafe_conversions_impl.h73 using UnsignedT = typename std::make_unsigned<T>::type; in ConditionalNegate()
80 constexpr typename std::make_unsigned<T>::type SafeUnsignedAbs(T value) { in SafeUnsignedAbs()
82 using UnsignedT = typename std::make_unsigned<T>::type; in SafeUnsignedAbs()
680 constexpr typename std::make_unsigned<
/external/v8/src/
Dsource-position-table.cc55 auto encoded = static_cast<typename std::make_unsigned<T>::type>(value); in EncodeInt()
85 decoded |= static_cast<typename std::make_unsigned<T>::type>( in DecodeInt()
/external/tensorflow/tensorflow/core/framework/
Dbounds_check.h34 typedef typename std::make_unsigned<decltype(index + limit)>::type UIndex; in FastBoundsCheck()
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
Dsize_type.pass.cpp70 std::make_unsigned<std::ptrdiff_t>::type>::value), ""); in main()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
Dmake_unsigned.pass.cpp40 static_assert((std::is_same<typename std::make_unsigned<T>::type, U>::value), ""); in test_make_unsigned()
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.h56 using Unsigned = typename std::make_unsigned<Signed>::type;
228 using Intermediate = typename std::make_unsigned<CType>::type; in toBlackboard()
/external/libcxx/test/std/utilities/allocator.adaptor/
Dtypes.pass.cpp46 std::make_unsigned<std::ptrdiff_t>::type>::value), ""); in main()
/external/libcxx/test/std/containers/associative/set/
Dtypes.pass.cpp66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/associative/multiset/
Dtypes.pass.cpp66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dtypes.pass.cpp65 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dtypes.pass.cpp65 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/associative/map/
Dtypes.pass.cpp66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/associative/multimap/
Dtypes.pass.cpp66 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dtypes.pass.cpp65 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/boringssl/src/crypto/
Dcompiler_test.cc39 using UnsignedT = typename std::make_unsigned<T>::type; in CheckRepresentation()
/external/libcxx/test/std/containers/unord/unord.multimap/
Dtypes.pass.cpp68 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/libcxx/test/std/containers/unord/unord.map/
Dtypes.pass.cpp68 …static_assert((std::is_same<C::size_type, std::make_unsigned<C::difference_type>::type>::value), "… in main()
/external/autotest/client/deps/glbench/src/
Dutils.h57 typename std::make_unsigned<INT>::type res = value < 0 ? -value : value; in IntToString()
/external/tensorflow/tensorflow/core/kernels/
Dmultinomial_op_gpu.cu.cc48 using UnsignedOutputType = typename std::make_unsigned<OutputType>::type; in MultinomialKernel()

123