/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/libcxx/test/std/experimental/filesystem/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/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/clang/test/PCH/ |
D | crash-12631281.cpp | 12 template < class _T2> struct is_convertible; 13 template <> struct is_convertible<int> { typedef int type; }; struct 18 template <class _U1, class _U2, class = typename is_convertible< first_type>::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/Microsoft-GSL/gsl/ |
D | string_span | 348 std::is_convertible<typename Container::pointer, pointer>::value && 349 std::is_convertible<typename Container::pointer, 358 std::is_convertible<typename Container::pointer, pointer>::value && 359 std::is_convertible<typename Container::pointer, 368 class = std::enable_if_t<std::is_convertible< 585 std::is_convertible<T, gsl::basic_string_span<std::add_const_t<CharT>>>::value>> 599 std::is_convertible<T, gsl::basic_string_span<std::add_const_t<CharT>>>::value>> 612 typename = std::enable_if_t<std::is_convertible< 622 std::is_convertible<T, gsl::basic_string_span<std::add_const_t<CharT>, Extent>>::value && 631 typename = std::enable_if_t<std::is_convertible< [all …]
|
/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()
|
D | weak_ptr_Y.pass.cpp | 60 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), ""); in main() 61 static_assert((!std::is_convertible<std::weak_ptr<B>, std::weak_ptr<A> >::value), ""); in main() 62 static_assert((!std::is_convertible<std::weak_ptr<A>, std::weak_ptr<C> >::value), ""); in main()
|
/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()
|
D | shared_ptr_Y_rv.pass.cpp | 60 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); in main() 61 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 62 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), ""); in main()
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/ |
D | memory_resource_convert.pass.cpp | 31 std::is_convertible<decltype(nullptr), A>::value in main() 35 std::is_convertible<ex::memory_resource *, A>::value in main()
|
D | other_alloc.pass.cpp | 32 std::is_convertible<A1 const &, A2>::value, "" in main() 35 std::is_convertible<A2 const &, A1>::value, "" in main()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ErrorOr.h | 98 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type 111 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 120 !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) { 131 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 141 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * =
|
/external/llvm/include/llvm/Support/ |
D | ErrorOr.h | 98 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type 111 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 120 !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) { 131 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = 141 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * =
|
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 614 EXPECT_TRUE((is_convertible<int, int>::value)); in TEST() 615 EXPECT_TRUE((is_convertible<int, long>::value)); in TEST() 616 EXPECT_TRUE((is_convertible<long, int>::value)); in TEST() 618 EXPECT_TRUE((is_convertible<int*, void*>::value)); in TEST() 619 EXPECT_FALSE((is_convertible<void*, int*>::value)); in TEST() 621 EXPECT_TRUE((is_convertible<Derived*, Base*>::value)); in TEST() 622 EXPECT_FALSE((is_convertible<Base*, Derived*>::value)); in TEST() 623 EXPECT_TRUE((is_convertible<Derived*, const Base*>::value)); in TEST() 624 EXPECT_FALSE((is_convertible<const Derived*, Base*>::value)); in TEST()
|
/external/libchrome/base/memory/ |
D | raw_scoped_refptr_mismatch_checker.h | 33 (std::is_convertible<T, subtle::RefCountedBase*>::value || 34 std::is_convertible<T, subtle::RefCountedThreadSafeBase*>::value))
|
/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ |
D | types.pass.cpp | 29 static_assert((std::is_convertible<I1, in main() 35 static_assert((std::is_convertible<I2, in main()
|
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ |
D | types.pass.cpp | 30 static_assert((std::is_convertible<I1, in main() 38 static_assert((std::is_convertible<I2, in main()
|
/external/libcxx/test/std/iterators/stream.iterators/istream.iterator/ |
D | types.pass.cpp | 46 static_assert((std::is_convertible<I1, in main() 56 static_assert((std::is_convertible<I2, in main()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | basic_socket_acceptor.hpp | 229 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) in basic_socket_acceptor() 248 typename enable_if<is_convertible<Protocol1, Protocol>::value, 921 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) in accept() 956 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) in accept() 1005 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) in ASIO_INITFN_RESULT_TYPE()
|
/external/libcxx/test/std/re/re.submatch/ |
D | types.pass.cpp | 39 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), ""); in main() 52 static_assert((std::is_convertible<SM*, std::pair<wchar_t*, wchar_t*>*>::value), ""); in main()
|
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
D | meta.rel.pass.cpp | 53 static_assert(ex::is_convertible_v<T, U> == std::is_convertible<T, U>::value, ""); in main() 59 static_assert(ex::is_convertible_v<T, U> == std::is_convertible<T, U>::value, ""); in main()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | T.pass.cpp | 91 static_assert(std::is_convertible<int &, V>::value, "must be implicit"); in test_T_ctor_basic() 99 static_assert(std::is_convertible<int, V>::value, "must be implicit"); in test_T_ctor_basic()
|