HomeSort by relevance Sort by last modified time
    Searched refs:assert (Results 251 - 275 of 16208) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
bool.pass.cpp 61 assert(obj == true);
63 assert(obj == false);
65 assert(obj == true);
68 assert(obj == false);
70 assert(obj == true);
71 assert(obj.load() == true);
72 assert(obj.load(std::memory_order_acquire) == true);
73 assert(obj.exchange(false) == true);
74 assert(obj == false);
75 assert(obj.exchange(true, std::memory_order_relaxed) == false)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.capacity/
swap.pass.cpp 25 assert(is_contiguous_container_asan_correct(v1));
26 assert(is_contiguous_container_asan_correct(v2));
28 assert(v1.size() == 200);
29 assert(v1.capacity() == 200);
30 assert(is_contiguous_container_asan_correct(v1));
31 assert(v2.size() == 100);
32 assert(v2.capacity() == 100);
33 assert(is_contiguous_container_asan_correct(v2));
39 assert(is_contiguous_container_asan_correct(v1));
40 assert(is_contiguous_container_asan_correct(v2));
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
emplace.pass.cpp 27 assert(i == c.begin());
28 assert(c.size() == 1);
29 assert(c.front() == false);
32 assert(i == c.end()-1);
33 assert(c.size() == 2);
34 assert(c.front() == false);
35 assert(c.back() == true);
38 assert(i == c.begin()+1);
39 assert(c.size() == 3);
40 assert(c.front() == false)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.compare/
eq_error_code_error_code.pass.cpp 35 assert(e_code1 == e_code1);
36 assert(e_code1 != e_code2);
37 assert(e_code1 != e_code3);
38 assert(e_code1 != e_code4);
39 assert(e_code1 == e_condition1);
40 assert(e_code1 != e_condition2);
41 assert(e_code1 != e_condition3);
42 assert(e_code1 != e_condition4);
44 assert(e_code2 != e_code1);
45 assert(e_code2 == e_code2)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
underflow.pass.cpp 41 assert(f.open("underflow.dat", std::ios_base::in) != 0);
42 assert(f.is_open());
43 assert(f.eback() == 0);
44 assert(f.gptr() == 0);
45 assert(f.egptr() == 0);
46 assert(f.underflow() == '1');
47 assert(f.eback() != 0);
48 assert(f.eback() == f.gptr());
49 assert(*f.gptr() == '1');
50 assert(f.egptr() - f.eback() == 9)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/istringstream/istringstream.members/
str.pass.cpp 24 assert(ss.rdbuf() != 0);
25 assert(ss.good());
26 assert(ss.str() == " 123 456");
29 assert(i == 123);
31 assert(i == 456);
34 assert(ss.good());
35 assert(ss.str() == " 789");
37 assert(i == 789);
41 assert(ss.rdbuf() != 0);
42 assert(ss.good())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/
codecvt_base.pass.cpp 23 assert(std::codecvt_base::ok == 0);
24 assert(std::codecvt_base::partial == 1);
25 assert(std::codecvt_base::error == 2);
26 assert(std::codecvt_base::noconv == 3);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/
codecvt_mode.pass.cpp 24 assert(std::consume_header == 4);
25 assert(std::generate_header == 2);
26 assert(std::little_endian == 1);
28 assert(e == 4);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.assign/
gslice_array_assign.pass.cpp 33 assert(v.size() == 24);
34 assert(v[ 0] == 3);
35 assert(v[ 1] == 4);
36 assert(v[ 2] == 5);
37 assert(v[ 3] == 7);
38 assert(v[ 4] == 8);
39 assert(v[ 5] == 9);
40 assert(v[ 6] == 11);
41 assert(v[ 7] == 12);
42 assert(v[ 8] == 13)
    [all...]
indirect_array_assign.pass.cpp 33 assert(v.size() == 24);
34 assert(v[ 0] == 3);
35 assert(v[ 1] == 4);
36 assert(v[ 2] == 5);
37 assert(v[ 3] == 7);
38 assert(v[ 4] == 8);
39 assert(v[ 5] == 9);
40 assert(v[ 6] == 11);
41 assert(v[ 7] == 12);
42 assert(v[ 8] == 13)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.cons/
gslice_array.pass.cpp 32 assert(v.size() == 24);
33 assert(v[ 0] == 3);
34 assert(v[ 1] == 4);
35 assert(v[ 2] == 5);
36 assert(v[ 3] == 7);
37 assert(v[ 4] == 8);
38 assert(v[ 5] == 9);
39 assert(v[ 6] == 11);
40 assert(v[ 7] == 12);
41 assert(v[ 8] == 13)
    [all...]
indirect_array.pass.cpp 32 assert(v.size() == 24);
33 assert(v[ 0] == 3);
34 assert(v[ 1] == 4);
35 assert(v[ 2] == 5);
36 assert(v[ 3] == 7);
37 assert(v[ 4] == 8);
38 assert(v[ 5] == 9);
39 assert(v[ 6] == 11);
40 assert(v[ 7] == 12);
41 assert(v[ 8] == 13)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.sub/
gslice_non_const.pass.cpp 32 assert(v.size() == 24);
33 assert(v[ 0] == 3);
34 assert(v[ 1] == 4);
35 assert(v[ 2] == 5);
36 assert(v[ 3] == 7);
37 assert(v[ 4] == 8);
38 assert(v[ 5] == 9);
39 assert(v[ 6] == 11);
40 assert(v[ 7] == 12);
41 assert(v[ 8] == 13)
    [all...]
indirect_array_const.pass.cpp 32 assert(v.size() == 24);
33 assert(v[ 0] == 3);
34 assert(v[ 1] == 4);
35 assert(v[ 2] == 5);
36 assert(v[ 3] == 7);
37 assert(v[ 4] == 8);
38 assert(v[ 5] == 9);
39 assert(v[ 6] == 11);
40 assert(v[ 7] == 12);
41 assert(v[ 8] == 13)
    [all...]
indirect_array_non_const.pass.cpp 33 assert(v.size() == 24);
34 assert(v[ 0] == 3);
35 assert(v[ 1] == 4);
36 assert(v[ 2] == 5);
37 assert(v[ 3] == 7);
38 assert(v[ 4] == 8);
39 assert(v[ 5] == 9);
40 assert(v[ 6] == 11);
41 assert(v[ 7] == 12);
42 assert(v[ 8] == 13)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/
index.pass.cpp 24 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
26 assert(m[0].first == s+2);
27 assert(m[0].second == s+9);
28 assert(m[0].matched == true);
30 assert(m[1].first == s+4);
31 assert(m[1].second == s+7);
32 assert(m[1].matched == true);
34 assert(m[2].first == s+4);
35 assert(m[2].second == s+5);
36 assert(m[2].matched == true)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
assign3.pass.cpp 23 assert(std::char_traits<char>::assign(s2, 3, char(5)) == s2);
24 assert(s2[0] == char(5));
25 assert(s2[1] == char(5));
26 assert(s2[2] == char(5));
compare.pass.cpp 21 assert(std::char_traits<char>::compare("", "", 0) == 0);
23 assert(std::char_traits<char>::compare("1", "1", 1) == 0);
24 assert(std::char_traits<char>::compare("1", "2", 1) < 0);
25 assert(std::char_traits<char>::compare("2", "1", 1) > 0);
27 assert(std::char_traits<char>::compare("12", "12", 2) == 0);
28 assert(std::char_traits<char>::compare("12", "13", 2) < 0);
29 assert(std::char_traits<char>::compare("12", "22", 2) < 0);
30 assert(std::char_traits<char>::compare("13", "12", 2) > 0);
31 assert(std::char_traits<char>::compare("22", "12", 2) > 0);
33 assert(std::char_traits<char>::compare("123", "123", 3) == 0)
    [all...]
copy.pass.cpp 23 assert(std::char_traits<char>::copy(s2, s1, 3) == s2);
24 assert(s2[0] == char(1));
25 assert(s2[1] == char(2));
26 assert(s2[2] == char(3));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/
explicit_bool.pass.cpp 26 assert(false);
28 assert(false);
35 assert(false);
37 assert(false);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/
explicit_bool.pass.cpp 26 assert(false);
28 assert(false);
35 assert(false);
37 assert(false);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/exchange/
exchange.pass.cpp 23 assert ( std::exchange ( v, 23 ) == 12 );
24 assert ( v == 23 );
25 assert ( std::exchange ( v, 67.2 ) == 23 );
26 assert ( v == 67 );
28 assert ((std::exchange<int, float> ( v, {} )) == 67 );
29 assert ( v == 0 );
35 assert ( !std::exchange ( b, true ));
36 assert ( b );
43 assert ( std::exchange ( s3, s2 ) == s1 );
44 assert ( s3 == s2 )
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
catch_in_noexcept.pass.cpp 12 #include <assert.h>
23 assert(false);
25 assert(true);
28 assert(false);
catch_pointer_nullptr.pass.cpp 19 assert(false);
26 assert(false);
37 assert(false);
44 assert(false);
  /toolchain/binutils/binutils-2.25/gold/testsuite/
copy_test.cc 38 assert(c == 0);
39 assert(b == 1);
40 assert(l == 2);
41 assert((reinterpret_cast<uintptr_t>(&l) & 0x7) == 0);

Completed in 223 milliseconds

<<11121314151617181920>>