Searched refs:is_same (Results 176 - 200 of 391) sorted by relevance

1234567891011>>

/external/libcxx/test/strings/c.strings/
H A Dcctype.pass.cpp74 static_assert((std::is_same<decltype(std::isalnum(0)), int>::value), "");
75 static_assert((std::is_same<decltype(std::isalpha(0)), int>::value), "");
76 static_assert((std::is_same<decltype(std::isblank(0)), int>::value), "");
77 static_assert((std::is_same<decltype(std::iscntrl(0)), int>::value), "");
78 static_assert((std::is_same<decltype(std::isdigit(0)), int>::value), "");
79 static_assert((std::is_same<decltype(std::isgraph(0)), int>::value), "");
80 static_assert((std::is_same<decltype(std::islower(0)), int>::value), "");
81 static_assert((std::is_same<decltype(std::isprint(0)), int>::value), "");
82 static_assert((std::is_same<decltype(std::ispunct(0)), int>::value), "");
83 static_assert((std::is_same<decltyp
[all...]
/external/libcxx/test/input.output/file.streams/fstreams/filebuf/
H A Dtypes.pass.cpp29 static_assert((std::is_same<std::basic_filebuf<char>::char_type, char>::value), "");
30 static_assert((std::is_same<std::basic_filebuf<char>::traits_type, std::char_traits<char> >::value), "");
31 static_assert((std::is_same<std::basic_filebuf<char>::int_type, std::char_traits<char>::int_type>::value), "");
32 static_assert((std::is_same<std::basic_filebuf<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33 static_assert((std::is_same<std::basic_filebuf<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/file.streams/fstreams/fstream/
H A Dtypes.pass.cpp29 static_assert((std::is_same<std::basic_fstream<char>::char_type, char>::value), "");
30 static_assert((std::is_same<std::basic_fstream<char>::traits_type, std::char_traits<char> >::value), "");
31 static_assert((std::is_same<std::basic_fstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32 static_assert((std::is_same<std::basic_fstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33 static_assert((std::is_same<std::basic_fstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/file.streams/fstreams/ifstream/
H A Dtypes.pass.cpp29 static_assert((std::is_same<std::basic_ifstream<char>::char_type, char>::value), "");
30 static_assert((std::is_same<std::basic_ifstream<char>::traits_type, std::char_traits<char> >::value), "");
31 static_assert((std::is_same<std::basic_ifstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32 static_assert((std::is_same<std::basic_ifstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33 static_assert((std::is_same<std::basic_ifstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/file.streams/fstreams/ofstream/
H A Dtypes.pass.cpp29 static_assert((std::is_same<std::basic_ofstream<char>::char_type, char>::value), "");
30 static_assert((std::is_same<std::basic_ofstream<char>::traits_type, std::char_traits<char> >::value), "");
31 static_assert((std::is_same<std::basic_ofstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32 static_assert((std::is_same<std::basic_ofstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33 static_assert((std::is_same<std::basic_ofstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/
H A Dtypes.pass.cpp32 static_assert((std::is_same<std::basic_iostream<char>::char_type, char>::value), "");
33 static_assert((std::is_same<std::basic_iostream<char>::traits_type, std::char_traits<char> >::value), "");
34 static_assert((std::is_same<std::basic_iostream<char>::int_type, std::char_traits<char>::int_type>::value), "");
35 static_assert((std::is_same<std::basic_iostream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
36 static_assert((std::is_same<std::basic_iostream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/iostream.format/input.streams/istream/
H A Dtypes.pass.cpp30 static_assert((std::is_same<std::basic_istream<char>::char_type, char>::value), "");
31 static_assert((std::is_same<std::basic_istream<char>::traits_type, std::char_traits<char> >::value), "");
32 static_assert((std::is_same<std::basic_istream<char>::int_type, std::char_traits<char>::int_type>::value), "");
33 static_assert((std::is_same<std::basic_istream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
34 static_assert((std::is_same<std::basic_istream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/iostream.format/output.streams/ostream/
H A Dtypes.pass.cpp30 static_assert((std::is_same<std::basic_ostream<char>::char_type, char>::value), "");
31 static_assert((std::is_same<std::basic_ostream<char>::traits_type, std::char_traits<char> >::value), "");
32 static_assert((std::is_same<std::basic_ostream<char>::int_type, std::char_traits<char>::int_type>::value), "");
33 static_assert((std::is_same<std::basic_ostream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
34 static_assert((std::is_same<std::basic_ostream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/input.output/iostreams.base/ios/
H A Dtypes.pass.cpp28 static_assert((std::is_same<std::basic_ios<char>::char_type, char>::value), "");
29 static_assert((std::is_same<std::basic_ios<char>::traits_type, std::char_traits<char> >::value), "");
30 static_assert((std::is_same<std::basic_ios<char>::int_type, std::char_traits<char>::int_type>::value), "");
31 static_assert((std::is_same<std::basic_ios<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
32 static_assert((std::is_same<std::basic_ios<char>::off_type, std::char_traits<char>::off_type>::value), "");
/external/libcxx/test/utilities/function.objects/refwrap/
H A Dweak_result.pass.cpp59 static_assert((std::is_same<std::reference_wrapper<functor1>::result_type,
61 static_assert((std::is_same<std::reference_wrapper<functor2>::result_type,
63 static_assert((std::is_same<std::reference_wrapper<functor3>::result_type,
65 static_assert((std::is_same<std::reference_wrapper<void()>::result_type,
67 static_assert((std::is_same<std::reference_wrapper<int*(double*)>::result_type,
69 static_assert((std::is_same<std::reference_wrapper<void(*)()>::result_type,
71 static_assert((std::is_same<std::reference_wrapper<int*(*)(double*)>::result_type,
73 static_assert((std::is_same<std::reference_wrapper<int*(C::*)(double*)>::result_type,
75 static_assert((std::is_same<std::reference_wrapper<int (C::*)(double*) const volatile>::result_type,
77 static_assert((std::is_same<st
[all...]
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
H A Drebind_alloc.pass.cpp67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double> >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, char> >::value), "");
71 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::value), "");
73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), "");
75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), "");
76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), "");
77 static_assert((std::is_same<st
[all...]
H A Dconst_pointer.pass.cpp52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::value), "");
H A Dconst_void_pointer.pass.cpp52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_void_pointer, const void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_void_pointer, CPtr<const void> >::value), "");
H A Ddifference_type.pass.cpp59 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), "");
60 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), "");
61 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
H A Dsize_type.pass.cpp58 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "");
59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type,
61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
H A Dvoid_pointer.pass.cpp52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::void_pointer, void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::void_pointer, CPtr<void> >::value), "");
/external/libcxx/test/utilities/memory/allocator.traits/
H A Drebind_traits.pass.cpp67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "");
71 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>, std::allocator_traits<E<double> > >::value), "");
73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::allocator_traits<ReboundA<double> > >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, std::allocator_traits<ReboundB<double, char> > >::value), "");
75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::allocator_traits<C<double> > >::value), "");
76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, std::allocator_traits<D<double, char> > >::value), "");
77 static_assert((std::is_same<st
[all...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp3-1y.cpp52 template<typename T, typename U> constexpr bool is_same() { function in namespace:p3_example
61 static_assert(is_same<decltype(x), int>(), "");
62 static_assert(is_same<decltype(v), const int*>(), "");
63 static_assert(is_same<decltype(u), const int>(), "");
64 static_assert(is_same<decltype(y), double>(), "");
71 static_assert(is_same<decltype(f), int()>(), "");
72 static_assert(is_same<decltype(g), double()>(), "");
/external/clang/test/SemaCXX/
H A Denum.cpp42 template <class A, class B> struct is_same { static const int value = -1; }; struct in namespace:test1
43 template <class A> struct is_same<A,A> { static const int value = 1; }; struct in namespace:test1
46 int test0[is_same<__typeof(+v0), int>::value];
49 int test1[is_same<__typeof(+v1), int>::value];
52 int test2[is_same<__typeof(+v2), unsigned int>::value];
55 int test3[is_same<__typeof(+v3), long>::value];
58 int test4[is_same<__typeof(+v4), unsigned long>::value];
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
H A Dp6-0x.cpp4 struct is_same { struct
9 struct is_same<T, T> { struct
15 int JOIN(array,__LINE__)[is_same<T1, T2>::value? 1 : -1]
/external/libcxx/test/utilities/time/time.clock/time.clock.hires/
H A Dconsistency.pass.cpp29 static_assert((std::is_same<C::rep, C::duration::rep>::value), "");
30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
31 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
/external/libcxx/test/utilities/time/time.clock/time.clock.steady/
H A Dconsistency.pass.cpp29 static_assert((std::is_same<C::rep, C::duration::rep>::value), "");
30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
31 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp7 struct is_same { struct
12 struct is_same<T, T> { struct
50 int check1[is_same<split_arrays<int[1], float[2], double[3]>::element_types,
52 int check2[is_same<split_arrays<int[1], float[2], double[3]>::bounds_types,
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/
H A Delement_type.pass.cpp27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
/external/libcxx/test/language.support/support.runtime/
H A Dcsetjmp.pass.cpp22 static_assert((std::is_same<__typeof__(std::longjmp(jb, 0)), void>::value),
23 "std::is_same<__typeof__(std::longjmp(jb, 0)), void>::value");

Completed in 915 milliseconds

1234567891011>>