/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.other/ |
common_type.pass.cpp | 76 static_assert(std::is_same<Decay<T1>, T1>::value, "must be same"); 77 static_assert(std::is_same<Decay<T2>, T2>::value, "must be same"); 94 static_assert(std::is_same<CommonType<void>, void>::value, ""); 95 static_assert(std::is_same<CommonType<int>, int>::value, ""); 96 static_assert(std::is_same<CommonType<int const>, int>::value, ""); 97 static_assert(std::is_same<CommonType<int volatile[]>, int volatile*>::value, ""); 98 static_assert(std::is_same<CommonType<void(&)()>, void(*)()>::value, ""); 108 static_assert(!std::is_same<T, DT>::value || !std::is_same<U, DU>::value, ""); 109 static_assert(std::is_same<CommonType<T, U>, Expect>::value, "") [all...] |
/external/libcxx/test/std/input.output/stream.buffers/streambuf/ |
types.pass.cpp | 28 static_assert((std::is_same<std::streambuf::char_type, char>::value), ""); 29 static_assert((std::is_same<std::streambuf::traits_type, std::char_traits<char> >::value), ""); 30 static_assert((std::is_same<std::streambuf::int_type, std::char_traits<char>::int_type>::value), ""); 31 static_assert((std::is_same<std::streambuf::pos_type, std::char_traits<char>::pos_type>::value), ""); 32 static_assert((std::is_same<std::streambuf::off_type, std::char_traits<char>::off_type>::value), ""); 34 static_assert((std::is_same<std::wstreambuf::char_type, wchar_t>::value), ""); 35 static_assert((std::is_same<std::wstreambuf::traits_type, std::char_traits<wchar_t> >::value), ""); 36 static_assert((std::is_same<std::wstreambuf::int_type, std::char_traits<wchar_t>::int_type>::value), ""); 37 static_assert((std::is_same<std::wstreambuf::pos_type, std::char_traits<wchar_t>::pos_type>::value), ""); 38 static_assert((std::is_same<std::wstreambuf::off_type, std::char_traits<wchar_t>::off_type>::value), "") [all...] |
/external/libcxx/test/std/re/re.regex/ |
types.pass.cpp | 29 static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), ""); 30 static_assert((std::is_same<std::basic_regex<char>::traits_type, std::regex_traits<char> >::value), ""); 31 static_assert((std::is_same<std::basic_regex<char>::string_type, std::basic_string<char> >::value), ""); 32 static_assert((std::is_same<std::basic_regex<char>::flag_type, 34 static_assert((std::is_same<std::basic_regex<char>::locale_type, std::locale>::value), ""); 36 static_assert((std::is_same<std::basic_regex<wchar_t>::value_type, wchar_t>::value), ""); 37 static_assert((std::is_same<std::basic_regex<wchar_t>::traits_type, std::regex_traits<wchar_t> >::value), ""); 38 static_assert((std::is_same<std::basic_regex<wchar_t>::string_type, std::basic_string<wchar_t> >::value), ""); 39 static_assert((std::is_same<std::basic_regex<wchar_t>::flag_type, 41 static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), "") [all...] |
/external/libcxx/test/std/utilities/memory/default.allocator/ |
allocator_types.pass.cpp | 39 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), ""); 40 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), ""); 41 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), ""); 42 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), ""); 43 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), ""); 44 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), ""); 45 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), ""); 46 static_assert((std::is_same<std::allocator<char>::rebind<int>::other, 49 static_assert((std::is_same<std::allocator< char>::is_always_equal, std::true_type>::value), ""); 50 LIBCPP_STATIC_ASSERT((std::is_same<std::allocator<const char>::is_always_equal, std::true_type>::value), "") [all...] |
/external/libcxx/test/std/utilities/utility/forward/ |
move_if_noexcept.pass.cpp | 53 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), int&&>::value), ""); 54 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&&>::value), ""); 55 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), A&&>::value), ""); 56 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&&>::value), ""); 57 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), ""); 62 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), const int&>::value), ""); 63 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&>::value), ""); 64 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), const A&>::value), ""); 65 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&>::value), ""); 66 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), "") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/stream.buffers/streambuf/ |
types.pass.cpp | 28 static_assert((std::is_same<std::streambuf::char_type, char>::value), ""); 29 static_assert((std::is_same<std::streambuf::traits_type, std::char_traits<char> >::value), ""); 30 static_assert((std::is_same<std::streambuf::int_type, std::char_traits<char>::int_type>::value), ""); 31 static_assert((std::is_same<std::streambuf::pos_type, std::char_traits<char>::pos_type>::value), ""); 32 static_assert((std::is_same<std::streambuf::off_type, std::char_traits<char>::off_type>::value), ""); 34 static_assert((std::is_same<std::wstreambuf::char_type, wchar_t>::value), ""); 35 static_assert((std::is_same<std::wstreambuf::traits_type, std::char_traits<wchar_t> >::value), ""); 36 static_assert((std::is_same<std::wstreambuf::int_type, std::char_traits<wchar_t>::int_type>::value), ""); 37 static_assert((std::is_same<std::wstreambuf::pos_type, std::char_traits<wchar_t>::pos_type>::value), ""); 38 static_assert((std::is_same<std::wstreambuf::off_type, std::char_traits<wchar_t>::off_type>::value), "") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/ |
types.pass.cpp | 29 static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), ""); 30 static_assert((std::is_same<std::basic_regex<char>::traits_type, std::regex_traits<char> >::value), ""); 31 static_assert((std::is_same<std::basic_regex<char>::string_type, std::basic_string<char> >::value), ""); 32 static_assert((std::is_same<std::basic_regex<char>::flag_type, 34 static_assert((std::is_same<std::basic_regex<char>::locale_type, std::locale>::value), ""); 36 static_assert((std::is_same<std::basic_regex<wchar_t>::value_type, wchar_t>::value), ""); 37 static_assert((std::is_same<std::basic_regex<wchar_t>::traits_type, std::regex_traits<wchar_t> >::value), ""); 38 static_assert((std::is_same<std::basic_regex<wchar_t>::string_type, std::basic_string<wchar_t> >::value), ""); 39 static_assert((std::is_same<std::basic_regex<wchar_t>::flag_type, 41 static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), "") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/default.allocator/ |
allocator_types.pass.cpp | 39 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), ""); 40 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), ""); 41 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), ""); 42 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), ""); 43 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), ""); 44 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), ""); 45 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), ""); 46 static_assert((std::is_same<std::allocator<char>::rebind<int>::other, 49 static_assert((std::is_same<std::allocator< char>::is_always_equal, std::true_type>::value), ""); 50 LIBCPP_STATIC_ASSERT((std::is_same<std::allocator<const char>::is_always_equal, std::true_type>::value), "") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/forward/ |
move_if_noexcept.pass.cpp | 53 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), int&&>::value), ""); 54 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&&>::value), ""); 55 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), A&&>::value), ""); 56 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&&>::value), ""); 57 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), ""); 62 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), const int&>::value), ""); 63 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&>::value), ""); 64 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), const A&>::value), ""); 65 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&>::value), ""); 66 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), "") [all...] |
/external/libcxx/test/std/input.output/string.streams/istringstream/ |
types.pass.cpp | 30 static_assert((std::is_same<std::basic_istringstream<char>::char_type, char>::value), ""); 31 static_assert((std::is_same<std::basic_istringstream<char>::traits_type, std::char_traits<char> >::value), ""); 32 static_assert((std::is_same<std::basic_istringstream<char>::int_type, std::char_traits<char>::int_type>::value), ""); 33 static_assert((std::is_same<std::basic_istringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), ""); 34 static_assert((std::is_same<std::basic_istringstream<char>::off_type, std::char_traits<char>::off_type>::value), ""); 35 static_assert((std::is_same<std::basic_istringstream<char>::allocator_type, std::allocator<char> >::value), "");
|
/external/libcxx/test/std/input.output/string.streams/ostringstream/ |
types.pass.cpp | 30 static_assert((std::is_same<std::basic_ostringstream<char>::char_type, char>::value), ""); 31 static_assert((std::is_same<std::basic_ostringstream<char>::traits_type, std::char_traits<char> >::value), ""); 32 static_assert((std::is_same<std::basic_ostringstream<char>::int_type, std::char_traits<char>::int_type>::value), ""); 33 static_assert((std::is_same<std::basic_ostringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), ""); 34 static_assert((std::is_same<std::basic_ostringstream<char>::off_type, std::char_traits<char>::off_type>::value), ""); 35 static_assert((std::is_same<std::basic_ostringstream<char>::allocator_type, std::allocator<char> >::value), "");
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/ |
types.pass.cpp | 30 static_assert((std::is_same<std::basic_stringbuf<char>::char_type, char>::value), ""); 31 static_assert((std::is_same<std::basic_stringbuf<char>::traits_type, std::char_traits<char> >::value), ""); 32 static_assert((std::is_same<std::basic_stringbuf<char>::int_type, std::char_traits<char>::int_type>::value), ""); 33 static_assert((std::is_same<std::basic_stringbuf<char>::pos_type, std::char_traits<char>::pos_type>::value), ""); 34 static_assert((std::is_same<std::basic_stringbuf<char>::off_type, std::char_traits<char>::off_type>::value), ""); 35 static_assert((std::is_same<std::basic_stringbuf<char>::allocator_type, std::allocator<char> >::value), "");
|
/external/libcxx/test/std/input.output/string.streams/stringstream/ |
types.pass.cpp | 30 static_assert((std::is_same<std::basic_stringstream<char>::char_type, char>::value), ""); 31 static_assert((std::is_same<std::basic_stringstream<char>::traits_type, std::char_traits<char> >::value), ""); 32 static_assert((std::is_same<std::basic_stringstream<char>::int_type, std::char_traits<char>::int_type>::value), ""); 33 static_assert((std::is_same<std::basic_stringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), ""); 34 static_assert((std::is_same<std::basic_stringstream<char>::off_type, std::char_traits<char>::off_type>::value), ""); 35 static_assert((std::is_same<std::basic_stringstream<char>::allocator_type, std::allocator<char> >::value), "");
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/ |
types.pass.cpp | 48 static_assert((std::is_same<typename R::container_type, C>::value), ""); 49 static_assert((std::is_same<typename R::value_type, void>::value), ""); 50 static_assert((std::is_same<typename R::difference_type, void>::value), ""); 51 static_assert((std::is_same<typename R::reference, void>::value), ""); 52 static_assert((std::is_same<typename R::pointer, void>::value), ""); 53 static_assert((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/ |
types.pass.cpp | 49 static_assert((std::is_same<typename R::container_type, C>::value), ""); 50 static_assert((std::is_same<typename R::value_type, void>::value), ""); 51 static_assert((std::is_same<typename R::difference_type, void>::value), ""); 52 static_assert((std::is_same<typename R::reference, void>::value), ""); 53 static_assert((std::is_same<typename R::pointer, void>::value), ""); 54 static_assert((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
|
/external/libcxx/test/std/language.support/support.initlist/ |
types.pass.cpp | 31 static_assert((std::is_same<std::initializer_list<A>::value_type, A>::value), ""); 32 static_assert((std::is_same<std::initializer_list<A>::reference, const A&>::value), ""); 33 static_assert((std::is_same<std::initializer_list<A>::const_reference, const A&>::value), ""); 34 static_assert((std::is_same<std::initializer_list<A>::size_type, std::size_t>::value), ""); 35 static_assert((std::is_same<std::initializer_list<A>::iterator, const A*>::value), ""); 36 static_assert((std::is_same<std::initializer_list<A>::const_iterator, const A*>::value), "");
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/ |
types.pass.cpp | 28 static_assert((std::is_same<std::money_get<char>::char_type, char>::value), ""); 29 static_assert((std::is_same<std::money_get<wchar_t>::char_type, wchar_t>::value), ""); 30 static_assert((std::is_same<std::money_get<char>::iter_type, std::istreambuf_iterator<char> >::value), ""); 31 static_assert((std::is_same<std::money_get<wchar_t>::iter_type, std::istreambuf_iterator<wchar_t> >::value), ""); 32 static_assert((std::is_same<std::money_get<char>::string_type, std::string>::value), ""); 33 static_assert((std::is_same<std::money_get<wchar_t>::string_type, std::wstring>::value), "");
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/ |
types.pass.cpp | 28 static_assert((std::is_same<std::money_put<char>::char_type, char>::value), ""); 29 static_assert((std::is_same<std::money_put<wchar_t>::char_type, wchar_t>::value), ""); 30 static_assert((std::is_same<std::money_put<char>::iter_type, std::ostreambuf_iterator<char> >::value), ""); 31 static_assert((std::is_same<std::money_put<wchar_t>::iter_type, std::ostreambuf_iterator<wchar_t> >::value), ""); 32 static_assert((std::is_same<std::money_put<char>::string_type, std::string>::value), ""); 33 static_assert((std::is_same<std::money_put<wchar_t>::string_type, std::wstring>::value), "");
|
/external/libcxx/test/std/re/re.iter/re.regiter/ |
types.pass.cpp | 34 static_assert((std::is_same<typename I::regex_type, std::basic_regex<CharT> >::value), ""); 35 static_assert((std::is_same<typename I::value_type, std::match_results<const CharT*> >::value), ""); 36 static_assert((std::is_same<typename I::difference_type, std::ptrdiff_t>::value), ""); 37 static_assert((std::is_same<typename I::pointer, const std::match_results<const CharT*>*>::value), ""); 38 static_assert((std::is_same<typename I::reference, const std::match_results<const CharT*>&>::value), ""); 39 static_assert((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
|
/external/libcxx/test/std/re/re.iter/re.tokiter/ |
types.pass.cpp | 34 static_assert((std::is_same<typename I::regex_type, std::basic_regex<CharT> >::value), ""); 35 static_assert((std::is_same<typename I::value_type, std::sub_match<const CharT*> >::value), ""); 36 static_assert((std::is_same<typename I::difference_type, std::ptrdiff_t>::value), ""); 37 static_assert((std::is_same<typename I::pointer, const std::sub_match<const CharT*>*>::value), ""); 38 static_assert((std::is_same<typename I::reference, const std::sub_match<const CharT*>&>::value), ""); 39 static_assert((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
|
/external/libcxx/test/std/re/re.traits/ |
types.pass.cpp | 27 static_assert((std::is_same<std::regex_traits<char>::char_type, char>::value), ""); 28 static_assert((std::is_same<std::regex_traits<char>::string_type, std::string>::value), ""); 29 static_assert((std::is_same<std::regex_traits<char>::locale_type, std::locale>::value), ""); 30 static_assert((std::is_same<std::regex_traits<wchar_t>::char_type, wchar_t>::value), ""); 31 static_assert((std::is_same<std::regex_traits<wchar_t>::string_type, std::wstring>::value), ""); 32 static_assert((std::is_same<std::regex_traits<wchar_t>::locale_type, std::locale>::value), "");
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
is_always_equal.pass.cpp | 45 static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::value), ""); 46 static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::value), ""); 47 static_assert((std::is_same<std::allocator_traits<C<char> >::is_always_equal, std::false_type>::value), ""); 49 static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); 51 static_assert((std::is_same<std::allocator_traits<C<const char> >::is_always_equal, std::false_type>::value), "");
|
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/ |
difference_type.pass.cpp | 58 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), ""); 59 static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), ""); 60 static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::value), ""); 61 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), ""); 62 static_assert((std::is_same<std::pointer_traits<E<int> >::difference_type, std::ptrdiff_t>::value), ""); 64 static_assert((std::is_same<std::pointer_traits<F<int>>::difference_type, std::ptrdiff_t>::value), "");
|
element_type.pass.cpp | 59 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), ""); 60 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), ""); 61 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), ""); 62 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), ""); 63 static_assert((std::is_same<std::pointer_traits<E<double, int> >::element_type, double>::value), ""); 65 static_assert((std::is_same<std::pointer_traits<F<double>>::element_type, double>::value), "");
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
underlying_type.pass.cpp | 33 static_assert((std::is_same<std::underlying_type<E>::type, int>::value), 36 static_assert((std::is_same<std::underlying_type<F>::type, unsigned>::value), 41 static_assert((std::is_same<std::underlying_type_t<E>, int>::value), ""); 43 static_assert((std::is_same<std::underlying_type_t<F>, unsigned>::value), ""); 50 static_assert((std::is_same<std::underlying_type<G>::type, char>::value), 53 static_assert((std::is_same<std::underlying_type_t<G>, char>::value), "");
|