/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/ |
D | client_server_test.cc | 48 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/ |
D | tst_safe_pthread.h | 37 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/ |
D | safe_pthread.c | 14 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/ |
D | thread.c | 219 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 …]
|
D | thread.h | 154 opj_thread_t* opj_thread_create(opj_thread_fn thread_fn, void* user_data);
|
/external/ltp/testcases/cve/ |
D | cve-2017-17053.c | 33 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/ |
D | thread_local_destruction_order.pass.cpp | 44 void thread_fn() { in thread_fn() function 54 std::thread{thread_fn}.join(); in main()
|
/external/llvm-project/libcxxabi/test/ |
D | thread_local_destruction_order.pass.cpp | 54 void thread_fn() { in thread_fn() function 64 support::make_test_thread(thread_fn).join(); in main()
|
/external/tensorflow/tensorflow/python/eager/ |
D | remote_cluster_test.py | 374 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/ |
D | lock_util_test.py | 38 def thread_fn(thread_id): function 50 self.checkedThread(target=thread_fn, args=(i,))
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | save_context_test.py | 43 def thread_fn(): function 60 t = threading.Thread(target=thread_fn)
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl34.c | 32 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/ |
D | watchdog_unittest.cc | 143 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/ |
D | nfs05_make_tree.c | 99 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/ |
D | variable_scope_test.py | 1822 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/ |
D | cross_device_ops_test.py | 834 def thread_fn(): function 840 t = threading.Thread(target=thread_fn)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | cross_device_ops.py | 1229 def thread_fn(device_id): function 1238 outputs_by_device = self._pool.map(thread_fn, list(range(num_devices)))
|
D | cross_device_ops_test.py | 750 def thread_fn(): function 756 t = threading.Thread(target=thread_fn)
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v0.abi | 46672 …<var-decl name="thread_fn" type-id="29591c9a" visibility="default" filepath="include/linux/interru…
|
D | test-PR27569-v1.abi | 46701 …<var-decl name="thread_fn" type-id="29591c9a" visibility="default" filepath="include/linux/interru…
|