/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.disc/ |
values.pass.cpp | 36 static_assert((E::block_size == 223), ""); 37 static_assert((E::used_block == 23), ""); 48 static_assert((E::block_size == 389), ""); 49 static_assert((E::used_block == 11), "");
|
result_type.pass.cpp | 25 static_assert((std::is_same< 33 static_assert((std::is_same<
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_element.pass.cpp | 27 static_assert((std::is_same<typename std::tuple_element<N, T>::type, U>::value), ""); 28 static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), ""); 29 static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value), ""); 30 static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile U>::value), "");
|
tuple_size.pass.cpp | 24 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 26 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 28 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 30 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>,
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_depth.c | 52 STATIC_ASSERT(PIPE_FUNC_NEVER == GL_NEVER - GL_NEVER); 53 STATIC_ASSERT(PIPE_FUNC_LESS == GL_LESS - GL_NEVER); 54 STATIC_ASSERT(PIPE_FUNC_EQUAL == GL_EQUAL - GL_NEVER); 55 STATIC_ASSERT(PIPE_FUNC_LEQUAL == GL_LEQUAL - GL_NEVER); 56 STATIC_ASSERT(PIPE_FUNC_GREATER == GL_GREATER - GL_NEVER); 57 STATIC_ASSERT(PIPE_FUNC_NOTEQUAL == GL_NOTEQUAL - GL_NEVER); 58 STATIC_ASSERT(PIPE_FUNC_GEQUAL == GL_GEQUAL - GL_NEVER); 59 STATIC_ASSERT(PIPE_FUNC_ALWAYS == GL_ALWAYS - GL_NEVER);
|
/external/clang/test/CXX/class/class.union/ |
p2-0x.cpp | 30 static_assert(U2<int>::k1 == sizeof(int), ""); 31 static_assert(U2<char>::k1 == sizeof(char), "");
|
/external/clang/test/CXX/expr/expr.ass/ |
p9-cxx11.cpp | 30 static_assert((T() = {4, 9}) == 4, ""); 31 static_assert((T() += {4, 9}) == 9, "");
|
/external/clang/test/PCH/ |
cxx11-constexpr.cpp | 32 static_assert(D(4).k == 9, ""); 38 static_assert(plus_seven(3) == 10, "");
|
/external/clang/test/SemaCXX/ |
builtins.cpp | 30 static_assert(__builtin_addressof(s) == &s, ""); 34 static_assert(&pt->n == &t.n, "");
|
constexpr-duffs-device.cpp | 31 static_assert(streq(S().stuff, "Hello, world!"), "should be same"); 32 static_assert(!streq(S().stuff, "Something else"), "should be different");
|
constexpr-steps.cpp | 16 static_assert(steps((MAX - 4)), ""); // ok 17 static_assert(steps((MAX - 3)), ""); // expected-error {{constant}} expected-note{{call}}
|
cxx0x-initializer-stdinitializerlist.cpp | 86 static_assert(sizeof(overloaded({1, 2, 3})) == sizeof(one), "bad overload"); 87 static_assert(sizeof(overloaded({ {1, 2}, {2, 3}, {} })) == sizeof(two), "bad overload"); 96 static_assert(sizeof(ov2({1, 2, 3})) == sizeof(one), "bad overload"); 107 static_assert(same_type<decltype(deduce({1, 2, 3})), int>::value, "bad deduction"); 108 static_assert(same_type<decltype(deduce({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 112 static_assert(same_type<decltype(deduce_ref({1, 2, 3})), int>::value, "bad deduction"); 113 static_assert(same_type<decltype(deduce_ref({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 120 static_assert(same_type<decltype(l), std::initializer_list<int>>::value, "");
|
/external/clang/test/SemaTemplate/ |
attributes.cpp | 32 static_assert(sizeof(t) == sizeof(T), "my_aligned_storage size wrong"); 33 static_assert(alignof(t) == alignof(T), "my_aligned_storage align wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}}
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_depth.c | 52 STATIC_ASSERT(PIPE_FUNC_NEVER == GL_NEVER - GL_NEVER); 53 STATIC_ASSERT(PIPE_FUNC_LESS == GL_LESS - GL_NEVER); 54 STATIC_ASSERT(PIPE_FUNC_EQUAL == GL_EQUAL - GL_NEVER); 55 STATIC_ASSERT(PIPE_FUNC_LEQUAL == GL_LEQUAL - GL_NEVER); 56 STATIC_ASSERT(PIPE_FUNC_GREATER == GL_GREATER - GL_NEVER); 57 STATIC_ASSERT(PIPE_FUNC_NOTEQUAL == GL_NOTEQUAL - GL_NEVER); 58 STATIC_ASSERT(PIPE_FUNC_GEQUAL == GL_GEQUAL - GL_NEVER); 59 STATIC_ASSERT(PIPE_FUNC_ALWAYS == GL_ALWAYS - GL_NEVER);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.tuple/ |
tuple_size.pass.cpp | 21 static_assert((std::tuple_size<C>::value == 3), ""); 26 static_assert((std::tuple_size<C>::value == 0), "");
|
/ndk/sources/cxx-stl/llvm-libc++/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), "");
|
/ndk/sources/cxx-stl/llvm-libc++/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), "");
|
/ndk/sources/cxx-stl/llvm-libc++/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, "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/iterator.primitives/std.iterator.tags/ |
bidirectional_iterator_tag.pass.cpp | 20 static_assert((std::is_base_of<std::forward_iterator_tag, 22 static_assert((!std::is_base_of<std::output_iterator_tag,
|
forward_iterator_tag.pass.cpp | 20 static_assert((std::is_base_of<std::input_iterator_tag, 22 static_assert((!std::is_base_of<std::output_iterator_tag,
|
random_access_iterator_tag.pass.cpp | 20 static_assert((std::is_base_of<std::bidirectional_iterator_tag, 22 static_assert((!std::is_base_of<std::output_iterator_tag,
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/ |
types.pass.cpp | 24 static_assert((std::is_same<std::valarray<int>::value_type, int>::value), ""); 25 static_assert((std::is_same<std::valarray<double>::value_type, double>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
types.pass.cpp | 25 static_assert((std::is_same<result_type, int>::value), ""); 30 static_assert((std::is_same<result_type, long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
types.pass.cpp | 25 static_assert((std::is_same<result_type, int>::value), ""); 30 static_assert((std::is_same<result_type, long>::value), "");
|