Home
last modified time | relevance | path

Searched refs:pthread_t (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/external/libhevc/common/
Dithread.c56 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/libmpeg2/common/
Dithread.c62 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/libavc/common/
Dithread.c68 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/compiler-rt/test/tsan/
Dsignal_recursive.cc63 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()
Dfd_tid_recycled.cc30 pthread_t t_create; in main()
35 pthread_t t_dummy; in main()
40 pthread_t t[2]; in main()
Dmmap_stress.cc20 pthread_t th[4]; in Worker1()
30 pthread_t th[4]; in Worker()
39 pthread_t th[4]; in main()
Dbench.h47 pthread_t *th = (pthread_t*)malloc(nth * sizeof(pthread_t)); in start_thread_group()
Dfork_multithreaded.cc20 pthread_t th; in main()
28 pthread_t th2; in main()
Dstack_race2.cc12 pthread_t t; in Thread()
22 pthread_t t; in main()
Dtls_race2.cc12 pthread_t t; in Thread()
22 pthread_t t; in main()
Dstatic_init5.cc19 pthread_t t; in CreateCache()
34 pthread_t t[2]; in main()
Dstatic_init6.cc19 pthread_t t; in CreateCache()
34 pthread_t t[2]; in main()
Dsignal_errno.cc11 pthread_t mainth;
41 pthread_t th; in main()
/external/squashfs-tools/squashfs-tools/
Drestore.c49 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/ltrace/testsuite/ltrace.main/
Dmain-threaded.c18 pthread_t thread1; in main()
19 pthread_t thread2; in main()
20 pthread_t thread3; in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc65 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()
Dsanitizer_pthread_wrappers.h29 typedef HANDLE pthread_t; typedef
44 inline void PTHREAD_CREATE(pthread_t *thread, void *attr, in PTHREAD_CREATE()
54 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) { in PTHREAD_JOIN()
/external/compiler-rt/lib/tsan/benchmarks/
Dvts_many_threads_bench.cc93 pthread_t *t = new pthread_t[n_threads]; in main()
95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
/external/valgrind/drd/tests/
Dlocal_static.cpp32 std::vector<pthread_t> thread(2); in main()
35 for (std::vector<pthread_t>::iterator p = thread.begin(); p != thread.end(); in main()
44 for (std::vector<pthread_t>::const_iterator p = thread.begin(); in main()
Dpth_create_glibc_2_0.c13 extern int pthread_create_glibc_2_0(pthread_t*, const pthread_attr_t*,
28 pthread_t thr; in main()
Drwlock_race.c37 pthread_t thread1; in main()
38 pthread_t thread2; in main()
/external/autotest/client/tests/hackbench/src/
Dhackbench.c212 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/valgrind/none/tests/
Dpth_cancel2.c65 pthread_t * target = (pthread_t *)arg; in killer()
74 pthread_t io_thread, killer_thread; in main()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h35 typedef HANDLE pthread_t; typedef
50 static INLINE int pthread_create(pthread_t* const thread, const void* attr, in pthread_create()
54 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create()
65 static INLINE int pthread_join(pthread_t thread, void** value_ptr) { in pthread_join()
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test.cc29 pthread_t child; in CFAllocator_DoubleFreeOnPthread()
55 pthread_t th1, th2; in CFAllocator_PassMemoryToAnotherThread()
176 pthread_t workers[kNumWorkers], forker; in TEST()
197 pthread_t th; in TEST()

12345678910>>...22