| /llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.capacity/ |
| H A D | capacity.pass.cpp | 90 test2 ( "ABCDE", 5 ); in main() 91 test2 ( "a", 1 ); in main() 92 test2 ( "", 0 ); in main() 97 test2 ( L"a", 1 ); in main() 98 test2 ( L"", 0 ); in main() 104 test2 ( u8"a", 1 ); in main() 105 test2 ( u8"", 0 ); in main() 111 test2 ( u"a", 1 ); in main() 112 test2 ( u"", 0 ); in main() 116 test2 ( U"a", 1 ); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
| H A D | string_string.pass.cpp | 110 test2(S(""), S(""), S("")); in test() 111 test2(S(""), S("12345"), S("12345")); in test() 112 test2(S(""), S("1234567890"), S("1234567890")); in test() 114 test2(S("abcde"), S(""), S("abcde")); in test() 117 test2(S("abcde"), S("12345678901234567890"), in test() 125 test2(S("abcdefghijklmnopqrst"), S("12345"), in test() 202 test2(S(""), S(""), S("")); in test() 203 test2(S(""), S("12345"), S("12345")); in test() 206 test2(S("abcde"), S(""), S("abcde")); in test() 209 test2(S("abcde"), S("12345678901234567890"), in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
| H A D | notify_one.pass.cpp | 52 std::atomic_int test2(0); variable 71 assert(test2 == 0); in f2() 73 while (test2 == 0) in f2() 76 assert(test2 == 1); in f2() 77 test2 = 2; in f2() 92 test2 = 1; in main() 101 assert(test2 == 1); in main() 106 assert(test2 == 2); in main() 108 test2 = 0; in main() 118 assert(test2 == 0); in main() [all …]
|
| H A D | notify_all.pass.cpp | 30 int test2 = 0; variable 45 assert(test2 == 0); in f2() 46 while (test2 == 0) in f2() 48 assert(test2 == 1); in f2() 49 test2 = 2; in f2() 60 test2 = 1; in main() 70 assert(test2 == 2); in main()
|
| H A D | wait_until.pass.cpp | 51 int test2 = 0; variable 59 assert(test2 == 0); in f() 64 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f() 70 assert(test2 != 0); in f() 75 assert(test2 == 0); in f() 85 test2 = 0; in run_test() 93 test2 = 1; in run_test() 99 test2 = 0; in run_test()
|
| H A D | wait_for_pred.pass.cpp | 44 int test2 = 0; variable 53 assert(test2 == 0); in f() 57 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 63 assert(test2 != 0); in f() 68 assert(test2 == 0); in f() 82 test2 = 1; in main() 88 test2 = 0; in main()
|
| H A D | wait_for.pass.cpp | 34 int test2 = 0; variable 43 assert(test2 == 0); in f() 52 } while (test2 == 0 && cv.wait_for(lk, d) == std::cv_status::no_timeout); in f() 57 assert(test2 != 0); in f() 62 assert(test2 == 0); in f() 75 test2 = 1; in main() 81 test2 = 0; in main()
|
| H A D | wait_until_pred.pass.cpp | 61 int test2 = 0; variable 68 assert(test2 == 0); in f() 73 bool r = cv.wait_until(lk, t, Pred(test2)); in f() 78 assert(test2 != 0); in f() 84 assert(test2 == 0); in f() 99 test2 = 1; in main() 105 test2 = 0; in main()
|
| H A D | wait.pass.cpp | 29 int test2 = 0; variable 34 assert(test2 == 0); in f() 37 while (test2 == 0) in f() 39 assert(test2 != 0); in f() 50 test2 = 1; in main()
|
| H A D | wait_pred.pass.cpp | 32 int test2 = 0; variable 46 assert(test2 == 0); in f() 49 cv.wait(lk, Pred(test2)); in f() 50 assert(test2 != 0); in f() 61 test2 = 1; in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | mut-rec-scc.ll | 13 ; CHECK-NEXT: call void @test2() 14 ; CHECK-NEXT: call void @test2() 17 call void @test2() 18 call void @test2() 33 define void @test2() { 34 ; CHECK-LABEL: define void @test2( 60 ; CHECK-NEXT: call void @test2() #[[COSTMULT]] 61 ; CHECK-NEXT: call void @test2() #[[COSTMULT]] 62 ; CHECK-NEXT: call void @test2() #[[COSTMULT]] 69 call void @test2() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
| H A D | notify_one.pass.cpp | 35 int test2 = 0; variable 50 assert(test2 == 0); in f2() 51 while (test2 == 0) in f2() 53 assert(test2 == 1); in f2() 54 test2 = 2; in f2() 65 test2 = 1; in main() 77 else if (test2 == 2) in main() 80 test2 = 0; in main() 94 else if (test2 == 2) in main() 97 test2 = 0; in main()
|
| H A D | wait_for_pred.pass.cpp | 47 int test2 = 0; variable 57 assert(test2 == 0); in f() 61 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 67 assert(test2 != 0); in f() 72 assert(test2 == 0); in f() 87 test2 = 1; in main() 93 test2 = 0; in main()
|
| H A D | wait_for.pass.cpp | 37 int test2 = 0; variable 46 assert(test2 == 0); in f() 55 } while (test2 == 0 && cv.wait_for(lk, d) == std::cv_status::no_timeout); in f() 60 assert(test2 != 0); in f() 65 assert(test2 == 0); in f() 78 test2 = 1; in main() 84 test2 = 0; in main()
|
| H A D | wait_until.pass.cpp | 54 int test2 = 0; variable 61 assert(test2 == 0); in f() 66 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f() 72 assert(test2 != 0); in f() 77 assert(test2 == 0); in f() 91 test2 = 1; in main() 97 test2 = 0; in main()
|
| H A D | wait_until_pred.pass.cpp | 65 int test2 = 0; variable 72 assert(test2 == 0); in f() 77 bool r = cv.wait_until(lk, t, Pred(test2)); in f() 82 assert(test2 != 0); in f() 88 assert(test2 == 0); in f() 103 test2 = 1; in main() 109 test2 = 0; in main()
|
| H A D | wait.pass.cpp | 34 int test2 = 0; variable 39 assert(test2 == 0); in f() 42 while (test2 == 0) in f() 44 assert(test2 != 0); in f() 55 test2 = 1; in main()
|
| H A D | wait_pred.pass.cpp | 36 int test2 = 0; variable 50 assert(test2 == 0); in f() 53 cv.wait(lk, Pred(test2)); in f() 54 assert(test2 != 0); in f() 65 test2 = 1; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ |
| H A D | generate_n.pass.cpp | 49 test2() in test2() function 64 test2<Iter, int>(); in test() 65 test2<Iter, unsigned int>(); in test() 66 test2<Iter, long>(); in test() 67 test2<Iter, unsigned long>(); in test() 68 test2<Iter, UserDefinedIntegral<unsigned> >(); in test() 69 test2<Iter, float>(); in test() 70 test2<Iter, double>(); // this is PR#35498 in test() 71 test2<Iter, long double>(); in test()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
| H A D | p13.cpp | 20 Opaque0 test2(int*); 31 using Base::test2; 32 Opaque1 test2(int*) const; 48 void test2() { in test2() function 49 Opaque0 a = ((Derived*) 0)->test2((int*) 0); in test2() 50 Opaque1 b = ((const Derived*) 0)->test2((int*) 0); in test2()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary.prop.query/ |
| H A D | void_t.pass.cpp | 29 void test2() in test2() function 65 test2<void, int>(); in main() 66 test2<double, int>(); in main() 67 test2<int&, int>(); in main() 68 test2<Class&, bool>(); in main() 69 test2<void *, int&>(); in main()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | method-conflict-1.m | 48 - (void) test2:(B*) object; 53 - (void) test2:(A*) object {} 59 - (void) test2:(A*) object; 63 - (void) test2:(id) object {} 68 - (B*) test2; // broken-note {{previous definition is here}} method 73 - (A*) test2 { return 0; } // broken-warning {{conflicting return type in implementation of 'test2'… method 79 - (A*) test2; method 83 - (id) test2 { return 0; } method
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.memfn/ |
| H A D | member_function.pass.cpp | 23 TEST_CONSTEXPR_CXX14 char test2(int, double) {return 'c';} in test2() function 58 test2(F f) in test2() function 75 test2(std::mem_fn(&A::test2)); in main() 83 static_assert(test2(std::mem_fn(&A::test2))); in main()
|
| H A D | member_function_const.pass.cpp | 23 TEST_CONSTEXPR char test2(int, double) const {return 'c';} in test2() function 62 test2(F f) in test2() function 81 test2(std::mem_fn(&A::test2)); in main() 86 static_assert(test2(std::mem_fn(&A::test2))); in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | section-name.ll | 11 ; CHECK: .section .test2,"ax",%progbits 12 ; CHECK: .globl test2 13 ; CHECK: .type test2,%function 14 define void @test2() section ".test2" {
|