Home
last modified time | relevance | path

Searched refs:pthread_create (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dposix-return.cpp62 if (pthread_create(NULL, NULL, NULL, NULL) < 0) {} in warningLessThanZero()
83 if (pthread_create(NULL, NULL, NULL, NULL) >= 0) {} in warningAlwaysTrue()
115 if (pthread_create(NULL, NULL, NULL, NULL) == -1) {} in warningEqualsNegative()
117 if (pthread_create(NULL, NULL, NULL, NULL) != -1) {} in warningEqualsNegative()
119 if (pthread_create(NULL, NULL, NULL, NULL) <= -1) {} in warningEqualsNegative()
121 if (pthread_create(NULL, NULL, NULL, NULL) < -1) {} in warningEqualsNegative()
140 if (pthread_create(NULL, NULL, NULL, NULL) < ZERO) {} in WarningWithMacro()
143 if (pthread_create(NULL, NULL, NULL, NULL) >= ZERO) {} in WarningWithMacro()
145 if (pthread_create(NULL, NULL, NULL, NULL) == NEGATIVE_ONE) {} in WarningWithMacro()
147 if (pthread_create(NULL, NULL, NULL, NULL) != NEGATIVE_ONE) {} in WarningWithMacro()
[all …]
/llvm-project-15.0.7/libunwind/src/
H A DRWMutex.hpp78 pthread_create(pthread_t *thread, const pthread_attr_t *attr,
94 return !pthread_create || (pthread_rwlock_rdlock(&_lock) == 0);
97 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0);
100 return !pthread_create || (pthread_rwlock_wrlock(&_lock) == 0);
103 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0);
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dpthreads.ll13 ; pthread_create(&thread, NULL, foo, NULL);
14 ; pthread_create(&thread, NULL, bar, &GlobalVPtr);
31 ; CHECK-NEXT: [[CALL:%.*]] = call i32 @pthread_create(i64* nonnull [[THREAD]], %union.pthread_at…
32 ; CHECK-NEXT: [[CALL1:%.*]] = call i32 @pthread_create(i64* nonnull [[THREAD]], %union.pthread_a…
37 …%call = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* non…
38 …%call1 = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* no…
42 declare !callback !0 dso_local i32 @pthread_create(i64*, %union.pthread_attr_t*, i8* (i8*)*, i8*)
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/IPConstantProp/
H A Dpthreads.ll16 ; pthread_create(&thread, NULL, foo, NULL);
17 ; pthread_create(&thread, NULL, bar, &GlobalVPtr);
42 ; IS__TUNIT____-NEXT: [[CALL:%.*]] = call i32 @pthread_create(i64* noundef nonnull align 8 deref…
43 ; IS__TUNIT____-NEXT: [[CALL1:%.*]] = call i32 @pthread_create(i64* noundef nonnull align 8 dere…
53 ; IS__CGSCC____-NEXT: [[CALL:%.*]] = call i32 @pthread_create(i64* noundef nonnull align 8 deref…
56 ; IS__CGSCC____-NEXT: [[CALL3:%.*]] = call i32 @pthread_create(i64* noundef nonnull align 8 dere…
63 …%call = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* non…
64 …%call1 = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* no…
65 …%call2 = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* no…
66 …%call3 = call i32 @pthread_create(i64* nonnull %thread, %union.pthread_attr_t* null, i8* (i8*)* no…
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/tsan/thread_numbers/
H A Dmain.c30 pthread_create(&t, NULL, nothing, NULL); in main()
35 pthread_create(&t1, NULL, f1, NULL); in main()
39 pthread_create(&t, NULL, nothing, NULL); in main()
44 pthread_create(&t2, NULL, f2, NULL); in main()
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfd_tid_recycled.cpp31 pthread_create(&t_create, NULL, ThreadCreatePipe, NULL); in main()
36 pthread_create(&t_dummy, NULL, ThreadDummy, NULL); in main()
41 pthread_create(&t[0], NULL, ThreadWrite, NULL); in main()
42 pthread_create(&t[1], NULL, ThreadClose, NULL); in main()
H A Drace_on_heap.cpp28 pthread_create(&t[0], 0, AllocThread, 0); in main()
31 pthread_create(&t[0], 0, Thread1, (char*)p + 16); in main()
32 pthread_create(&t[1], 0, Thread2, (char*)p + 16); in main()
H A Dprint_full_thread_history.cpp21 pthread_create(&t[0], NULL, Thread2, NULL); in Thread1()
22 pthread_create(&t[1], NULL, Thread3, NULL); in Thread1()
31 pthread_create(&t, NULL, Thread1, NULL); in main()
H A Dstatic_init5.cpp20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); in CreateCache()
35 pthread_create(&t[0], 0, Thread1, 0); in main()
36 pthread_create(&t[1], 0, Thread1, 0); in main()
H A Dstatic_init6.cpp20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); in CreateCache()
35 pthread_create(&t[0], 0, Thread1, 0); in main()
36 pthread_create(&t[1], 0, Thread1, 0); in main()
H A Djava_finalizer2.cpp62 pthread_create(&th[0], 0, Thread1, heap); in main()
63 pthread_create(&th[1], 0, Thread2, heap); in main()
66 pthread_create(&ballast[i], 0, Ballast, heap); in main()
67 pthread_create(&th[2], 0, Thread3, heap); in main()
H A Dpthread_key.cpp29 pthread_create(&th, 0, thr, 0); in main()
33 pthread_create(&th[0], 0, thr, 0); in main()
34 pthread_create(&th[1], 0, thr, 0); in main()
H A Dbench_threads.cpp17 pthread_create(&th, nullptr, nop_thread, nullptr); in thread()
30 pthread_create(&th[j], nullptr, nop_thread, nullptr); in bench()
38 pthread_create(&th[j], nullptr, nop_thread, nullptr); in bench()
H A Dmmap_stress.cpp30 if (pthread_create(&th[i], 0, SubWorker, 0)) in Worker1()
44 if (pthread_create(&th[i], 0, Worker1, 0)) in Worker()
57 if (pthread_create(&th[i], 0, Worker, 0)) in main()
H A Dfork_multithreaded.cpp23 pthread_create(&th0[i], 0, sleeper, 0); in main()
27 pthread_create(&th1[i], 0, nop, 0); in main()
40 pthread_create(&th2[i], 0, nop, 0); in main()
H A Dstack_race2.cpp13 pthread_create(&t, 0, Thread2, &Var); in Thread()
23 pthread_create(&t, 0, Thread, 0); in main()
H A Dsunrpc.cpp20 pthread_create(&th[0], 0, thr, 0); in main()
21 pthread_create(&th[1], 0, thr, 0); in main()
H A Dstatic_init7.cpp32 pthread_create(&t[0], 0, Thread, 0); in main()
33 pthread_create(&t[1], 0, Thread, 0); in main()
/llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/
H A Dprint-memory-usage.c56 pthread_create(&t1, NULL, T1, NULL); in main()
57 pthread_create(&t2, NULL, T1, NULL); in main()
58 pthread_create(&t3, NULL, T1, NULL); in main()
59 pthread_create(&t4, NULL, T4, NULL); in main()
H A Dthread-uaf.c50 pthread_create(&t1, NULL, Allocate, NULL); in main()
52 pthread_create(&t2, NULL, Deallocate, NULL); in main()
54 pthread_create(&t3, NULL, Use, NULL); in main()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dcallback_pthread_create.c20 int pthread_create(pthread_t *, const pthread_attr_t *,
36 pthread_create(&MyFirstThread, 0, callee0, 0); in foo()
39 pthread_create(&MySecondThread, 0, callee1, (void *)&GlobalVar); in foo()
/llvm-project-15.0.7/compiler-rt/test/safestack/
H A Dpthread-stack-size.c32 if (pthread_create(&t3, NULL, wait_until, (void *)3)) in main()
34 if (pthread_create(&t1, &small_stack_attr, wait_until, (void *)1)) in main()
36 if (pthread_create(&t2, NULL, wait_until, (void *)2)) in main()
/llvm-project-15.0.7/libc/test/integration/src/pthread/
H A DCMakeLists.txt18 libc.src.pthread.pthread_create
32 libc.src.pthread.pthread_create
51 libc.src.pthread.pthread_create
/llvm-project-15.0.7/lldb/test/API/macosx/thread-names/
H A Dmain.c29 pthread_create (&other_thread, NULL, second_thread, NULL); in main()
30 pthread_create (&other_thread, NULL, third_thread, NULL); in main()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/correct-thread/
H A Dmain.c16 pthread_create(&t1, NULL, *thread, NULL); in main()
18 pthread_create(&t2, NULL, *thread, NULL); in main()

12345678910>>...16