/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/ |
function.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 20 static_assert(!std::is_integral<T>::value, ""); 21 static_assert(!std::is_floating_point<T>::value, ""); 22 static_assert(!std::is_array<T>::value, ""); 23 static_assert(!std::is_pointer<T>::value, ""); 24 static_assert(!std::is_lvalue_reference<T>::value, ""); 25 static_assert(!std::is_rvalue_reference<T>::value, ""); 26 static_assert(!std::is_member_object_pointer<T>::value, ""); 27 static_assert(!std::is_member_function_pointer<T>::value, ""); 28 static_assert(!std::is_enum<T>::value, "") [all...] |
integral.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 20 static_assert( std::is_integral<T>::value, ""); 21 static_assert(!std::is_floating_point<T>::value, ""); 22 static_assert(!std::is_array<T>::value, ""); 23 static_assert(!std::is_pointer<T>::value, ""); 24 static_assert(!std::is_lvalue_reference<T>::value, ""); 25 static_assert(!std::is_rvalue_reference<T>::value, ""); 26 static_assert(!std::is_member_object_pointer<T>::value, ""); 27 static_assert(!std::is_member_function_pointer<T>::value, ""); 28 static_assert(!std::is_enum<T>::value, "") [all...] |
member_function_pointer.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 20 static_assert(!std::is_integral<T>::value, ""); 21 static_assert(!std::is_floating_point<T>::value, ""); 22 static_assert(!std::is_array<T>::value, ""); 23 static_assert(!std::is_pointer<T>::value, ""); 24 static_assert(!std::is_lvalue_reference<T>::value, ""); 25 static_assert(!std::is_rvalue_reference<T>::value, ""); 26 static_assert(!std::is_member_object_pointer<T>::value, ""); 27 static_assert( std::is_member_function_pointer<T>::value, ""); 28 static_assert(!std::is_enum<T>::value, "") [all...] |
pointer.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 20 static_assert(!std::is_integral<T>::value, ""); 21 static_assert(!std::is_floating_point<T>::value, ""); 22 static_assert(!std::is_array<T>::value, ""); 23 static_assert( std::is_pointer<T>::value, ""); 24 static_assert(!std::is_lvalue_reference<T>::value, ""); 25 static_assert(!std::is_rvalue_reference<T>::value, ""); 26 static_assert(!std::is_member_object_pointer<T>::value, ""); 27 static_assert(!std::is_member_function_pointer<T>::value, ""); 28 static_assert(!std::is_enum<T>::value, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
wctype_h.pass.cpp | 96 static_assert((std::is_same<decltype(iswalnum(w)), int>::value), ""); 97 static_assert((std::is_same<decltype(iswalpha(w)), int>::value), ""); 98 static_assert((std::is_same<decltype(iswblank(w)), int>::value), ""); 99 static_assert((std::is_same<decltype(iswcntrl(w)), int>::value), ""); 100 static_assert((std::is_same<decltype(iswdigit(w)), int>::value), ""); 101 static_assert((std::is_same<decltype(iswgraph(w)), int>::value), ""); 102 static_assert((std::is_same<decltype(iswlower(w)), int>::value), ""); 103 static_assert((std::is_same<decltype(iswprint(w)), int>::value), ""); 104 static_assert((std::is_same<decltype(iswpunct(w)), int>::value), ""); 105 static_assert((std::is_same<decltype(iswspace(w)), int>::value), "") [all...] |
fenv_h.pass.cpp | 63 static_assert((std::is_same<decltype(feclearexcept(0)), int>::value), ""); 64 static_assert((std::is_same<decltype(fegetexceptflag(&fex, 0)), int>::value), ""); 65 static_assert((std::is_same<decltype(feraiseexcept(0)), int>::value), ""); 66 static_assert((std::is_same<decltype(fesetexceptflag(&fex, 0)), int>::value), ""); 67 static_assert((std::is_same<decltype(fetestexcept(0)), int>::value), ""); 68 static_assert((std::is_same<decltype(fegetround()), int>::value), ""); 69 static_assert((std::is_same<decltype(fesetround(0)), int>::value), ""); 70 static_assert((std::is_same<decltype(fegetenv(&fenv)), int>::value), ""); 71 static_assert((std::is_same<decltype(feholdexcept(&fenv)), int>::value), ""); 72 static_assert((std::is_same<decltype(fesetenv(&fenv)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/ |
cwctype.pass.cpp | 96 static_assert((std::is_same<decltype(std::iswalnum(w)), int>::value), ""); 97 static_assert((std::is_same<decltype(std::iswalpha(w)), int>::value), ""); 98 static_assert((std::is_same<decltype(std::iswblank(w)), int>::value), ""); 99 static_assert((std::is_same<decltype(std::iswcntrl(w)), int>::value), ""); 100 static_assert((std::is_same<decltype(std::iswdigit(w)), int>::value), ""); 101 static_assert((std::is_same<decltype(std::iswgraph(w)), int>::value), ""); 102 static_assert((std::is_same<decltype(std::iswlower(w)), int>::value), ""); 103 static_assert((std::is_same<decltype(std::iswprint(w)), int>::value), ""); 104 static_assert((std::is_same<decltype(std::iswpunct(w)), int>::value), ""); 105 static_assert((std::is_same<decltype(std::iswspace(w)), int>::value), "") [all...] |
cstring.pass.cpp | 26 static_assert((std::is_same<decltype(std::memcpy(vp, vpc, s)), void*>::value), ""); 27 static_assert((std::is_same<decltype(std::memmove(vp, vpc, s)), void*>::value), ""); 28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), ""); 29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), ""); 30 static_assert((std::is_same<decltype(std::strcat(cp, cpc)), char*>::value), ""); 31 static_assert((std::is_same<decltype(std::strncat(cp, cpc, s)), char*>::value), ""); 32 static_assert((std::is_same<decltype(std::memcmp(vpc, vpc, s)), int>::value), ""); 33 static_assert((std::is_same<decltype(std::strcmp(cpc, cpc)), int>::value), ""); 34 static_assert((std::is_same<decltype(std::strncmp(cpc, cpc, s)), int>::value), ""); 35 static_assert((std::is_same<decltype(std::strcoll(cpc, cpc)), int>::value), "") [all...] |
/external/clang/test/SemaCXX/ |
alignment-of-derived-class.cpp | 10 static_assert(__alignof(A) == 16, "A should be aligned to 16 bytes"); 15 static_assert(__alignof(B1) == 16, "B1 should be aligned to 16 bytes"); 20 static_assert(__alignof(B2) == 16, "B2 should be aligned to 16 bytes"); 25 static_assert(__alignof(B3) == 16, "B3 should be aligned to 16 bytes"); 30 static_assert(__alignof(B4) == 16, "B4 should be aligned to 16 bytes"); 35 static_assert(__alignof(B5) == 16, "B5 should be aligned to 16 bytes"); 40 static_assert(__alignof(B6) == 32, "B6 should be aligned to 32 bytes");
|
cxx11-user-defined-literals.cpp | 22 static_assert('x'_kind == LitKind::Char, ""); 23 static_assert(L'x'_kind == LitKind::WideChar, ""); 24 static_assert(u'x'_kind == LitKind::Char16, ""); 25 static_assert(U'x'_kind == LitKind::Char32, ""); 26 static_assert("foo"_kind == LitKind::CharStr, ""); 27 static_assert(u8"foo"_kind == LitKind::CharStr, ""); 28 static_assert(L"foo"_kind == LitKind::WideStr, ""); 29 static_assert(u"foo"_kind == LitKind::Char16Str, ""); 30 static_assert(U"foo"_kind == LitKind::Char32Str, ""); 31 static_assert(194_kind == LitKind::Integer, "") [all...] |
constant-expression-cxx1y.cpp | 17 static_assert(&s.get(4) - &sr.get(2) == 2, ""); 21 static_assert(e() == 5, ""); 35 static_assert(f() == 1, ""); 44 static_assert(g(2) == 42, ""); 67 static_assert(j(0) == -3, ""); 68 static_assert(j(1) == 5, ""); 69 static_assert(j(2), ""); // expected-error {{constant expression}} expected-note {{in call to 'j(2)'}} 70 static_assert(j(3) == 3, ""); 71 static_assert(j(4) == 5, ""); 72 static_assert(j(5) == 1, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/ |
values.pass.cpp | 50 static_assert((E::word_size == 32), ""); 51 static_assert((E::state_size == 624), ""); 52 static_assert((E::shift_size == 397), ""); 53 static_assert((E::mask_bits == 31), ""); 54 static_assert((E::xor_mask == 0x9908b0df), ""); 55 static_assert((E::tempering_u == 11), ""); 56 static_assert((E::tempering_d == 0xffffffff), ""); 57 static_assert((E::tempering_s == 7), ""); 58 static_assert((E::tempering_b == 0x9d2c5680), ""); 59 static_assert((E::tempering_t == 15), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.comparisons/ |
op_less.pass.cpp | 99 static_assert(!(s1 < s2), ""); 100 static_assert(!(s1 > s2), ""); 101 static_assert( (s1 <= s2), ""); 102 static_assert( (s1 >= s2), ""); 107 static_assert( (s1 < s2), ""); 108 static_assert(!(s1 > s2), ""); 109 static_assert( (s1 <= s2), ""); 110 static_assert(!(s1 >= s2), ""); 115 static_assert(!(s1 < s2), ""); 116 static_assert(!(s1 > s2), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.hel/ |
integral_constant.pass.cpp | 20 static_assert(_5::value == 5, ""); 21 static_assert((std::is_same<_5::value_type, int>::value), ""); 22 static_assert((std::is_same<_5::type, _5>::value), ""); 24 static_assert((_5() == 5), ""); 30 static_assert ( _5{}() == 5, "" ); 31 static_assert ( std::true_type{}(), "" ); 34 static_assert(std::false_type::value == false, ""); 35 static_assert((std::is_same<std::false_type::value_type, bool>::value), ""); 36 static_assert((std::is_same<std::false_type::type, std::false_type>::value), ""); 38 static_assert(std::true_type::value == true, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
common_type.pass.cpp | 18 static_assert((std::is_same<std::common_type<int>::type, int>::value), ""); 19 static_assert((std::is_same<std::common_type<char>::type, char>::value), ""); 21 static_assert((std::is_same<std::common_type_t<int>, int>::value), ""); 22 static_assert((std::is_same<std::common_type_t<char>, char>::value), ""); 25 static_assert((std::is_same<std::common_type<double, char>::type, double>::value), ""); 26 static_assert((std::is_same<std::common_type<short, char>::type, int>::value), ""); 28 static_assert((std::is_same<std::common_type_t<double, char>, double>::value), ""); 29 static_assert((std::is_same<std::common_type_t<short, char>, int>::value), ""); 32 static_assert((std::is_same<std::common_type<double, char, long long>::type, double>::value), ""); 33 static_assert((std::is_same<std::common_type<unsigned, char, long long>::type, long long>::value), "") [all...] |
/external/clang/test/Lexer/ |
cxx0x_keyword.cpp | 2 int static_assert; /* expected-error {{expected unqualified-id}} */ variable
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/ |
types.pass.cpp | 35 static_assert((std::is_same<std::forward_list<char>::value_type, char>::value), ""); 36 static_assert((std::is_same<std::forward_list<char>::allocator_type, std::allocator<char> >::value), ""); 37 static_assert((std::is_same<std::forward_list<char>::reference, char&>::value), ""); 38 static_assert((std::is_same<std::forward_list<char>::const_reference, const char&>::value), ""); 39 static_assert((std::is_same<std::forward_list<char>::pointer, char*>::value), ""); 40 static_assert((std::is_same<std::forward_list<char>::const_pointer, const char*>::value), ""); 41 static_assert((std::is_same<std::forward_list<char>::size_type, std::size_t>::value), ""); 42 static_assert((std::is_same<std::forward_list<char>::difference_type, std::ptrdiff_t>::value), ""); 44 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::value_type, char>::value), ""); 45 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::allocator_type, min_allocator<char> >: (…) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/ |
types.pass.cpp | 35 static_assert((std::is_base_of< 40 static_assert((std::is_same< 44 static_assert((std::is_same< 48 static_assert((std::is_same< 52 static_assert((std::is_same< 56 static_assert((std::is_same< 60 static_assert((std::is_same< 64 static_assert((std::is_same< 68 static_assert((std::is_base_of< 73 static_assert((std::is_same [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ |
typedefs.pass.cpp | 16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, ""); 17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, ""); 18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, ""); 19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, ""); 20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, ""); 21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, ""); 22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, ""); 23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, ""); 24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, ""); 25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/cfenv/cfenv.syn/ |
cfenv.pass.cpp | 63 static_assert((std::is_same<decltype(std::feclearexcept(0)), int>::value), ""); 64 static_assert((std::is_same<decltype(std::fegetexceptflag(&fex, 0)), int>::value), ""); 65 static_assert((std::is_same<decltype(std::feraiseexcept(0)), int>::value), ""); 66 static_assert((std::is_same<decltype(std::fesetexceptflag(&fex, 0)), int>::value), ""); 67 static_assert((std::is_same<decltype(std::fetestexcept(0)), int>::value), ""); 68 static_assert((std::is_same<decltype(std::fegetround()), int>::value), ""); 69 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); 70 static_assert((std::is_same<decltype(std::fegetenv(&fenv)), int>::value), ""); 71 static_assert((std::is_same<decltype(std::feholdexcept(&fenv)), int>::value), ""); 72 static_assert((std::is_same<decltype(std::fesetenv(&fenv)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/ |
has_virtual_destructor.pass.cpp | 19 static_assert( std::has_virtual_destructor<T>::value, ""); 20 static_assert( std::has_virtual_destructor<const T>::value, ""); 21 static_assert( std::has_virtual_destructor<volatile T>::value, ""); 22 static_assert( std::has_virtual_destructor<const volatile T>::value, ""); 28 static_assert(!std::has_virtual_destructor<T>::value, ""); 29 static_assert(!std::has_virtual_destructor<const T>::value, ""); 30 static_assert(!std::has_virtual_destructor<volatile T>::value, ""); 31 static_assert(!std::has_virtual_destructor<const volatile T>::value, "");
|
is_abstract.pass.cpp | 19 static_assert( std::is_abstract<T>::value, ""); 20 static_assert( std::is_abstract<const T>::value, ""); 21 static_assert( std::is_abstract<volatile T>::value, ""); 22 static_assert( std::is_abstract<const volatile T>::value, ""); 28 static_assert(!std::is_abstract<T>::value, ""); 29 static_assert(!std::is_abstract<const T>::value, ""); 30 static_assert(!std::is_abstract<volatile T>::value, ""); 31 static_assert(!std::is_abstract<const volatile T>::value, "");
|
is_destructible.pass.cpp | 19 static_assert( std::is_destructible<T>::value, ""); 20 static_assert( std::is_destructible<const T>::value, ""); 21 static_assert( std::is_destructible<volatile T>::value, ""); 22 static_assert( std::is_destructible<const volatile T>::value, ""); 28 static_assert(!std::is_destructible<T>::value, ""); 29 static_assert(!std::is_destructible<const T>::value, ""); 30 static_assert(!std::is_destructible<volatile T>::value, ""); 31 static_assert(!std::is_destructible<const volatile T>::value, "");
|
is_empty.pass.cpp | 19 static_assert( std::is_empty<T>::value, ""); 20 static_assert( std::is_empty<const T>::value, ""); 21 static_assert( std::is_empty<volatile T>::value, ""); 22 static_assert( std::is_empty<const volatile T>::value, ""); 28 static_assert(!std::is_empty<T>::value, ""); 29 static_assert(!std::is_empty<const T>::value, ""); 30 static_assert(!std::is_empty<volatile T>::value, ""); 31 static_assert(!std::is_empty<const volatile T>::value, "");
|
is_nothrow_default_constructible.pass.cpp | 19 static_assert( std::is_nothrow_default_constructible<T>::value, ""); 20 static_assert( std::is_nothrow_default_constructible<const T>::value, ""); 21 static_assert( std::is_nothrow_default_constructible<volatile T>::value, ""); 22 static_assert( std::is_nothrow_default_constructible<const volatile T>::value, ""); 28 static_assert(!std::is_nothrow_default_constructible<T>::value, ""); 29 static_assert(!std::is_nothrow_default_constructible<const T>::value, ""); 30 static_assert(!std::is_nothrow_default_constructible<volatile T>::value, ""); 31 static_assert(!std::is_nothrow_default_constructible<const volatile T>::value, "");
|