/external/clang/test/CXX/dcl.decl/dcl.init/ |
p5.cpp | 43 #define static_assert(B, S) typedef int assert_failed[(B) ? 1 : -1]; macro 44 static_assert(__has_trivial_constructor(S), ""); 45 static_assert(__has_trivial_constructor(T), ""); 46 static_assert(__has_trivial_constructor(U), ""); 47 static_assert(!__has_trivial_constructor(V), ""); 48 static_assert(!__has_trivial_constructor(W), "");
|
/external/clang/test/PCH/ |
cxx1y-default-initializer.cpp | 23 static_assert(A{}.z == 3, ""); 24 static_assert(A{1}.z == 4, ""); 25 static_assert(A{.y = 5}.z == 5, ""); // expected-warning {{C99}} 26 static_assert(A{3, .y = 1}.z == 4, ""); // expected-warning {{C99}} 27 static_assert(make<int>().z == 3, ""); 28 static_assert(make<int>(12).z == 15, "");
|
cxx_exprs.cpp | 33 static_assert(true_value, "true_value is true"); 34 static_assert(!false_value, "false_value is false"); 44 static_assert(char_value == 97, "char_value is correct"); 45 static_assert(wchar_t_value == 305, "wchar_t_value is correct"); 46 static_assert(char16_t_value == 231, "char16_t_value is correct"); 47 static_assert(char32_t_value == 8706, "char32_t_value is correct");
|
/external/libcxx/test/containers/unord/unord.map/ |
types.pass.cpp | 40 static_assert((std::is_same<C::key_type, char>::value), ""); 41 static_assert((std::is_same<C::mapped_type, short>::value), ""); 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); 45 static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value), ""); 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "") [all...] |
/external/libcxx/test/containers/unord/unord.multimap/ |
types.pass.cpp | 40 static_assert((std::is_same<C::key_type, char>::value), ""); 41 static_assert((std::is_same<C::mapped_type, short>::value), ""); 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); 45 static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value), ""); 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "") [all...] |
/external/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/ |
is_nothrow_copy_constructible.pass.cpp | 19 static_assert( std::is_nothrow_copy_constructible<T>::value, ""); 20 static_assert( std::is_nothrow_copy_constructible<const T>::value, ""); 26 static_assert(!std::is_nothrow_copy_constructible<T>::value, ""); 27 static_assert(!std::is_nothrow_copy_constructible<const T>::value, ""); 28 static_assert(!std::is_nothrow_copy_constructible<volatile T>::value, ""); 29 static_assert(!std::is_nothrow_copy_constructible<const volatile T>::value, "");
|
is_nothrow_move_constructible.pass.cpp | 19 static_assert( std::is_nothrow_move_constructible<T>::value, ""); 20 static_assert( std::is_nothrow_move_constructible<const T>::value, ""); 26 static_assert(!std::is_nothrow_move_constructible<T>::value, ""); 27 static_assert(!std::is_nothrow_move_constructible<const T>::value, ""); 28 static_assert(!std::is_nothrow_move_constructible<volatile T>::value, ""); 29 static_assert(!std::is_nothrow_move_constructible<const volatile T>::value, "");
|
/external/libcxx/test/utilities/optional/optional.nullops/ |
eqaul.pass.cpp | 32 static_assert ( nullopt == o1 , "" ); 33 static_assert ( !(nullopt == o2), "" ); 34 static_assert ( o1 == nullopt , "" ); 35 static_assert ( !(o2 == nullopt), "" ); 37 static_assert (noexcept(nullopt == o1), ""); 38 static_assert (noexcept(o1 == nullopt), "");
|
less_than.pass.cpp | 32 static_assert ( !(nullopt < o1), "" ); 33 static_assert ( nullopt < o2 , "" ); 34 static_assert ( !(o1 < nullopt), "" ); 35 static_assert ( !(o2 < nullopt), "" ); 37 static_assert (noexcept(nullopt < o1), ""); 38 static_assert (noexcept(o1 < nullopt), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
types.pass.cpp | 40 static_assert((std::is_same<C::key_type, char>::value), ""); 41 static_assert((std::is_same<C::mapped_type, short>::value), ""); 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); 45 static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value), ""); 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
types.pass.cpp | 40 static_assert((std::is_same<C::key_type, char>::value), ""); 41 static_assert((std::is_same<C::mapped_type, short>::value), ""); 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); 44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); 45 static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value), ""); 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/ |
is_nothrow_copy_constructible.pass.cpp | 19 static_assert( std::is_nothrow_copy_constructible<T>::value, ""); 20 static_assert( std::is_nothrow_copy_constructible<const T>::value, ""); 26 static_assert(!std::is_nothrow_copy_constructible<T>::value, ""); 27 static_assert(!std::is_nothrow_copy_constructible<const T>::value, ""); 28 static_assert(!std::is_nothrow_copy_constructible<volatile T>::value, ""); 29 static_assert(!std::is_nothrow_copy_constructible<const volatile T>::value, "");
|
is_nothrow_move_constructible.pass.cpp | 19 static_assert( std::is_nothrow_move_constructible<T>::value, ""); 20 static_assert( std::is_nothrow_move_constructible<const T>::value, ""); 26 static_assert(!std::is_nothrow_move_constructible<T>::value, ""); 27 static_assert(!std::is_nothrow_move_constructible<const T>::value, ""); 28 static_assert(!std::is_nothrow_move_constructible<volatile T>::value, ""); 29 static_assert(!std::is_nothrow_move_constructible<const volatile T>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.nullops/ |
eqaul.pass.cpp | 32 static_assert ( nullopt == o1 , "" ); 33 static_assert ( !(nullopt == o2), "" ); 34 static_assert ( o1 == nullopt , "" ); 35 static_assert ( !(o2 == nullopt), "" ); 37 static_assert (noexcept(nullopt == o1), ""); 38 static_assert (noexcept(o1 == nullopt), "");
|
less_than.pass.cpp | 32 static_assert ( !(nullopt < o1), "" ); 33 static_assert ( nullopt < o2 , "" ); 34 static_assert ( !(o1 < nullopt), "" ); 35 static_assert ( !(o2 < nullopt), "" ); 37 static_assert (noexcept(nullopt < o1), ""); 38 static_assert (noexcept(o1 < nullopt), "");
|
/external/libcxx/test/language.support/support.limits/limits/numeric.limits/ |
default.pass.cpp | 28 static_assert(std::numeric_limits<A>::is_specialized == false, 33 static_assert(std::numeric_limits<A>::digits == 0, 35 static_assert(std::numeric_limits<A>::digits10 == 0, 37 static_assert(std::numeric_limits<A>::max_digits10 == 0, 39 static_assert(std::numeric_limits<A>::is_signed == false, 41 static_assert(std::numeric_limits<A>::is_integer == false, 43 static_assert(std::numeric_limits<A>::is_exact == false, 45 static_assert(std::numeric_limits<A>::radix == 0, 49 static_assert(std::numeric_limits<A>::min_exponent == 0, 51 static_assert(std::numeric_limits<A>::min_exponent10 == 0 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits/ |
default.pass.cpp | 28 static_assert(std::numeric_limits<A>::is_specialized == false, 33 static_assert(std::numeric_limits<A>::digits == 0, 35 static_assert(std::numeric_limits<A>::digits10 == 0, 37 static_assert(std::numeric_limits<A>::max_digits10 == 0, 39 static_assert(std::numeric_limits<A>::is_signed == false, 41 static_assert(std::numeric_limits<A>::is_integer == false, 43 static_assert(std::numeric_limits<A>::is_exact == false, 45 static_assert(std::numeric_limits<A>::radix == 0, 49 static_assert(std::numeric_limits<A>::min_exponent == 0, 51 static_assert(std::numeric_limits<A>::min_exponent10 == 0 [all...] |
/external/libcxx/test/depr/depr.function.objects/depr.base/ |
unary_function.pass.cpp | 24 static_assert((std::is_same<std::unary_function<unsigned, char>::argument_type, unsigned>::value), ""); 25 static_assert((std::is_same<std::unary_function<unsigned, char>::result_type, char>::value), "");
|
/external/libcxx/test/depr/depr.ios.members/ |
streamoff.pass.cpp | 23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
|
/external/libcxx/test/input.output/iostreams.base/stream.types/ |
streamoff.pass.cpp | 19 static_assert(std::is_integral<std::streamoff>::value, ""); 20 static_assert(std::is_signed<std::streamoff>::value, "");
|
streamsize.pass.cpp | 19 static_assert(std::is_integral<std::streamsize>::value, ""); 20 static_assert(std::is_signed<std::streamsize>::value, "");
|
/external/libcxx/test/iterators/stream.iterators/istream.iterator/ |
types.pass.cpp | 29 static_assert((std::is_convertible<I1, 32 static_assert((std::is_same<I1::char_type, char>::value), ""); 33 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); 34 static_assert((std::is_same<I1::istream_type, std::istream>::value), ""); 36 static_assert((std::is_convertible<I2, 39 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); 40 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); 41 static_assert((std::is_same<I2::istream_type, std::wistream>::value), "");
|
/external/libcxx/test/iterators/stream.iterators/ostream.iterator/ |
types.pass.cpp | 29 static_assert((std::is_convertible<I1, 31 static_assert((std::is_same<I1::char_type, char>::value), ""); 32 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); 33 static_assert((std::is_same<I1::ostream_type, std::ostream>::value), ""); 35 static_assert((std::is_convertible<I2, 37 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); 38 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); 39 static_assert((std::is_same<I2::ostream_type, std::wostream>::value), "");
|
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
digits10.pass.cpp | 21 static_assert(std::numeric_limits<T>::digits10 == expected, "digits10 test 1"); 22 static_assert(std::numeric_limits<T>::is_bounded, "digits10 test 5"); 23 static_assert(std::numeric_limits<const T>::digits10 == expected, "digits10 test 2"); 24 static_assert(std::numeric_limits<const T>::is_bounded, "digits10 test 6"); 25 static_assert(std::numeric_limits<volatile T>::digits10 == expected, "digits10 test 3"); 26 static_assert(std::numeric_limits<volatile T>::is_bounded, "digits10 test 7"); 27 static_assert(std::numeric_limits<const volatile T>::digits10 == expected, "digits10 test 4"); 28 static_assert(std::numeric_limits<const volatile T>::is_bounded, "digits10 test 8");
|
/external/libcxx/test/localization/locale.categories/category.messages/locale.messages/ |
types.pass.cpp | 26 static_assert((std::is_base_of<std::locale::facet, std::messages<char> >::value), ""); 27 static_assert((std::is_base_of<std::messages_base, std::messages<char> >::value), ""); 28 static_assert((std::is_base_of<std::locale::facet, std::messages<wchar_t> >::value), ""); 29 static_assert((std::is_base_of<std::messages_base, std::messages<wchar_t> >::value), ""); 30 static_assert((std::is_same<std::messages<char>::char_type, char>::value), ""); 31 static_assert((std::is_same<std::messages<wchar_t>::char_type, wchar_t>::value), ""); 32 static_assert((std::is_same<std::messages<char>::string_type, std::string>::value), ""); 33 static_assert((std::is_same<std::messages<wchar_t>::string_type, std::wstring>::value), "");
|