/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/ |
specializations.pass.cpp | 10 #include <assert.h> 17 assert(__gnu_cxx::hash<const char *>()("test") == 19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); 20 assert(__gnu_cxx::hash<char>()(42) == 42); 21 assert(__gnu_cxx::hash<signed char>()(42) == 42); 22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); 23 assert(__gnu_cxx::hash<short>()(42) == 42); 24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); 25 assert(__gnu_cxx::hash<int>()(42) == 42); 26 assert(__gnu_cxx::hash<unsigned int>()(42) == 42) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/ |
stod.pass.cpp | 21 assert(std::stod("0") == 0); 22 assert(std::stod(L"0") == 0); 23 assert(std::stod("-0") == 0); 24 assert(std::stod(L"-0") == 0); 25 assert(std::stod("-10") == -10); 26 assert(std::stod(L"-10.5") == -10.5); 27 assert(std::stod(" 10") == 10); 28 assert(std::stod(L" 10") == 10); 30 assert(std::stod("10g", &idx) == 10); 31 assert(idx == 2) [all...] |
stof.pass.cpp | 24 assert(std::stof("0") == 0); 25 assert(std::stof(L"0") == 0); 26 assert(std::stof("-0") == 0); 27 assert(std::stof(L"-0") == 0); 28 assert(std::stof("-10") == -10); 29 assert(std::stof(L"-10.5") == -10.5); 30 assert(std::stof(" 10") == 10); 31 assert(std::stof(L" 10") == 10); 33 assert(std::stof("10g", &idx) == 10); 34 assert(idx == 2) [all...] |
stold.pass.cpp | 23 assert(std::stold("0") == 0); 24 assert(std::stold(L"0") == 0); 25 assert(std::stold("-0") == 0); 26 assert(std::stold(L"-0") == 0); 27 assert(std::stold("-10") == -10); 28 assert(std::stold(L"-10.5") == -10.5); 29 assert(std::stold(" 10") == 10); 30 assert(std::stold(L" 10") == 10); 32 assert(std::stold("10g", &idx) == 10); 33 assert(idx == 2) [all...] |
stoi.pass.cpp | 20 assert(std::stoi("0") == 0); 21 assert(std::stoi(L"0") == 0); 22 assert(std::stoi("-0") == 0); 23 assert(std::stoi(L"-0") == 0); 24 assert(std::stoi("-10") == -10); 25 assert(std::stoi(L"-10") == -10); 26 assert(std::stoi(" 10") == 10); 27 assert(std::stoi(L" 10") == 10); 29 assert(std::stoi("10g", &idx, 16) == 16); 30 assert(idx == 2) [all...] |
stoul.pass.cpp | 23 assert(std::stoul("0") == 0); 24 assert(std::stoul(L"0") == 0); 25 assert(std::stoul("-0") == 0); 26 assert(std::stoul(L"-0") == 0); 27 assert(std::stoul(" 10") == 10); 28 assert(std::stoul(L" 10") == 10); 30 assert(std::stoul("10g", &idx, 16) == 16); 31 assert(idx == 2); 33 assert(std::stoul(L"10g", &idx, 16) == 16); 34 assert(idx == 2) [all...] |
stoull.pass.cpp | 23 assert(std::stoull("0") == 0); 24 assert(std::stoull(L"0") == 0); 25 assert(std::stoull("-0") == 0); 26 assert(std::stoull(L"-0") == 0); 27 assert(std::stoull(" 10") == 10); 28 assert(std::stoull(L" 10") == 10); 30 assert(std::stoull("10g", &idx, 16) == 16); 31 assert(idx == 2); 33 assert(std::stoull(L"10g", &idx, 16) == 16); 34 assert(idx == 2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.members/ |
lt.pass.cpp | 27 assert(!(t1 < t2)); 28 assert( (t1 <= t2)); 29 assert(!(t1 > t2)); 30 assert( (t1 >= t2)); 33 assert( (t1 < t3)); 34 assert( (t1 <= t3)); 35 assert(!(t1 > t3)); 36 assert(!(t1 >= t3)); 40 assert(!(t1 < t3)); 41 assert(!(t1 <= t3)) [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
protected_main_1.cc | 37 assert(t1()); 38 assert(t2()); 39 assert(&f2 == get_f2_addr());
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
erase_key.pass.cpp | 55 assert(c.erase(5) == 0); 56 assert(c.size() == 6); 57 assert(c.count(1) == 2); 58 assert(c.count(2) == 2); 59 assert(c.count(3) == 1); 60 assert(c.count(4) == 1); 62 assert(c.erase(2) == 2); 63 assert(c.size() == 4); 64 assert(c.count(1) == 2); 65 assert(c.count(3) == 1) [all...] |
/external/libcxx/test/std/containers/unord/unord.set/ |
erase_key.pass.cpp | 55 assert(c.erase(5) == 0); 56 assert(c.size() == 4); 57 assert(c.count(1) == 1); 58 assert(c.count(2) == 1); 59 assert(c.count(3) == 1); 60 assert(c.count(4) == 1); 62 assert(c.erase(2) == 1); 63 assert(c.size() == 3); 64 assert(c.count(1) == 1); 65 assert(c.count(3) == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
erase_key.pass.cpp | 55 assert(c.erase(5) == 0); 56 assert(c.size() == 6); 57 assert(c.count(1) == 2); 58 assert(c.count(2) == 2); 59 assert(c.count(3) == 1); 60 assert(c.count(4) == 1); 62 assert(c.erase(2) == 2); 63 assert(c.size() == 4); 64 assert(c.count(1) == 2); 65 assert(c.count(3) == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/ |
erase_key.pass.cpp | 55 assert(c.erase(5) == 0); 56 assert(c.size() == 4); 57 assert(c.count(1) == 1); 58 assert(c.count(2) == 1); 59 assert(c.count(3) == 1); 60 assert(c.count(4) == 1); 62 assert(c.erase(2) == 1); 63 assert(c.size() == 3); 64 assert(c.count(1) == 1); 65 assert(c.count(3) == 1) [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
lookahead_capture.pass.cpp | 31 assert(re.mark_count() == 1); 35 assert(std::regex_match(s, m, re)); 36 assert(m.size() == 2); 37 assert(m[0] == "a"); 38 assert(m[1] == "a"); 43 assert(re.mark_count() == 3); 47 assert(std::regex_match(s, m, re)); 48 assert(m.size() == 4); 49 assert(m[0] == "ab"); 50 assert(m[1] == "a") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/ |
lookahead_capture.pass.cpp | 31 assert(re.mark_count() == 1); 35 assert(std::regex_match(s, m, re)); 36 assert(m.size() == 2); 37 assert(m[0] == "a"); 38 assert(m[1] == "a"); 43 assert(re.mark_count() == 3); 47 assert(std::regex_match(s, m, re)); 48 assert(m.size() == 4); 49 assert(m[0] == "ab"); 50 assert(m[1] == "a") [all...] |
/external/libcxx/test/std/numerics/numarray/template.mask.array/mask.array.fill/ |
assign_value.pass.cpp | 28 assert(v1.size() == 16); 29 assert(v1[ 0] == -5); 30 assert(v1[ 1] == 1); 31 assert(v1[ 2] == 2); 32 assert(v1[ 3] == -5); 33 assert(v1[ 4] == -5); 34 assert(v1[ 5] == 5); 35 assert(v1[ 6] == 6); 36 assert(v1[ 7] == -5); 37 assert(v1[ 8] == 8) [all...] |
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
compare.pass.cpp | 21 assert(std::char_traits<char>::compare("", "", 0) == 0); 22 assert(std::char_traits<char>::compare(NULL, NULL, 0) == 0); 24 assert(std::char_traits<char>::compare("1", "1", 1) == 0); 25 assert(std::char_traits<char>::compare("1", "2", 1) < 0); 26 assert(std::char_traits<char>::compare("2", "1", 1) > 0); 28 assert(std::char_traits<char>::compare("12", "12", 2) == 0); 29 assert(std::char_traits<char>::compare("12", "13", 2) < 0); 30 assert(std::char_traits<char>::compare("12", "22", 2) < 0); 31 assert(std::char_traits<char>::compare("13", "12", 2) > 0); 32 assert(std::char_traits<char>::compare("22", "12", 2) > 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.mask.array/mask.array.assign/ |
mask_array.pass.cpp | 34 assert(v1.size() == 16); 35 assert(v1[ 0] == -1); 36 assert(v1[ 1] == 1); 37 assert(v1[ 2] == 2); 38 assert(v1[ 3] == -3); 39 assert(v1[ 4] == -4); 40 assert(v1[ 5] == 5); 41 assert(v1[ 6] == 6); 42 assert(v1[ 7] == -7); 43 assert(v1[ 8] == 8) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.mask.array/mask.array.fill/ |
assign_value.pass.cpp | 28 assert(v1.size() == 16); 29 assert(v1[ 0] == -5); 30 assert(v1[ 1] == 1); 31 assert(v1[ 2] == 2); 32 assert(v1[ 3] == -5); 33 assert(v1[ 4] == -5); 34 assert(v1[ 5] == 5); 35 assert(v1[ 6] == 6); 36 assert(v1[ 7] == -5); 37 assert(v1[ 8] == 8) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.slice.array/slice.arr.assign/ |
slice_array.pass.cpp | 26 assert(v1.size() == 16); 27 assert(v1[ 0] == 0); 28 assert(v1[ 1] == -3); 29 assert(v1[ 2] == 2); 30 assert(v1[ 3] == 3); 31 assert(v1[ 4] == -5); 32 assert(v1[ 5] == 5); 33 assert(v1[ 6] == 6); 34 assert(v1[ 7] == -7); 35 assert(v1[ 8] == 8) [all...] |
/external/libcxx/test/std/strings/string.conversions/ |
stoi.pass.cpp | 20 assert(std::stoi("0") == 0); 21 assert(std::stoi(L"0") == 0); 22 assert(std::stoi("-0") == 0); 23 assert(std::stoi(L"-0") == 0); 24 assert(std::stoi("-10") == -10); 25 assert(std::stoi(L"-10") == -10); 26 assert(std::stoi(" 10") == 10); 27 assert(std::stoi(L" 10") == 10); 29 assert(std::stoi("10g", &idx, 16) == 16); 30 assert(idx == 2) [all...] |
stoul.pass.cpp | 23 assert(std::stoul("0") == 0); 24 assert(std::stoul(L"0") == 0); 25 assert(std::stoul("-0") == 0); 26 assert(std::stoul(L"-0") == 0); 27 assert(std::stoul(" 10") == 10); 28 assert(std::stoul(L" 10") == 10); 30 assert(std::stoul("10g", &idx, 16) == 16); 31 assert(idx == 2); 33 assert(std::stoul(L"10g", &idx, 16) == 16); 34 assert(idx == 2) [all...] |
stoull.pass.cpp | 23 assert(std::stoull("0") == 0); 24 assert(std::stoull(L"0") == 0); 25 assert(std::stoull("-0") == 0); 26 assert(std::stoull(L"-0") == 0); 27 assert(std::stoull(" 10") == 10); 28 assert(std::stoull(L" 10") == 10); 30 assert(std::stoull("10g", &idx, 16) == 16); 31 assert(idx == 2); 33 assert(std::stoull(L"10g", &idx, 16) == 16); 34 assert(idx == 2) [all...] |
/external/libcxxabi/test/ |
catch_ptr_02.pass.cpp | 21 assert(false); 28 assert (false); 37 assert(false); 44 assert (false); 53 assert(false); 60 assert (false); 69 assert(false); 73 assert (false); 89 assert(false); 92 assert (p == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
catch_ptr_02.pass.cpp | 21 assert(false); 28 assert (false); 37 assert(false); 44 assert (false); 53 assert(false); 60 assert (false); 69 assert(false); 73 assert (false); 89 assert(false); 92 assert (p == 0) [all...] |