/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-bad-signal-to-kill-thread.cpp | 5 using pthread_t = int; typedef 8 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, 11 int pthread_kill(pthread_t thread, int sig); 13 int pthread_cancel(pthread_t thread); 19 pthread_t thread; in main()
|
D | bugprone-bad-signal-to-kill-thread-sigterm-not-a-literal.cpp | 4 using pthread_t = int; typedef 5 int pthread_kill(pthread_t thread, int sig); 8 pthread_t thread; in func()
|
D | bugprone-bad-signal-to-kill-thread-undef-sigterm.cpp | 5 using pthread_t = int; typedef 6 int pthread_kill(pthread_t thread, int sig); 9 pthread_t thread; in func()
|
/external/llvm-project/clang/test/CodeGen/ |
D | callback_pthread_create.c | 17 typedef __darwin_pthread_t pthread_t; typedef 20 int pthread_create(pthread_t *, const pthread_attr_t *, 35 pthread_t MyFirstThread; in foo() 38 pthread_t MySecondThread; in foo()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/ |
D | stress.c | 132 ret = pthread_kill(*(pthread_t *) arg, SIGABRT); in flooder_1() 148 ret = pthread_kill(*(pthread_t *) arg, SIGBUS); in flooder_2() 196 ret = pthread_kill(*(pthread_t *) arg, SIGILL); in sync_send() 223 pthread_t fl_rec; in main() 224 pthread_t fl_snd1, fl_snd2; in main() 227 pthread_t sy_rec; in main() 228 pthread_t sy_snd; in main()
|
/external/llvm-project/lldb/test/API/functionalities/tsan/thread_numbers/ |
D | main.c | 29 pthread_t t; in main() 34 pthread_t t1; in main() 38 pthread_t t; in main() 43 pthread_t t2; in main()
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.h | 34 typedef HANDLE pthread_t; typedef 58 static INLINE int pthread_create(pthread_t *const thread, const void *attr, in pthread_create() 68 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create() 78 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join() 149 #define pthread_t TID 176 static INLINE int pthread_create(pthread_t *const thread, const void *attr, 186 tid = (pthread_t)_beginthread(thread_start, NULL, 1024 * 1024, targ); 196 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
|
/external/libmpeg2/common/ |
D | ithread.c | 62 return sizeof(pthread_t); in ithread_get_handle_size() 73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create() 78 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join() 162 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
|
/external/llvm-project/openmp/runtime/test/ |
D | omp_testsuite.h | 26 typedef HANDLE pthread_t; typedef 44 static int pthread_create(pthread_t *thread, void *attr, in pthread_create() 46 pthread_t pthread; in pthread_create() 60 static int pthread_join(pthread_t thread, void **retval) { in pthread_join()
|
/external/libavc/common/ |
D | ithread.c | 68 return sizeof(pthread_t); in ithread_get_handle_size() 80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create() 86 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join() 180 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
|
/external/libhevc/common/ |
D | ithread.c | 56 return sizeof(pthread_t); in ithread_get_handle_size() 66 … return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument); in ithread_create() 71 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join() 155 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | signal_recursive.cpp | 63 static void StopWorld(pthread_t thread) { in StopWorld() 73 static void StartWorld(pthread_t thread) { in StartWorld() 83 static void CollectGarbage(pthread_t thread) { in CollectGarbage() 113 pthread_t busy_thread; in main()
|
D | fd_tid_recycled.cpp | 30 pthread_t t_create; in main() 35 pthread_t t_dummy; in main() 40 pthread_t t[2]; in main()
|
/external/compiler-rt/test/tsan/ |
D | signal_recursive.cc | 63 static void StopWorld(pthread_t thread) { in StopWorld() 73 static void StartWorld(pthread_t thread) { in StartWorld() 83 static void CollectGarbage(pthread_t thread) { in CollectGarbage() 113 pthread_t busy_thread; in main()
|
D | fd_tid_recycled.cc | 30 pthread_t t_create; in main() 35 pthread_t t_dummy; in main() 40 pthread_t t[2]; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
D | 6-1.c | 35 pthread_t child_thread; in main() 36 pthread_t invalid_tid; in main() 53 memcpy(&invalid_tid, &child_thread, sizeof(pthread_t)); in main()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | pthread_mutex.cpp | 28 pthread_t threads[2] = {}; in main() 29 for (pthread_t &t : threads) in main() 31 for (pthread_t &t : threads) in main()
|
/external/ltp/testcases/kernel/sched/cfs-scheduler/ |
D | hackbench.c | 185 pthread_t create_worker(void *ctx, void *(*func) (void *)) in create_worker() 188 pthread_t childid; in create_worker() 202 return (pthread_t) 0; in create_worker() 221 void reap_worker(pthread_t id) in reap_worker() 238 static unsigned int group(pthread_t * pth, in group() 300 pthread_t *pth_tab; in main() 328 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
|
/external/squashfs-tools/squashfs-tools/ |
D | restore.c | 49 extern pthread_t reader_thread, writer_thread, main_thread; 50 extern pthread_t *deflator_thread, *frag_deflator_thread, *frag_thread; 57 static pthread_t restore_thread; 151 pthread_t *init_restore_thread() in init_restore_thread()
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 34 typedef HANDLE pthread_t; typedef 74 static INLINE int pthread_create(pthread_t *const thread, const void *attr, in pthread_create() 84 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create() 94 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join() 228 #define pthread_t TID 255 static INLINE int pthread_create(pthread_t *const thread, const void *attr, 265 tid = (pthread_t)_beginthread(thread_start, NULL, 1024 * 1024, targ); 275 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
|
/external/compiler-rt/lib/tsan/benchmarks/ |
D | vts_many_threads_bench.cc | 93 pthread_t *t = new pthread_t[n_threads]; in main() 95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
|
/external/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
D | vts_many_threads_bench.cpp | 93 pthread_t *t = new pthread_t[n_threads]; in main() 95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cpp | 65 pthread_t pthread_id; in SetUp() 83 void SpawnTidReporter(pthread_t *pthread_id, tid_t *tid); 87 std::vector<pthread_t> pthread_ids_; 109 void ThreadListerTest::SpawnTidReporter(pthread_t *pthread_id, tid_t *tid) { in SpawnTidReporter() 167 pthread_t extra_pthread_id; in TEST_F() 199 pthread_t tid; in TEST() 218 pthread_t tid; in TEST()
|
/external/autotest/client/tests/hackbench/src/ |
D | hackbench.c | 212 pthread_t create_worker(void *ctx, void *(*func)(void *)) in create_worker() 215 pthread_t childid; in create_worker() 228 return (pthread_t) 0; in create_worker() 246 void reap_worker(pthread_t id) in reap_worker() 263 static unsigned int group(pthread_t *pth, in group() 321 pthread_t *pth_tab; in main() 349 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cc | 65 pthread_t pthread_id; in SetUp() 83 void SpawnTidReporter(pthread_t *pthread_id, pid_t *tid); 87 std::vector<pthread_t> pthread_ids_; 109 void ThreadListerTest::SpawnTidReporter(pthread_t *pthread_id, in SpawnTidReporter() 173 pthread_t extra_pthread_id; in TEST_F() 207 pthread_t tid; in TEST() 226 pthread_t tid; in TEST()
|