Home
last modified time | relevance | path

Searched refs:is_arithmetic (Results 1 – 25 of 52) sorted by relevance

123

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dis_arithmetic.pass.cpp21 static_assert( std::is_arithmetic<T>::value, ""); in test_is_arithmetic()
22 static_assert( std::is_arithmetic<const T>::value, ""); in test_is_arithmetic()
23 static_assert( std::is_arithmetic<volatile T>::value, ""); in test_is_arithmetic()
24 static_assert( std::is_arithmetic<const volatile T>::value, ""); in test_is_arithmetic()
36 static_assert(!std::is_arithmetic<T>::value, ""); in test_is_not_arithmetic()
37 static_assert(!std::is_arithmetic<const T>::value, ""); in test_is_not_arithmetic()
38 static_assert(!std::is_arithmetic<volatile T>::value, ""); in test_is_not_arithmetic()
39 static_assert(!std::is_arithmetic<const volatile T>::value, ""); in test_is_not_arithmetic()
Dlvalue_ref.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp22 static_assert(!std::is_arithmetic<T>::value, ""); in test_rvalue_ref()
Dvoid.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_void_imp()
Dfloating_point.pass.cpp20 static_assert( std::is_arithmetic<T>::value, ""); in test_floating_point_imp()
Dmember_object_pointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_object_pointer_imp()
Denum.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_enum_imp()
Dpointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_pointer_imp()
Dunion.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_union_imp()
Dfunction.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_function_imp()
Dmember_function_pointer.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_function_pointer_imp()
Dclass.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_class_imp()
Darray.pass.cpp20 static_assert(!std::is_arithmetic<T>::value, ""); in test_array_imp()
/external/libcxx/include/
Dmath.h437 std::is_arithmetic<_A1>::value && std::numeric_limits<_A1>::has_infinity,
447 std::is_arithmetic<_A1>::value && !std::numeric_limits<_A1>::has_infinity,
471 std::is_arithmetic<_A1>::value && std::numeric_limits<_A1>::has_infinity,
481 std::is_arithmetic<_A1>::value && !std::numeric_limits<_A1>::has_infinity,
594 std::is_arithmetic<_A1>::value &&
595 std::is_arithmetic<_A2>::value,
624 std::is_arithmetic<_A1>::value &&
625 std::is_arithmetic<_A2>::value,
654 std::is_arithmetic<_A1>::value &&
655 std::is_arithmetic<_A2>::value,
[all …]
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h46 static_assert(std::is_arithmetic<T>::value, "Argument must be numeric."); in IsValueNegative()
53 static_assert(std::is_arithmetic<T>::value, "Argument must be numeric."); in IsValueNegative()
345 static_assert(std::is_arithmetic<Src>::value, "Argument must be numeric.");
346 static_assert(std::is_arithmetic<Dst>::value, "Result must be numeric.");
546 static const bool value = std::is_arithmetic<type>::value;
556 static const bool value = std::is_arithmetic<type>::value;
570 static const bool is_numeric = std::is_arithmetic<type>::value;
618 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
639 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
660 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
[all …]
/external/eigen/Eigen/src/Core/util/
DMeta.h85 template<typename T> struct is_arithmetic { enum { value = false }; };
86 template<> struct is_arithmetic<float> { enum { value = true }; };
87 template<> struct is_arithmetic<double> { enum { value = true }; };
88 template<> struct is_arithmetic<long double> { enum { value = true }; };
89 template<> struct is_arithmetic<bool> { enum { value = true }; };
90 template<> struct is_arithmetic<char> { enum { value = true }; };
91 template<> struct is_arithmetic<signed char> { enum { value = true }; };
92 template<> struct is_arithmetic<unsigned char> { enum { value = true }; };
93 template<> struct is_arithmetic<signed short> { enum { value = true }; };
94 template<> struct is_arithmetic<unsigned short>{ enum { value = true }; };
[all …]
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h53 static_assert(std::is_arithmetic<T>::value, "Argument must be numeric."); in IsValueNegative()
60 static_assert(std::is_arithmetic<T>::value, "Argument must be numeric."); in IsValueNegative()
401 static_assert(std::is_arithmetic<Src>::value, "Argument must be numeric.");
402 static_assert(std::is_arithmetic<Dst>::value, "Result must be numeric.");
584 static const bool value = std::is_arithmetic<type>::value;
590 static const bool value = std::is_arithmetic<type>::value;
607 static const bool is_numeric = std::is_arithmetic<type>::value;
701 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
722 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
743 static_assert(std::is_arithmetic<L>::value && std::is_arithmetic<R>::value,
[all …]
Dclamped_math_impl.h289 typename std::enable_if<std::is_arithmetic<T>::value &&
290 std::is_arithmetic<U>::value>::type> {
306 typename std::enable_if<std::is_arithmetic<T>::value &&
307 std::is_arithmetic<U>::value>::type> {
Dranges.h21 static_assert(std::is_arithmetic<T>::value, "Argument must be arithmetic"); in IsApproximatelyEqual()
Dchecked_math_impl.h385 typename std::enable_if<std::is_arithmetic<T>::value &&
386 std::is_arithmetic<U>::value>::type> {
406 typename std::enable_if<std::is_arithmetic<T>::value &&
407 std::is_arithmetic<U>::value>::type> {
495 static_assert(std::is_arithmetic<Src>::value, "Argument must be numeric.");
/external/tensorflow/tensorflow/cc/framework/
Dops.h109 std::is_arithmetic<T>::value ||
122 std::is_arithmetic<T>::value ||
135 std::is_arithmetic<T>::value ||
148 std::is_arithmetic<T>::value ||
207 std::is_arithmetic<T>::value ||
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dstring_utils.h30 std::is_arithmetic<T>::value, in ToString()
/external/deqp-deps/SPIRV-Tools/source/util/
Dstring_utils.h30 std::is_arithmetic<T>::value, in ToString()
/external/libcxx/test/std/language.support/support.types/
Dbyte.pass.cpp24 static_assert(!std::is_arithmetic<std::byte>::value, "" );
/external/perfetto/include/perfetto/base/
Dhash.h38 typename std::enable_if<std::is_arithmetic<T>::value>* = nullptr>

123