/external/llvm-project/libcxx/test/std/utilities/meta/meta.rel/ |
D | is_convertible.pass.cpp | 19 static_assert((std::is_convertible<T, U>::value), ""); in test_is_convertible() 20 static_assert((std::is_convertible<const T, U>::value), ""); in test_is_convertible() 21 static_assert((std::is_convertible<T, const U>::value), ""); in test_is_convertible() 22 static_assert((std::is_convertible<const T, const U>::value), ""); in test_is_convertible() 34 static_assert((!std::is_convertible<T, U>::value), ""); in test_is_not_convertible() 35 static_assert((!std::is_convertible<const T, U>::value), ""); in test_is_not_convertible() 36 static_assert((!std::is_convertible<T, const U>::value), ""); in test_is_not_convertible() 37 static_assert((!std::is_convertible<const T, const U>::value), ""); in test_is_not_convertible() 86 static_assert(( std::is_convertible<Function, Function&&>::value), ""); in main() 119 static_assert((!std::is_convertible<ConstFunction, Function>::value), ""); in main() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.rel/ |
D | is_convertible.pass.cpp | 20 static_assert((std::is_convertible<T, U>::value), ""); in test_is_convertible() 21 static_assert((std::is_convertible<const T, U>::value), ""); in test_is_convertible() 22 static_assert((std::is_convertible<T, const U>::value), ""); in test_is_convertible() 23 static_assert((std::is_convertible<const T, const U>::value), ""); in test_is_convertible() 35 static_assert((!std::is_convertible<T, U>::value), ""); in test_is_not_convertible() 36 static_assert((!std::is_convertible<const T, U>::value), ""); in test_is_not_convertible() 37 static_assert((!std::is_convertible<T, const U>::value), ""); in test_is_not_convertible() 38 static_assert((!std::is_convertible<const T, const U>::value), ""); in test_is_not_convertible() 86 static_assert(( std::is_convertible<Function, Function&&>::value), ""); in main() 120 static_assert((!std::is_convertible<ConstFunction, Function>::value), ""); in main() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | path.pass.cpp | 55 static_assert(std::is_convertible<directory_entry&, path const&>::value, ""); in test_path_conversion() 56 static_assert(std::is_convertible<directory_entry const&, path const&>::value, ""); in test_path_conversion() 57 static_assert(std::is_convertible<directory_entry &&, path const&>::value, ""); in test_path_conversion() 58 static_assert(std::is_convertible<directory_entry const&&, path const&>::value, ""); in test_path_conversion() 60 static_assert(!std::is_convertible<directory_entry&, path&>::value, ""); in test_path_conversion() 61 static_assert(!std::is_convertible<directory_entry const&, path&>::value, ""); in test_path_conversion() 62 static_assert(!std::is_convertible<directory_entry &&, path&>::value, ""); in test_path_conversion() 63 static_assert(!std::is_convertible<directory_entry const&&, path&>::value, ""); in test_path_conversion()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | path.pass.cpp | 54 static_assert(std::is_convertible<directory_entry&, path const&>::value, ""); in test_path_conversion() 55 static_assert(std::is_convertible<directory_entry const&, path const&>::value, ""); in test_path_conversion() 56 static_assert(std::is_convertible<directory_entry &&, path const&>::value, ""); in test_path_conversion() 57 static_assert(std::is_convertible<directory_entry const&&, path const&>::value, ""); in test_path_conversion() 59 static_assert(!std::is_convertible<directory_entry&, path&>::value, ""); in test_path_conversion() 60 static_assert(!std::is_convertible<directory_entry const&, path&>::value, ""); in test_path_conversion() 61 static_assert(!std::is_convertible<directory_entry &&, path&>::value, ""); in test_path_conversion() 62 static_assert(!std::is_convertible<directory_entry const&&, path&>::value, ""); in test_path_conversion()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
D | rx-predef.hpp | 27 : public std::is_convertible<typename T::action_tag*, tag_action*> {}; 40 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_worker*>::v… 53 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_scheduler*>… 66 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_schedulable… 97 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_observer*>:… 110 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_dynamic_obs… 123 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_subscriber*… 136 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_dynamic_obs… 170 : std::is_convertible<typename T::observable_tag*, tag_observable*> 209 …static const bool value = std::is_convertible<decltype(check<rxu::decay_t<T>>(0)), tag_dynamic_con… [all …]
|
/external/eigen/test/ |
D | meta.cpp | 15 return internal::is_convertible<From,To>::value; in check_is_convertible() 61 VERIFY(( internal::is_convertible<float,double>::value )); in test_meta() 62 VERIFY(( internal::is_convertible<int,double>::value )); in test_meta() 63 VERIFY(( internal::is_convertible<double,int>::value )); in test_meta() 64 VERIFY((!internal::is_convertible<std::complex<double>,double>::value )); in test_meta() 65 VERIFY(( internal::is_convertible<Array33f,Matrix3f>::value )); in test_meta() 67 VERIFY((!internal::is_convertible<Array33f,int>::value )); in test_meta() 68 VERIFY((!internal::is_convertible<MatrixXf,float>::value )); in test_meta()
|
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
D | bool.pass.cpp | 28 static_assert((!std::is_convertible<std::ios, void*>::value), ""); in main() 29 static_assert((!std::is_convertible<std::ios, int>::value), ""); in main() 30 static_assert((!std::is_convertible<std::ios const&, int>::value), ""); in main() 32 static_assert((!std::is_convertible<std::ios, bool>::value), ""); in main()
|
/external/llvm-project/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
D | bool.pass.cpp | 27 static_assert((!std::is_convertible<std::ios, void*>::value), ""); in main() 28 static_assert((!std::is_convertible<std::ios, int>::value), ""); in main() 29 static_assert((!std::is_convertible<std::ios const&, int>::value), ""); in main() 31 static_assert((!std::is_convertible<std::ios, bool>::value), ""); in main()
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq_iterators.hpp | 20 std::is_convertible<Iter, use_default_iterator_operators>::value, 28 std::is_convertible<Iter, use_default_iterator_operators>::value, 36 std::is_convertible<Iter, use_default_iterator_operators>::value, 45 std::is_convertible<Iter, use_default_iterator_operators>::value, 53 std::is_convertible<Iter, use_default_iterator_operators>::value, 61 std::is_convertible<Iter, use_default_iterator_operators>::value, 69 std::is_convertible<Iter, use_default_iterator_operators>::value,
|
/external/libcxx/test/support/ |
D | test_comparisons.h | 114 …static_assert((std::is_convertible<decltype(std::declval<const T&>() == std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 115 …static_assert((std::is_convertible<decltype(std::declval<const T&>() != std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 116 …static_assert((std::is_convertible<decltype(std::declval<const T&>() < std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 117 …static_assert((std::is_convertible<decltype(std::declval<const T&>() <= std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 118 …static_assert((std::is_convertible<decltype(std::declval<const T&>() > std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 119 …static_assert((std::is_convertible<decltype(std::declval<const T&>() >= std::declval<const T&>()),… in AssertComparisons6ConvertibleToBool() 171 …static_assert((std::is_convertible<decltype(std::declval<const T&>() == std::declval<const T&>()),… in AssertComparisons2ConvertibleToBool() 172 …static_assert((std::is_convertible<decltype(std::declval<const T&>() != std::declval<const T&>()),… in AssertComparisons2ConvertibleToBool()
|
/external/llvm-project/libcxx/test/support/ |
D | test_comparisons.h | 113 …static_assert((std::is_convertible<decltype(std::declval<const T&>() == std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 114 …static_assert((std::is_convertible<decltype(std::declval<const T&>() != std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 115 …static_assert((std::is_convertible<decltype(std::declval<const T&>() < std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 116 …static_assert((std::is_convertible<decltype(std::declval<const T&>() <= std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 117 …static_assert((std::is_convertible<decltype(std::declval<const T&>() > std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 118 …static_assert((std::is_convertible<decltype(std::declval<const T&>() >= std::declval<const U&>()),… in AssertComparisons6ConvertibleToBool() 170 …static_assert((std::is_convertible<decltype(std::declval<const T&>() == std::declval<const U&>()),… in AssertComparisons2ConvertibleToBool() 171 …static_assert((std::is_convertible<decltype(std::declval<const T&>() != std::declval<const U&>()),… in AssertComparisons2ConvertibleToBool()
|
/external/clang/test/PCH/ |
D | crash-12631281.cpp | 12 template < class _T2> struct is_convertible; 13 template <> struct is_convertible<int> { typedef int type; }; argument 18 template <class _U1, class _U2, class = typename is_convertible< first_type>::type>
|
/external/llvm-project/clang/test/PCH/ |
D | crash-12631281.cpp | 16 template < class _T2> struct is_convertible; 17 template <> struct is_convertible<int> { typedef int type; }; argument 22 template <class _U1, class _U2, class = typename is_convertible< first_type>::type>
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor.h | 116 std::is_convertible<U, T>::value>::type* = nullptr> 119 std::is_convertible<U, T>::value>::type* = nullptr> 124 std::is_convertible<U, T>::value>::type* = nullptr> 127 std::is_convertible<U, T>::value>::type* = nullptr> 259 typename std::enable_if<std::is_convertible<U, T>::value>::type*> 265 typename std::enable_if<std::is_convertible<U, T>::value>::type*> 276 typename std::enable_if<std::is_convertible<U, T>::value>::type*> 282 typename std::enable_if<std::is_convertible<U, T>::value>::type*>
|
/external/llvm/unittests/ADT/ |
D | ArrayRefTest.cpp | 20 std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value, 23 std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value, 25 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value, 28 !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value, 31 !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value,
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | PR31384.pass.cpp | 64 static_assert(!std::is_convertible< in main() 74 static_assert(std::is_convertible< in main() 78 static_assert(!std::is_convertible< in main()
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | PR31384.pass.cpp | 65 static_assert(!std::is_convertible< in main() 75 static_assert(std::is_convertible< in main() 79 static_assert(!std::is_convertible< in main()
|
/external/icing/icing/text_classifier/lib3/utils/base/ |
D | statusor.h | 51 std::is_convertible<const U&, T>>::value, 60 std::is_convertible<U&&, T>>::value, 69 std::is_convertible<const U&, T>>::value, 78 std::is_convertible<U&&, T>>::value, 216 std::is_convertible<const U&, T>>::value, 225 std::is_convertible<U&&, T>>::value, 235 std::is_convertible<const U&, T>>::value, 243 std::is_convertible<U&&, T>>::value,
|
/external/libtextclassifier/native/utils/base/ |
D | statusor.h | 53 std::is_convertible<const U&, T>>::value, 62 std::is_convertible<U&&, T>>::value, 71 std::is_convertible<const U&, T>>::value, 80 std::is_convertible<U&&, T>>::value, 218 std::is_convertible<const U&, T>>::value, 227 std::is_convertible<U&&, T>>::value, 237 std::is_convertible<const U&, T>>::value, 245 std::is_convertible<U&&, T>>::value,
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | MSVCErrorWorkarounds.h | 62 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) 68 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) 74 std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr)
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MSVCErrorWorkarounds.h | 62 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 69 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 76 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * =
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | shared_ptr_Y.pass.cpp | 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); in main() 57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), ""); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | shared_ptr_Y.pass.cpp | 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), ""); in main() 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), ""); in main()
|
/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | shared_ptr_Y.pass.cpp | 57 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), ""); in main() 58 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 59 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), ""); in main()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/ |
D | statusor.h | 224 std::is_convertible<const U&, T>, 237 absl::negation<std::is_convertible<const U&, T>>, 250 std::is_convertible<U&&, T>, 262 absl::negation<std::is_convertible<U&&, T>>, 336 std::is_convertible<U&&, absl::Status>, 350 absl::negation<std::is_convertible<U&&, absl::Status>>, 364 std::is_convertible<U&&, absl::Status>, 400 absl::negation<std::is_convertible<U&&, absl::Status>>, 429 std::is_constructible<T, U&&>, std::is_convertible<U&&, T>, 434 absl::negation<std::is_convertible<U&&, absl::Status>>, [all …]
|