| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
| H A D | string_pointer.pass.cpp | 64 test1(S(""), "", S("")); in test() 65 test1(S(""), "12345", S("12345")); in test() 66 test1(S(""), "1234567890", S("1234567890")); in test() 68 test1(S("abcde"), "", S("abcde")); in test() 69 test1(S("abcde"), "12345", S("abcde12345")); in test() 72 test1(S("abcdefghij"), "", S("abcdefghij")); in test() 108 test1(S(""), "", S("")); in test() 109 test1(S(""), "12345", S("12345")); in test() 110 test1(S(""), "1234567890", S("1234567890")); in test() 112 test1(S("abcde"), "", S("abcde")); in test() [all …]
|
| H A D | pointer_string.pass.cpp | 65 test1("", S(""), S("")); in test() 66 test1("", S("12345"), S("12345")); in test() 67 test1("", S("1234567890"), S("1234567890")); in test() 69 test1("abcde", S(""), S("abcde")); in test() 70 test1("abcde", S("12345"), S("abcde12345")); in test() 73 test1("abcdefghij", S(""), S("abcdefghij")); in test() 109 test1("", S(""), S("")); in test() 110 test1("", S("12345"), S("12345")); in test() 111 test1("", S("1234567890"), S("1234567890")); in test() 113 test1("abcde", S(""), S("abcde")); in test() [all …]
|
| H A D | string_string.pass.cpp | 88 test1(S(""), S(""), S("")); in test() 89 test1(S(""), S("12345"), S("12345")); in test() 90 test1(S(""), S("1234567890"), S("1234567890")); in test() 92 test1(S("abcde"), S(""), S("abcde")); in test() 95 test1(S("abcde"), S("12345678901234567890"), in test() 103 test1(S("abcdefghijklmnopqrst"), S("12345"), in test() 180 test1(S(""), S(""), S("")); in test() 181 test1(S(""), S("12345"), S("12345")); in test() 184 test1(S("abcde"), S(""), S("abcde")); in test() 187 test1(S("abcde"), S("12345678901234567890"), in test() [all …]
|
| H A D | string_char.pass.cpp | 33 TEST_CONSTEXPR_CXX20 void test1(S&& lhs, typename S::value_type rhs, const S& x) { in test1() function 49 test1(S(""), '1', S("1")); in test() 50 test1(S("abcde"), '1', S("abcde1")); in test() 51 test1(S("abcdefghij"), '1', S("abcdefghij1")); in test() 52 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in test() 63 test1(S(""), '1', S("1")); in test() 64 test1(S("abcde"), '1', S("abcde1")); in test() 65 test1(S("abcdefghij"), '1', S("abcdefghij1")); in test() 66 test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); in test()
|
| H A D | char_string.pass.cpp | 33 TEST_CONSTEXPR_CXX20 void test1(typename S::value_type lhs, S&& rhs, const S& x) { in test1() function 49 test1('a', S(""), S("a")); in test() 50 test1('a', S("12345"), S("a12345")); in test() 51 test1('a', S("1234567890"), S("a1234567890")); in test() 52 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in test() 63 test1('a', S(""), S("a")); in test() 64 test1('a', S("12345"), S("a12345")); in test() 65 test1('a', S("1234567890"), S("a1234567890")); in test() 66 test1('a', S("12345678901234567890"), S("a12345678901234567890")); in test()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Generic/ |
| H A D | inheritance.ll | 17 %tst = alloca %struct.test1 ; <%struct.test1*> [#uses=1] 33 %this_addr = alloca %struct.test1* ; <%struct.test1**> [#uses=2] 36 store %struct.test1* %this, %struct.test1** %this_addr 37 …%0 = load %struct.test1*, %struct.test1** %this_addr, align 8, !dbg !28 ; <%struct.test1*> [#uses=… 50 %this_addr = alloca %struct.test1* ; <%struct.test1**> [#uses=3] 53 store %struct.test1* %this, %struct.test1** %this_addr 54 …%0 = load %struct.test1*, %struct.test1** %this_addr, align 8, !dbg !35 ; <%struct.test1*> [#uses=… 65 …%3 = load %struct.test1*, %struct.test1** %this_addr, align 8, !dbg !37 ; <%struct.test1*> [#uses=… 82 store %struct.test1* %this, %struct.test1** %this_addr 83 …%0 = load %struct.test1*, %struct.test1** %this_addr, align 8, !dbg !41 ; <%struct.test1*> [#uses=… [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/ |
| H A D | move.pass.cpp | 44 test1() in test1() function 96 test1<cpp17_input_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 102 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 108 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 114 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 116 test1<std::unique_ptr<int>*, cpp17_output_iterator<std::unique_ptr<int>*> >(); in main() 117 test1<std::unique_ptr<int>*, forward_iterator<std::unique_ptr<int>*> >(); in main() 118 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 120 test1<std::unique_ptr<int>*, std::unique_ptr<int>*>(); in main() 140 test1<std::unique_ptr<int>*, contiguous_iterator<std::unique_ptr<int>*>>(); in main() [all …]
|
| H A D | move_backward.pass.cpp | 44 test1() in test1() function 76 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 80 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 82 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 83 test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); in main() 84 test1<std::unique_ptr<int>*, std::unique_ptr<int>*>(); in main() 96 …test1<bidirectional_iterator<std::unique_ptr<int>*>, contiguous_iterator<std::unique_ptr<int>*>>(); in main() 97 …test1<random_access_iterator<std::unique_ptr<int>*>, contiguous_iterator<std::unique_ptr<int>*>>(); in main() 98 test1<std::unique_ptr<int>*, contiguous_iterator<std::unique_ptr<int>*>>(); in main() 101 test1<contiguous_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
| H A D | default.pass.cpp | 23 test1() in test1() function 36 test1<T, 0, 0, 0>(); in test() 37 test1<T, 0, 1, 2>(); in test() 38 test1<T, 1, 1, 2>(); in test() 40 test1<T, 0, 0, M>(); in test() 41 test1<T, 0, M-2, M>(); in test() 42 test1<T, 0, M-1, M>(); in test() 43 test1<T, M-2, 0, M>(); in test() 44 test1<T, M-2, M-2, M>(); in test() 45 test1<T, M-2, M-1, M>(); in test() [all …]
|
| H A D | copy.pass.cpp | 23 test1() in test1() function 38 test1<T, 0, 0, 0>(); in test() 39 test1<T, 0, 1, 2>(); in test() 40 test1<T, 1, 1, 2>(); in test() 42 test1<T, 0, 0, M>(); in test() 43 test1<T, 0, M-2, M>(); in test() 44 test1<T, 0, M-1, M>(); in test() 45 test1<T, M-2, 0, M>(); in test() 46 test1<T, M-2, M-2, M>(); in test() 47 test1<T, M-2, M-1, M>(); in test() [all …]
|
| H A D | assign.pass.cpp | 23 test1() in test1() function 38 test1<T, 0, 0, 0>(); in test() 39 test1<T, 0, 1, 2>(); in test() 40 test1<T, 1, 1, 2>(); in test() 42 test1<T, 0, 0, M>(); in test() 43 test1<T, 0, M-2, M>(); in test() 44 test1<T, 0, M-1, M>(); in test() 45 test1<T, M-2, 0, M>(); in test() 46 test1<T, M-2, M-2, M>(); in test() 47 test1<T, M-2, M-1, M>(); in test() [all …]
|
| H A D | values.pass.cpp | 34 test1() in test1() function 69 test1<T, 0, 0, 0>(); in test() 70 test1<T, 0, 1, 2>(); in test() 71 test1<T, 1, 1, 2>(); in test() 73 test1<T, 0, 0, M>(); in test() 74 test1<T, 0, M-2, M>(); in test() 75 test1<T, 0, M-1, M>(); in test() 76 test1<T, M-2, 0, M>(); in test() 77 test1<T, M-2, M-2, M>(); in test() 78 test1<T, M-2, M-1, M>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.ops/ |
| H A D | substr.pass.cpp | 56 test1(sv1, 0, 0); in test() 57 test1(sv1, 1, 0); in test() 58 test1(sv1, 20, 0); in test() 59 test1(sv1, sv1.size(), 0); in test() 61 test1(sv1, 0, 3); in test() 62 test1(sv1, 2, 3); in test() 63 test1(sv1, 100, 3); in test() 65 test1(sv1, 0, string_view_t::npos); in test() 66 test1(sv1, 2, string_view_t::npos); in test() 69 test1(sv1, sv1.size() + 1, 0); in test() [all …]
|
| H A D | copy.pass.cpp | 62 test1(sv1, 0, 0); in test() 63 test1(sv1, 1, 0); in test() 64 test1(sv1, 20, 0); in test() 65 test1(sv1, sv1.size(), 0); in test() 66 test1(sv1, 20, string_view_t::npos); in test() 68 test1(sv1, 0, 3); in test() 69 test1(sv1, 2, 3); in test() 70 test1(sv1, 100, 3); in test() 71 test1(sv1, 100, string_view_t::npos); in test() 75 test1(sv1, sv1.size() + 1, 0); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
| H A D | notify_one.pass.cpp | 51 std::atomic_int test1(0); variable 59 assert(test1 == 0); in f1() 61 while (test1 == 0) in f1() 64 assert(test1 == 1); in f1() 65 test1 = 2; in f1() 91 test1 = 1; in main() 100 if (test1 == 2) { in main() 103 test1 = 0; in main() 105 assert(test1 == 1); in main() 117 if (test1 == 2) { in main() [all …]
|
| H A D | wait_until.pass.cpp | 50 int test1 = 0; variable 60 test1 = 1; in f() 84 test1 = 0; in run_test() 89 assert(test1 == 0); in run_test() 90 while (test1 == 0) in run_test() 92 assert(test1 != 0); in run_test() 98 test1 = 0; in run_test() 103 assert(test1 == 0); in run_test() 104 while (test1 == 0) in run_test() 106 assert(test1 != 0); in run_test()
|
| H A D | wait_for_pred.pass.cpp | 43 int test1 = 0; variable 54 test1 = 1; in f() 78 assert(test1 == 0); in main() 79 while (test1 == 0) in main() 81 assert(test1 != 0); in main() 87 test1 = 0; in main() 92 assert(test1 == 0); in main() 93 while (test1 == 0) in main() 95 assert(test1 != 0); in main()
|
| H A D | wait_for.pass.cpp | 33 int test1 = 0; variable 44 test1 = 1; in f() 71 assert(test1 == 0); in main() 72 while (test1 == 0) in main() 74 assert(test1 != 0); in main() 80 test1 = 0; in main() 86 assert(test1 == 0); in main() 87 while (test1 == 0) in main() 89 assert(test1 != 0); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ |
| H A D | swap_ranges.pass.cpp | 42 test1() in test1() function 146 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 147 … test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 148 … test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main() 149 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 154 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 159 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 161 test1<std::unique_ptr<int>*, forward_iterator<std::unique_ptr<int>*> >(); in main() 162 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 163 test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
| H A D | notify_one.pass.cpp | 34 int test1 = 0; variable 40 assert(test1 == 0); in f1() 41 while (test1 == 0) in f1() 43 assert(test1 == 1); in f1() 44 test1 = 2; in f1() 64 test1 = 1; in main() 72 if (test1 == 2) in main() 75 test1 = 0; in main() 89 if (test1 == 2) in main() 92 test1 = 0; in main()
|
| H A D | wait_for_pred.pass.cpp | 46 int test1 = 0; variable 58 test1 = 1; in f() 83 assert(test1 == 0); in main() 84 while (test1 == 0) in main() 86 assert(test1 != 0); in main() 92 test1 = 0; in main() 98 assert(test1 == 0); in main() 99 while (test1 == 0) in main() 101 assert(test1 != 0); in main()
|
| H A D | wait_for.pass.cpp | 36 int test1 = 0; variable 47 test1 = 1; in f() 74 assert(test1 == 0); in main() 75 while (test1 == 0) in main() 77 assert(test1 != 0); in main() 83 test1 = 0; in main() 89 assert(test1 == 0); in main() 90 while (test1 == 0) in main() 92 assert(test1 != 0); in main()
|
| H A D | wait_until.pass.cpp | 53 int test1 = 0; variable 62 test1 = 1; in f() 87 assert(test1 == 0); in main() 88 while (test1 == 0) in main() 90 assert(test1 != 0); in main() 96 test1 = 0; in main() 101 assert(test1 == 0); in main() 102 while (test1 == 0) in main() 104 assert(test1 != 0); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/ |
| H A D | any_of.pass.cpp | 21 struct test1 struct 33 return std::any_of(std::begin(ia), std::end(ia), test1()) in test_constexpr() argument 34 && !std::any_of(std::begin(ib), std::end(ib), test1()) in test_constexpr() 45 cpp17_input_iterator<const int*>(ia + sa), test1()) == true); in main() 47 cpp17_input_iterator<const int*>(ia), test1()) == false); in main() 53 cpp17_input_iterator<const int*>(ia + sa), test1()) == true); in main() 55 cpp17_input_iterator<const int*>(ia), test1()) == false); in main() 61 cpp17_input_iterator<const int*>(ia + sa), test1()) == false); in main() 63 cpp17_input_iterator<const int*>(ia), test1()) == false); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/ |
| H A D | none_of.pass.cpp | 21 struct test1 struct 33 return !std::none_of(std::begin(ia), std::end(ia), test1()) in test_constexpr() argument 34 && std::none_of(std::begin(ib), std::end(ib), test1()) in test_constexpr() 45 cpp17_input_iterator<const int*>(ia + sa), test1()) == false); in main() 47 cpp17_input_iterator<const int*>(ia), test1()) == true); in main() 53 cpp17_input_iterator<const int*>(ia + sa), test1()) == false); in main() 55 cpp17_input_iterator<const int*>(ia), test1()) == true); in main() 61 cpp17_input_iterator<const int*>(ia + sa), test1()) == true); in main() 63 cpp17_input_iterator<const int*>(ia), test1()) == true); in main()
|