Home
last modified time | relevance | path

Searched refs:test1 (Results 1 – 25 of 2435) sorted by relevance

12345678910>>...98

/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
H A Dstring_pointer.pass.cpp64 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 Dpointer_string.pass.cpp65 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 Dstring_string.pass.cpp88 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 Dstring_char.pass.cpp33 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 Dchar_string.pass.cpp33 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 Dinheritance.ll17 %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 Dmove.pass.cpp44 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 Dmove_backward.pass.cpp44 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()
96test1<bidirectional_iterator<std::unique_ptr<int>*>, contiguous_iterator<std::unique_ptr<int>*>>(); in main()
97test1<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 Ddefault.pass.cpp23 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 Dcopy.pass.cpp23 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 Dassign.pass.cpp23 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 Dvalues.pass.cpp34 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 Dsubstr.pass.cpp56 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 Dcopy.pass.cpp62 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 Dnotify_one.pass.cpp51 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 Dwait_until.pass.cpp50 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 Dwait_for_pred.pass.cpp43 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 Dwait_for.pass.cpp33 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 Dswap_ranges.pass.cpp42 test1() in test1() function
146 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
147test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
148test1<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 Dnotify_one.pass.cpp34 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 Dwait_for_pred.pass.cpp46 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 Dwait_for.pass.cpp36 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 Dwait_until.pass.cpp53 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 Dany_of.pass.cpp21 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 Dnone_of.pass.cpp21 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()

12345678910>>...98