/external/libaom/libaom/av1/encoder/ |
D | ethread.c | 298 EncWorkerData *const thread_data = (EncWorkerData *)arg1; in enc_row_mt_worker_hook() local 299 AV1_COMP *const cpi = thread_data->cpi; in enc_row_mt_worker_hook() 303 int thread_id = thread_data->thread_id; in enc_row_mt_worker_hook() 333 ThreadData *td = thread_data->td; in enc_row_mt_worker_hook() 365 EncWorkerData *const thread_data = (EncWorkerData *)arg1; in enc_worker_hook() local 366 AV1_COMP *const cpi = thread_data->cpi; in enc_worker_hook() 374 for (t = thread_data->start; t < tile_rows * tile_cols; in enc_worker_hook() 381 thread_data->td->mb.e_mbd.tile_ctx = &this_tile->tctx; in enc_worker_hook() 382 thread_data->td->mb.tile_pb_ctx = &this_tile->tctx; in enc_worker_hook() 383 av1_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook() [all …]
|
D | cnn.h | 174 const CNN_THREAD_DATA *thread_data, 179 const CNN_THREAD_DATA *thread_data, 186 const CNN_THREAD_DATA *thread_data, float **output, 190 const CNN_THREAD_DATA *thread_data,
|
D | cnn.c | 359 const CNN_THREAD_DATA *thread_data, in convolve_layer_mt() argument 362 const int num_workers = thread_data->num_workers; in convolve_layer_mt() 366 AVxWorker *const worker = &thread_data->workers[th]; in convolve_layer_mt() 387 winterface->sync(&thread_data->workers[th]); in convolve_layer_mt() 834 const CNN_THREAD_DATA *thread_data, in av1_cnn_predict_c() argument 902 if (thread_data->num_workers > 1) { in av1_cnn_predict_c() 905 tensor1[branch].stride, layer_config, thread_data, in av1_cnn_predict_c() 1003 const CNN_THREAD_DATA *thread_data, in av1_cnn_predict_img_multi_out() argument 1048 cnn_config, thread_data, output); in av1_cnn_predict_img_multi_out() 1058 const CNN_THREAD_DATA *thread_data, in av1_cnn_predict_img_multi_out_highbd() argument [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ethread.c | 39 EncWorkerData *const thread_data = (EncWorkerData *)arg1; in enc_worker_hook() local 40 VP9_COMP *const cpi = thread_data->cpi; in enc_worker_hook() 48 for (t = thread_data->start; t < tile_rows * tile_cols; in enc_worker_hook() 53 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook() 103 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; in create_enc_workers() local 109 thread_data->cpi = cpi; in create_enc_workers() 112 CHECK_MEM_ERROR(cm, thread_data->td, in create_enc_workers() 113 vpx_memalign(32, sizeof(*thread_data->td))); in create_enc_workers() 114 vp9_zero(*thread_data->td); in create_enc_workers() 117 thread_data->td->leaf_tree = NULL; in create_enc_workers() [all …]
|
D | vp9_multi_thread.c | 292 EncWorkerData *thread_data; in vp9_prepare_job_queue() local 293 thread_data = &cpi->tile_thr_data[i]; in vp9_prepare_job_queue() 294 thread_data->thread_id = i; in vp9_prepare_job_queue() 297 thread_data->tile_completion_status[tile_col] = 0; in vp9_prepare_job_queue()
|
/external/curl/lib/ |
D | nwlib.c | 161 struct libthreaddata *thread_data; in GetOrSetUpData() local 166 thread_data = (struct libthreaddata_t *) NULL; in GetOrSetUpData() 242 && !(err = NXKeyGetValue(key, (void **) &thread_data)) in GetOrSetUpData() 243 && !thread_data) { in GetOrSetUpData() 251 thread_data = malloc(sizeof(struct libthreaddata)); in GetOrSetUpData() 253 if(thread_data) { in GetOrSetUpData() 254 thread_data->_errno = 0; in GetOrSetUpData() 255 thread_data->twentybytes = malloc(20); in GetOrSetUpData() 257 if(!thread_data->twentybytes) { in GetOrSetUpData() 258 free(thread_data); in GetOrSetUpData() [all …]
|
D | asyn-thread.c | 176 struct thread_data *td; /* for thread-self cleanup */ 179 struct thread_data { struct 188 return &(((struct thread_data *)conn->async.os_specific)->tsd); in conn_thread_sync_data() argument 219 int init_thread_sync_data(struct thread_data *td, in init_thread_sync_data() 298 struct thread_data *td = tsd->td; in getaddrinfo_thread() 351 struct thread_data *td = tsd->td; in gethostbyname_thread() 384 struct thread_data *td = (struct thread_data*) async->os_specific; in destroy_async_data() 437 struct thread_data *td = calloc(1, sizeof(struct thread_data)); in init_resolve_thread() 522 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in thread_wait_resolv() 560 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in Curl_resolver_kill() [all …]
|
/external/libaom/libaom/test/ |
D | cnn_test.cc | 37 int in_stride, CNN_THREAD_DATA *thread_data, in RunCNNTest() argument 59 thread_data, &output_struct, &expected, tolerance); in RunCNNTest() 67 CNN_THREAD_DATA *thread_data, in RunMultiOutCNNTest() argument 80 thread_data, output); in RunMultiOutCNNTest() 313 CNN_THREAD_DATA thread_data = { 1, NULL }; in TEST_F() local 316 image_width, &thread_data, MSE_INT_TOL); in TEST_F() 323 image_width, &thread_data, MSE_INT_TOL); in TEST_F() 330 image_width, &thread_data, MSE_INT_TOL); in TEST_F() 390 CNN_THREAD_DATA thread_data = { 1, NULL }; in TEST_F() local 393 image_width, &thread_data, MSE_INT_TOL); in TEST_F() [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/elf-core/ |
D | ProcessElfCore.cpp | 217 for (const auto &thread_data : m_thread_data) { in DoLoadCore() local 218 if (thread_data.signo != 0) in DoLoadCore() 220 if (thread_data.prstatus_sig != 0) in DoLoadCore() 227 for (auto &thread_data : m_thread_data) in DoLoadCore() local 228 thread_data.signo = thread_data.prstatus_sig; in DoLoadCore() 415 static void ParseFreeBSDPrStatus(ThreadData &thread_data, in ParseFreeBSDPrStatus() argument 437 thread_data.signo = data.GetU32(&offset); // pr_cursig in ParseFreeBSDPrStatus() 438 thread_data.tid = data.GetU32(&offset); // pr_pid in ParseFreeBSDPrStatus() 443 thread_data.gpregset = DataExtractor(data, offset, len); in ParseFreeBSDPrStatus() 490 static void ParseOpenBSDProcInfo(ThreadData &thread_data, in ParseOpenBSDProcInfo() argument [all …]
|
/external/rust/crates/parking_lot_core/src/ |
D | word_lock.rs | 136 state = with_thread_data(|thread_data| { in lock_slow() 141 thread_data.parker.prepare_park(); in lock_slow() 147 thread_data.queue_tail.set(thread_data); in lock_slow() 148 thread_data.prev.set(ptr::null()); in lock_slow() 150 thread_data.queue_tail.set(ptr::null()); in lock_slow() 151 thread_data.prev.set(ptr::null()); in lock_slow() 152 thread_data.next.set(queue_head); in lock_slow() 156 state.with_queue_head(thread_data), in lock_slow() 167 thread_data.parker.park(); in lock_slow() 293 fn with_queue_head(self, thread_data: *const ThreadData) -> Self; in with_queue_head() [all …]
|
D | parking_lot.rs | 576 with_thread_data(|thread_data| { in park() 588 thread_data.parked_with_timeout.set(timeout.is_some()); in park() 589 thread_data.next_in_queue.set(ptr::null()); in park() 590 thread_data.key.store(key, Ordering::Relaxed); in park() 591 thread_data.park_token.set(park_token); in park() 592 thread_data.parker.prepare_park(); in park() 594 (*bucket.queue_tail.get()).next_in_queue.set(thread_data); in park() 596 bucket.queue_head.set(thread_data); in park() 598 bucket.queue_tail.set(thread_data); in park() 609 Some(timeout) => thread_data.parker.park_until(timeout), in park() [all …]
|
/external/llvm-project/openmp/tools/multiplex/tests/custom_data_storage/ |
D | first-tool.h | 79 static void on_cds_ompt_callback_flush(ompt_data_t *thread_data, in on_cds_ompt_callback_flush() argument 81 thread_data = get_own_ompt_data(thread_data); in on_cds_ompt_callback_flush() 82 on_cds_ompt_callback_flush(thread_data, codeptr_ra); in on_cds_ompt_callback_flush() 193 ompt_data_t *thread_data) { in on_cds_ompt_callback_thread_begin() argument 194 if (thread_data->ptr) in on_cds_ompt_callback_thread_begin() 196 allocate_data_pair(thread_data); in on_cds_ompt_callback_thread_begin() 197 thread_data = get_own_ompt_data(thread_data); in on_cds_ompt_callback_thread_begin() 198 on_ompt_callback_thread_begin(thread_type, thread_data); in on_cds_ompt_callback_thread_begin() 201 static void on_cds_ompt_callback_thread_end(ompt_data_t *thread_data) { in on_cds_ompt_callback_thread_end() argument 202 thread_data = get_own_ompt_data(thread_data); in on_cds_ompt_callback_thread_end() [all …]
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_tasking.cpp | 30 kmp_thread_data_t *thread_data); 45 kmp_thread_data_t *thread_data, in __kmp_trace_task_stack() argument 47 kmp_task_stack_t *task_stack = &thread_data->td.td_susp_tied_tasks; in __kmp_trace_task_stack() 99 kmp_thread_data_t *thread_data) { in __kmp_init_task_stack() argument 100 kmp_task_stack_t *task_stack = &thread_data->td.td_susp_tied_tasks; in __kmp_init_task_stack() 120 kmp_thread_data_t *thread_data) { in __kmp_free_task_stack() argument 121 kmp_task_stack_t *task_stack = &thread_data->td.td_susp_tied_tasks; in __kmp_free_task_stack() 151 kmp_thread_data_t *thread_data = in __kmp_push_task_stack() local 153 kmp_task_stack_t *task_stack = &thread_data->td.td_susp_tied_tasks; in __kmp_push_task_stack() 210 kmp_thread_data_t *thread_data = in __kmp_pop_task_stack() local [all …]
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 83 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); in thread_function() local 85 *(thread_data->thread_id_ptr) = thread_id; in thread_function() 86 int result = pthread_barrier_wait(thread_data->barrier); in thread_function() 290 ThreadData* thread_data = new ThreadData[num_threads]; in CreateThreadsInChildProcess() local 309 thread_data[i].barrier = &thread_barrier; in CreateThreadsInChildProcess() 310 thread_data[i].thread_id_ptr = GetThreadIdPointer(i); in CreateThreadsInChildProcess() 311 if (pthread_create(&thread_data[i].thread, &thread_attributes, in CreateThreadsInChildProcess() 312 thread_function, &thread_data[i]) != 0) { in CreateThreadsInChildProcess() 326 delete[] thread_data; in CreateThreadsInChildProcess()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast.c | 113 task->thread_data.vis_counter = 0; in lp_rast_tile_begin() 114 task->thread_data.ps_invocations = 0; in lp_rast_tile_begin() 369 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_tile() 382 &task->thread_data, in lp_rast_shade_tile() 477 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_mask_sample() 490 &task->thread_data, in lp_rast_shade_quads_mask_sample() 526 pq->start[task->thread_index] = task->thread_data.vis_counter; in lp_rast_begin_query() 529 pq->start[task->thread_index] = task->thread_data.ps_invocations; in lp_rast_begin_query() 554 task->thread_data.vis_counter - pq->start[task->thread_index]; in lp_rast_end_query() 562 task->thread_data.ps_invocations - pq->start[task->thread_index]; in lp_rast_end_query() [all …]
|
/external/llvm-project/openmp/runtime/test/ompt/synchronization/ |
D | master.c | 49 ompt_data_t *thread_data) { in on_ompt_callback_thread_begin() argument 50 if (thread_data->ptr) in on_ompt_callback_thread_begin() 52 thread_data->value = ompt_get_unique_id(); in on_ompt_callback_thread_begin() 56 thread_type, thread_data->value); in on_ompt_callback_thread_begin()
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | param_test.c | 360 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local 361 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread() 364 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 367 reps = thread_data->reps; in test_percpu_spinlock_thread() 382 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 401 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 405 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 407 thread_data[i].reg = 1; in test_percpu_spinlock() 409 thread_data[i].reg = 0; in test_percpu_spinlock() 410 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
/external/llvm-project/openmp/runtime/test/ompt/parallel/ |
D | repeated_calls.c | 52 ompt_data_t *thread_data) { in on_ompt_callback_thread_begin() argument 53 if (thread_data->ptr) in on_ompt_callback_thread_begin() 55 thread_data->value = ompt_get_unique_id(); in on_ompt_callback_thread_begin() 59 thread_type, thread_data->value); in on_ompt_callback_thread_begin()
|
/external/llvm-project/openmp/runtime/test/ompt/synchronization/barrier/ |
D | implicit_task_data.c | 63 ompt_data_t *thread_data) in on_ompt_callback_thread_begin() argument 65 if(thread_data->ptr) in on_ompt_callback_thread_begin() 67 thread_data->value = ompt_get_unique_id(); in on_ompt_callback_thread_begin() 68 …ompt_get_thread_data()->value, ompt_thread_t_values[thread_type], thread_type, thread_data->value); in on_ompt_callback_thread_begin()
|
/external/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_trace_utils.cc | 130 const uint8_t* thread_data; in ReadInlineThread() local 131 if (!ReadWords(2, &thread_data)) { in ReadInlineThread() 135 memcpy(&thread_out->pid, thread_data, sizeof(uint64_t)); in ReadInlineThread() 136 memcpy(&thread_out->tid, thread_data + sizeof(uint64_t), sizeof(uint64_t)); in ReadInlineThread()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scan_ops_gpu.h | 218 T thread_data[ItemsPerThread]; in __launch_bounds__() local 219 BlockLoad(temp_storage.load).Load(permutein_iter, thread_data, valid_items); in __launch_bounds__() 225 .ExclusiveScan(thread_data, thread_data, op, prefix_op); in __launch_bounds__() 228 .InclusiveScan(thread_data, thread_data, op, prefix_op); in __launch_bounds__() 234 .Store(permuteout_iter, thread_data, valid_items); in __launch_bounds__()
|
/external/llvm-project/openmp/tools/multiplex/ |
D | ompt-multiplex.h | 285 static void ompt_multiplex_callback_flush(ompt_data_t *thread_data, in ompt_multiplex_callback_flush() argument 289 ompt_multiplex_get_own_thread_data(thread_data), codeptr_ra); in ompt_multiplex_callback_flush() 293 ompt_multiplex_get_client_thread_data(thread_data), codeptr_ra); in ompt_multiplex_callback_flush() 613 ompt_data_t *thread_data) { in ompt_multiplex_callback_thread_begin() argument 615 ompt_multiplex_allocate_data_pair(thread_data); in ompt_multiplex_callback_thread_begin() 619 thread_type, ompt_multiplex_get_own_thread_data(thread_data)); in ompt_multiplex_callback_thread_begin() 623 thread_type, ompt_multiplex_get_client_thread_data(thread_data)); in ompt_multiplex_callback_thread_begin() 627 static void ompt_multiplex_callback_thread_end(ompt_data_t *thread_data) { in ompt_multiplex_callback_thread_end() argument 634 ompt_multiplex_get_own_thread_data(thread_data)); in ompt_multiplex_callback_thread_end() 640 ompt_multiplex_get_client_thread_data(thread_data)); in ompt_multiplex_callback_thread_end() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 2903 AV1Decoder *const pbi, DecWorkerData *const thread_data, in tile_worker_hook_init() argument 2907 ThreadData *const td = thread_data->td; in tile_worker_hook_init() 2915 setup_bool_decoder(tile_buffer->data, thread_data->data_end, in tile_worker_hook_init() 2916 tile_buffer->size, &thread_data->error_info, in tile_worker_hook_init() 2928 td->xd.error_info = &thread_data->error_info; in tile_worker_hook_init() 2944 DecWorkerData *const thread_data = (DecWorkerData *)arg1; in tile_worker_hook() local 2947 ThreadData *const td = thread_data->td; in tile_worker_hook() 2953 if (setjmp(thread_data->error_info.jmp)) { in tile_worker_hook() 2954 thread_data->error_info.setjmp = 0; in tile_worker_hook() 2955 thread_data->td->xd.corrupted = 1; in tile_worker_hook() [all …]
|
D | decoder.c | 187 if (pbi->thread_data) { in av1_decoder_remove() 189 DecWorkerData *const thread_data = pbi->thread_data + worker_idx; in av1_decoder_remove() local 190 av1_free_mc_tmp_buf(thread_data->td); in av1_decoder_remove() 191 aom_free(thread_data->td); in av1_decoder_remove() 193 aom_free(pbi->thread_data); in av1_decoder_remove()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | pipe_barrier_test.c | 71 thread_function(void *thread_data) in thread_function() argument 73 int thread_id = *((int *) thread_data); in thread_function()
|