Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dclient_server_test.cc48 auto thread_fn = [&](int node_id) -> xla::Status { in TEST() local
97 thread_pool.Schedule([&, i]() { statuses[i] = thread_fn(i); }); in TEST()
197 auto thread_fn = [&](int node_id) -> xla::Status { in TEST() local
226 thread_pool.Schedule([&, i]() { statuses[i] = thread_fn(i); }); in TEST()
246 auto thread_fn = [&](int node_id) -> xla::Status { in TEST() local
275 thread_pool.Schedule([&, i]() { statuses[i] = thread_fn(i); }); in TEST()
302 auto thread_fn = [&](int node_id) -> xla::Status { in TEST() local
335 thread_pool.Schedule([&, i]() { statuses[i] = thread_fn(i); }); in TEST()
358 auto thread_fn = [&](int node_id) -> xla::Status { in TEST() local
379 thread_pool.Schedule([&, i]() { statuses[i] = thread_fn(i); }); in TEST()
[all …]
/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.c14 void *(*thread_fn)(void *), void *arg) in safe_pthread_create()
18 rval = pthread_create(thread_id, attr, thread_fn, arg); in safe_pthread_create()
23 attr, thread_fn, arg, tst_strerrno(rval)); in safe_pthread_create()
/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/testcases/cve/
Dcve-2017-17053.c33 void *(*thread_fn)(void *), void *arg) in try_pthread_create()
37 rval = pthread_create(thread_id, attr, thread_fn, arg); in try_pthread_create()
41 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/llvm-project/libcxxabi/test/
Dthread_local_destruction_order.pass.cpp54 void thread_fn() { in thread_fn() function
64 support::make_test_thread(thread_fn).join(); in main()
/external/tensorflow/tensorflow/python/eager/
Dremote_cluster_test.py374 def thread_fn(device, results): function
394 threading.Thread(target=thread_fn, args=(self.device_t1, t1_results)))
396 threading.Thread(target=thread_fn, args=(self.device_t2, t2_results)))
421 def thread_fn(device, results): function
436 threading.Thread(target=thread_fn, args=(self.device_t1, t1_results)))
438 threading.Thread(target=thread_fn, args=(self.device_t2, t2_results)))
545 def thread_fn(device, results): function
562 threading.Thread(target=thread_fn, args=(self.device_t1, results)))
595 def thread_fn(executor_obj, device, results): function
612 target=thread_fn, args=(executor_t3, self.device_t3, t3_results)))
[all …]
/external/tensorflow/tensorflow/python/util/
Dlock_util_test.py38 def thread_fn(thread_id): function
50 self.checkedThread(target=thread_fn, args=(i,))
/external/tensorflow/tensorflow/python/saved_model/
Dsave_context_test.py43 def thread_fn(): function
60 t = threading.Thread(target=thread_fn)
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl34.c32 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads()
38 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.c99 static void *thread_fn(LTP_ATTRIBUTE_UNUSED void *args) in thread_fn() function
206 SAFE_PTHREAD_CREATE(id + i, NULL, thread_fn, NULL); in do_test()
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py1822 def thread_fn(i, graph): function
1836 threading.Thread(target=thread_fn, args=(
1852 def thread_fn(i, graph, run_event, pause_event): function
1871 target=thread_fn, args=(i, graph, run_events[i], pause_events[i]))
1891 def thread_fn(graph, main_thread_scope): function
1907 target=thread_fn, args=(graph, main_thread_scope))
/external/tensorflow/tensorflow/python/distribute/v1/
Dcross_device_ops_test.py834 def thread_fn(): function
840 t = threading.Thread(target=thread_fn)
/external/tensorflow/tensorflow/python/distribute/
Dcross_device_ops.py1229 def thread_fn(device_id): function
1238 outputs_by_device = self._pool.map(thread_fn, list(range(num_devices)))
Dcross_device_ops_test.py750 def thread_fn(): function
756 t = threading.Thread(target=thread_fn)
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi46672 …<var-decl name="thread_fn" type-id="29591c9a" visibility="default" filepath="include/linux/interru…
Dtest-PR27569-v1.abi46701 …<var-decl name="thread_fn" type-id="29591c9a" visibility="default" filepath="include/linux/interru…