/external/libaom/libaom/av1/encoder/ |
D | ethread.c | 282 EncWorkerData *const thread_data = (EncWorkerData *)arg1; in enc_row_mt_worker_hook() local 283 AV1_COMP *const cpi = thread_data->cpi; in enc_row_mt_worker_hook() 287 int thread_id = thread_data->thread_id; in enc_row_mt_worker_hook() 317 ThreadData *td = thread_data->td; in enc_row_mt_worker_hook() 353 EncWorkerData *const thread_data = (EncWorkerData *)arg1; in enc_worker_hook() local 354 AV1_COMP *const cpi = thread_data->cpi; in enc_worker_hook() 362 for (t = thread_data->start; t < tile_rows * tile_cols; in enc_worker_hook() 369 thread_data->td->mb.e_mbd.tile_ctx = &this_tile->tctx; in enc_worker_hook() 370 thread_data->td->mb.tile_pb_ctx = &this_tile->tctx; in enc_worker_hook() 371 av1_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook() [all …]
|
D | encoder.c | 3081 EncWorkerData *const thread_data = &cpi->tile_thr_data[t]; in av1_remove_compressor() local 3087 if (cpi->row_mt == 1) aom_free(thread_data->td->tctx); in av1_remove_compressor() 3089 aom_free(thread_data->td->palette_buffer); in av1_remove_compressor() 3090 aom_free(thread_data->td->tmp_conv_dst); in av1_remove_compressor() 3092 aom_free(thread_data->td->tmp_obmc_bufs[j]); in av1_remove_compressor() 3094 aom_free(thread_data->td->above_pred_buf); in av1_remove_compressor() 3095 aom_free(thread_data->td->left_pred_buf); in av1_remove_compressor() 3096 aom_free(thread_data->td->wsrc_buf); in av1_remove_compressor() 3098 aom_free(thread_data->td->inter_modes_info); in av1_remove_compressor() 3101 aom_free(thread_data->td->hash_value_buffer[x][y]); in av1_remove_compressor() [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()
|
D | vp9_encoder.c | 2581 EncWorkerData *const thread_data = &cpi->tile_thr_data[t]; in vp9_remove_compressor() local 2588 vpx_free(thread_data->td->counts); in vp9_remove_compressor() 2589 vp9_free_pc_tree(thread_data->td); in vp9_remove_compressor() 2590 vpx_free(thread_data->td); in vp9_remove_compressor()
|
/external/curl/lib/ |
D | nwlib.c | 162 libthreaddata_t *thread_data; in GetOrSetUpData() local 167 thread_data = (libthreaddata_t *) NULL; in GetOrSetUpData() 243 && !(err = NXKeyGetValue(key, (void **) &thread_data)) in GetOrSetUpData() 244 && !thread_data) { in GetOrSetUpData() 252 thread_data = malloc(sizeof(libthreaddata_t)); in GetOrSetUpData() 254 if(thread_data) { in GetOrSetUpData() 255 thread_data->_errno = 0; in GetOrSetUpData() 256 thread_data->twentybytes = malloc(20); in GetOrSetUpData() 258 if(!thread_data->twentybytes) { in GetOrSetUpData() 259 free(thread_data); in GetOrSetUpData() [all …]
|
D | asyn-thread.c | 171 struct thread_data *td; /* for thread-self cleanup */ 174 struct thread_data { struct 183 return &(((struct thread_data *)conn->async.os_specific)->tsd); in conn_thread_sync_data() argument 205 int init_thread_sync_data(struct thread_data * td, in init_thread_sync_data() 276 struct thread_data *td = tsd->td; in getaddrinfo_thread() 316 struct thread_data *td = tsd->td; in gethostbyname_thread() 349 struct thread_data *td = (struct thread_data*) async->os_specific; in destroy_async_data() 389 struct thread_data *td = calloc(1, sizeof(struct thread_data)); in init_resolve_thread() 468 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in thread_wait_resolv() 506 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in Curl_resolver_kill() [all …]
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 82 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); in thread_function() local 84 *(thread_data->thread_id_ptr) = thread_id; in thread_function() 85 int result = pthread_barrier_wait(thread_data->barrier); in thread_function() 283 ThreadData* thread_data = new ThreadData[num_threads]; in CreateThreadsInChildProcess() local 302 thread_data[i].barrier = &thread_barrier; in CreateThreadsInChildProcess() 303 thread_data[i].thread_id_ptr = GetThreadIdPointer(i); in CreateThreadsInChildProcess() 304 if (pthread_create(&thread_data[i].thread, &thread_attributes, in CreateThreadsInChildProcess() 305 thread_function, &thread_data[i]) != 0) { in CreateThreadsInChildProcess() 319 delete[] thread_data; in CreateThreadsInChildProcess()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast.c | 109 task->thread_data.vis_counter = 0; in lp_rast_tile_begin() 349 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_tile() 362 &task->thread_data, in lp_rast_shade_tile() 454 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_mask() 467 &task->thread_data, in lp_rast_shade_quads_mask() 491 pq->start[task->thread_index] = task->thread_data.vis_counter; in lp_rast_begin_query() 519 task->thread_data.vis_counter - pq->start[task->thread_index]; in lp_rast_end_query() 674 memset(task->thread_data.cache->cache_tags, 0, in rasterize_scene() 675 sizeof(task->thread_data.cache->cache_tags)); in rasterize_scene() 677 task->thread_data.cache->cache_access_total = 0; in rasterize_scene() [all …]
|
D | lp_rast_priv.h | 101 struct lp_jit_thread_data thread_data; member 267 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_all() 280 &task->thread_data, in lp_rast_shade_quads_all()
|
D | lp_jit.h | 252 struct lp_jit_thread_data *thread_data,
|
/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() 381 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 400 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 404 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 406 thread_data[i].reg = 1; in test_percpu_spinlock() 408 thread_data[i].reg = 0; in test_percpu_spinlock() 409 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scan_ops_gpu.h | 207 T thread_data[ItemsPerThread]; in scan_kernel() local 208 BlockLoad(temp_storage.load).Load(permutein_iter, thread_data, valid_items); in scan_kernel() 214 .ExclusiveScan(thread_data, thread_data, op, prefix_op); in scan_kernel() 217 .InclusiveScan(thread_data, thread_data, op, prefix_op); in scan_kernel() 223 .Store(permuteout_iter, thread_data, valid_items); in scan_kernel()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 3284 DecWorkerData *const thread_data, in tile_worker_hook_init() argument 3289 ThreadData *const td = thread_data->td; in tile_worker_hook_init() 3297 setup_bool_decoder(tile_buffer->data, thread_data->data_end, in tile_worker_hook_init() 3298 tile_buffer->size, &thread_data->error_info, in tile_worker_hook_init() 3310 td->xd.error_info = &thread_data->error_info; in tile_worker_hook_init() 3325 DecWorkerData *const thread_data = (DecWorkerData *)arg1; in tile_worker_hook() local 3328 ThreadData *const td = thread_data->td; in tile_worker_hook() 3334 if (setjmp(thread_data->error_info.jmp)) { in tile_worker_hook() 3335 thread_data->error_info.setjmp = 0; in tile_worker_hook() 3336 thread_data->td->xd.corrupted = 1; in tile_worker_hook() [all …]
|
D | decoder.c | 167 if (pbi->thread_data) { in av1_decoder_remove() 169 DecWorkerData *const thread_data = pbi->thread_data + worker_idx; in av1_decoder_remove() local 170 av1_free_mc_tmp_buf(thread_data->td); in av1_decoder_remove() 171 aom_free(thread_data->td); in av1_decoder_remove() 173 aom_free(pbi->thread_data); in av1_decoder_remove()
|
D | decodeframe.h | 77 void av1_free_mc_tmp_buf(struct ThreadData *thread_data);
|
D | decoder.h | 170 DecWorkerData *thread_data; member
|
/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()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | reader_ops_test.py | 720 thread_data = [] 731 thread_data.append(thread_data_t(t, queue, output)) 735 for d in thread_data: 739 for i, d in enumerate(reversed(thread_data)):
|
/external/libchrome/base/ |
D | logging_unittest.cc | 362 thread_data_t thread_data = {zx::unowned_event(event), zx::unowned_port(port), in SpawnCrashThread() local 365 int ret = pthread_create(&thread, nullptr, CrashThread, &thread_data); in SpawnCrashThread()
|