Home
last modified time | relevance | path

Searched refs:thread_fn (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dthread.c219 opj_thread_fn thread_fn; member
229 thread->thread_fn(thread->user_data); in opj_thread_callback_adapter()
254 opj_thread_t* opj_thread_create(opj_thread_fn thread_fn, void* user_data) in opj_thread_create() argument
258 assert(thread_fn); in opj_thread_create()
264 thread->thread_fn = thread_fn; in opj_thread_create()
384 opj_thread_fn thread_fn; member
392 thread->thread_fn(thread->user_data); in opj_thread_callback_adapter()
396 opj_thread_t* opj_thread_create(opj_thread_fn thread_fn, void* user_data) in opj_thread_create() argument
401 assert(thread_fn); in opj_thread_create()
407 thread->thread_fn = thread_fn; in opj_thread_create()
[all …]
Dthread.h154 opj_thread_t* opj_thread_create(opj_thread_fn thread_fn, void* user_data);
/external/ltp/include/
Dtst_safe_pthread.h37 void *(*thread_fn)(void *), void *arg);
38 #define SAFE_PTHREAD_CREATE(thread_id, attr, thread_fn, arg) \ argument
39 safe_pthread_create(__FILE__, __LINE__, thread_id, attr, thread_fn, arg)
/external/ltp/lib/
Dsafe_pthread.c26 void *(*thread_fn)(void *), void *arg) in safe_pthread_create()
30 rval = pthread_create(thread_id, attr, thread_fn, arg); in safe_pthread_create()
35 attr, thread_fn, arg, tst_strerrno(rval)); in safe_pthread_create()
/external/ltp/testcases/cve/
Dcve-2017-17053.c45 void *(*thread_fn)(void *), void *arg) in try_pthread_create()
49 rval = pthread_create(thread_id, attr, thread_fn, arg); in try_pthread_create()
53 thread_id, attr, thread_fn, arg, tst_strerrno(rval)); in try_pthread_create()
/external/libcxxabi/test/
Dthread_local_destruction_order.pass.cpp44 void thread_fn() { in thread_fn() function
54 std::thread{thread_fn}.join(); in main()
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c97 void *thread_fn(void *param) in thread_fn() function
271 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
283 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
292 rc = pthread_create(&threadtl, &threadattr, thread_fn, &tp[0]); in main()
Dpitest-1.c94 void *thread_fn(void *param) in thread_fn() function
263 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
276 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-5.c95 void *thread_fn(void *param) in thread_fn() function
285 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
298 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-6.c93 void *thread_fn(void *param) in thread_fn() function
262 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
275 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[1]); in main()
Dpitest-2.c96 void *thread_fn(void *param) in thread_fn() function
289 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
302 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
Dpitest-3.c97 void *thread_fn(void *param) in thread_fn() function
301 rc = pthread_create(&threads[i], &threadattr, thread_fn, in main()
314 rc = pthread_create(&threadtp, &threadattr, thread_fn, &tp[i]); in main()
/external/tensorflow/tensorflow/python/util/
Dlock_util_test.py38 def thread_fn(thread_id): function
50 self.checkedThread(target=thread_fn, args=(i,))
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl34.c46 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads()
52 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, (void *)i); in spawn_threads()
/external/perfetto/src/base/
Dwatchdog_unittest.cc143 auto thread_fn = [&mutex, &cv, &quit, &expected_tid](size_t thread_num) { in TEST() local
161 threads.emplace_back(thread_fn, i); in TEST()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c113 static void *thread_fn(LTP_ATTRIBUTE_UNUSED void *args) in thread_fn() function
220 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, NULL); in do_test()
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py1777 def thread_fn(i, graph): function
1791 threading.Thread(target=thread_fn, args=(
1807 def thread_fn(i, graph, run_event, pause_event): function
1826 target=thread_fn, args=(i, graph, run_events[i], pause_events[i]))
1846 def thread_fn(graph, main_thread_scope): function
1862 target=thread_fn, args=(graph, main_thread_scope))