/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_floating_point.pass.cpp | 21 static_assert( std::is_floating_point<T>::value, ""); in test_is_floating_point() 22 static_assert( std::is_floating_point<const T>::value, ""); in test_is_floating_point() 23 static_assert( std::is_floating_point<volatile T>::value, ""); in test_is_floating_point() 24 static_assert( std::is_floating_point<const volatile T>::value, ""); in test_is_floating_point() 36 static_assert(!std::is_floating_point<T>::value, ""); in test_is_not_floating_point() 37 static_assert(!std::is_floating_point<const T>::value, ""); in test_is_not_floating_point() 38 static_assert(!std::is_floating_point<volatile T>::value, ""); in test_is_not_floating_point() 39 static_assert(!std::is_floating_point<const volatile T>::value, ""); in test_is_not_floating_point()
|
D | floating_point.pass.cpp | 25 static_assert( std::is_floating_point<T>::value, ""); in test_floating_point_imp() 56 static_assert(!std::is_floating_point<incomplete_type>::value, ""); in main()
|
D | rvalue_ref.pass.cpp | 27 static_assert(!std::is_floating_point<T>::value, ""); in test_rvalue_ref()
|
D | lvalue_ref.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, ""); in test_lvalue_ref()
|
D | union.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_union_imp()
|
D | nullptr.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, ""); in test_nullptr_imp()
|
D | member_object_pointer.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_member_object_pointer_imp()
|
D | void.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_void_imp()
|
D | class.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_class_imp()
|
D | pointer.pass.cpp | 26 static_assert(!std::is_floating_point<T>::value, ""); in test_pointer_imp()
|
D | enum.pass.cpp | 25 static_assert(!std::is_floating_point<T>::value, ""); in test_enum_imp()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits.h | 90 template <class T> struct is_floating_point; 152 template <class T> struct is_floating_point : false_type { }; 153 template<> struct is_floating_point<float> : true_type { }; 154 template<> struct is_floating_point<double> : true_type { }; 155 template<> struct is_floating_point<long double> : true_type { }; 156 template <class T> struct is_floating_point<const T> 157 : is_floating_point<T> { }; 158 template <class T> struct is_floating_point<volatile T> 159 : is_floating_point<T> { }; 160 template <class T> struct is_floating_point<const volatile T> [all …]
|
D | type_traits_unittest.cc | 207 EXPECT_TRUE(is_floating_point<float>::value); in TEST() 208 EXPECT_TRUE(is_floating_point<double>::value); in TEST() 209 EXPECT_TRUE(is_floating_point<long double>::value); in TEST() 212 EXPECT_FALSE(is_floating_point<void>::value); in TEST() 213 EXPECT_FALSE(is_floating_point<long>::value); in TEST() 214 EXPECT_FALSE(is_floating_point<string>::value); in TEST() 215 EXPECT_FALSE(is_floating_point<float*>::value); in TEST() 216 EXPECT_FALSE(is_floating_point<A>::value); in TEST() 217 EXPECT_FALSE((is_floating_point<pair<int, int> >::value)); in TEST() 221 EXPECT_TRUE(is_floating_point<const float>::value); in TEST() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | stl_emulation.h | 139 template <typename T> using is_floating_point = std::is_floating_point<T>; variable 146 template <typename T> using is_floating_point = variable 147 std::tr1::is_floating_point<T>; 165 template <typename T> struct is_floating_point : 166 public std::is_floating_point<T> {};
|
/external/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/ |
D | treat_as_floating_point.pass.cpp | 23 static_assert((std::is_base_of<std::is_floating_point<T>, in test() 26 static_assert(std::is_floating_point<T>::value == in test()
|
/external/libcxx/test/std/numerics/complex.number/cmplx.over/ |
D | conj.pass.cpp | 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) in test() 43 !std::is_floating_point<T>::value>::type* = 0) in test()
|
D | proj.pass.cpp | 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) in test() 43 !std::is_floating_point<T>::value>::type* = 0) in test()
|
/external/libcxx/test/libcxx/input.output/filesystems/ |
D | convert_file_time.sh.cpp | 45 if (sizeof(TimeT) == 8 && !std::is_floating_point<TimeT>::value) in getTimeTTestKind() 47 else if (sizeof(TimeT) == 4 && !std::is_floating_point<TimeT>::value) in getTimeTTestKind() 49 else if (std::is_floating_point<TimeT>::value) in getTimeTTestKind() 57 if (std::is_floating_point<Rep>::value) in getFileTimeTestKind()
|
/external/libchrome/base/numerics/ |
D | safe_math_shared_impl.h | 115 bool IsFloat = std::is_floating_point<Numeric>::value> 143 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr> 162 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr>
|
D | clamped_math_impl.h | 44 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr> 66 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr> 322 typename std::enable_if<std::is_floating_point<T>::value || \ 323 std::is_floating_point<U>::value>::type> { \
|
/external/libcxx/include/ |
D | cmath | 556 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type 568 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type 576 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type 588 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type 596 _LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type 608 _LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type 619 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type");
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 33 bool IsFloat = std::is_floating_point<Numeric>::value> 451 T, U, typename std::enable_if<std::is_floating_point<T>::value || \ 452 std::is_floating_point<U>::value>::type> { \ 485 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr> 504 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr> 523 : (std::is_floating_point<NumericType>::value ? NUMERIC_FLOATING
|
D | safe_conversions_impl.h | 21 static const int value = std::is_floating_point<NumericType>::value 215 typename std::enable_if<std::is_floating_point<T>::value>::type* = 484 !std::is_floating_point<T>::value && 485 !std::is_floating_point<Lhs>::value && 486 !std::is_floating_point<Rhs>::value &&
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | TestUtil.h | 232 std::is_floating_point<T0>::value>::type> 302 typename std::enable_if<std::is_floating_point<Container>::value, \ 332 typename std::enable_if<std::is_floating_point<Container>::value, \ 413 std::is_floating_point<Container>::value, 418 std::is_floating_point<Container>::value, 472 static_assert(std::is_floating_point<Container>::value, \
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 364 template <typename NativeT, typename std::enable_if<std::is_floating_point< 399 !std::is_floating_point<NativeT>::value>::type* = nullptr> 413 std::is_floating_point<NativeT>::value>::type* = nullptr> 442 std::is_floating_point<NativeT>::value>::type* = nullptr> 472 template <typename NativeT, typename std::enable_if<std::is_floating_point< 483 template <typename NativeT, typename std::enable_if<!std::is_floating_point< 535 typename std::enable_if<std::is_floating_point<NativeT>::value || 598 template <typename NativeT, typename std::enable_if<std::is_floating_point< 632 template <typename NativeT, typename std::enable_if<std::is_floating_point< 684 template <typename NativeT, typename std::enable_if<std::is_floating_point< [all …]
|