/third_party/ffmpeg/libavfilter/ |
H A D | vf_lensfun.c | 288 const VignettingThreadData *thread_data = arg; in vignetting_filter_slice() local 289 const int slice_start = thread_data->height * jobnr / nb_jobs; in vignetting_filter_slice() 290 const int slice_end = thread_data->height * (jobnr + 1) / nb_jobs; in vignetting_filter_slice() 292 lf_modifier_apply_color_modification(thread_data->modifier, in vignetting_filter_slice() 293 thread_data->data_in + slice_start * thread_data->linesize_in, in vignetting_filter_slice() 296 thread_data->width, in vignetting_filter_slice() 298 thread_data->pixel_composition, in vignetting_filter_slice() 299 thread_data->linesize_in); in vignetting_filter_slice() 311 const DistortionCorrectionThreadData *thread_data in distortion_correction_filter_slice() local [all...] |
H A D | vf_lut.c | 338 struct thread_data { struct 348 const struct thread_data *td = arg;\ 429 const struct thread_data *td = arg;\ 504 struct thread_data td = {\ 512 struct thread_data td = {\
|
H A D | vf_nlmeans.c | 279 struct thread_data { struct 292 const struct thread_data *td = arg; in nlmeans_slice() 360 struct thread_data td = { in nlmeans_plane()
|
/third_party/musl/libc-test/src/functional/ |
H A D | test-malloc-stats-common.h | 122 thread_data_t *thread_data = arg; in allocate_wait_free() local 123 thread_data->self_id = syscall(__NR_gettid); in allocate_wait_free() 124 void *alloc = malloc(thread_data->alloc_size); in allocate_wait_free() 125 pthread_barrier_wait(thread_data->alloc_barrier); in allocate_wait_free() 126 pthread_barrier_wait(thread_data->free_barrier); in allocate_wait_free()
|
H A D | test-mallinfo.c | 85 thread_data_t thread_data[SIZES_COUNT]; in test_different_threads() local 87 thread_data[i] = (thread_data_t) {sizes[i], &alloc_barrier, &free_barrier, 0}; in test_different_threads() 91 pthread_create(&threads[i], NULL, allocate_wait_free, &thread_data[i]); in test_different_threads()
|
H A D | test-malloc-info-stats-print.h | 111 thread_data_t thread_data[SIZES_COUNT]; in get_different_threads_test_results() local 113 thread_data[i] = (thread_data_t) {sizes[i], &alloc_barrier, &free_barrier, 0}; in get_different_threads_test_results() 117 pthread_create(&threads[i], NULL, allocate_wait_free, &thread_data[i]); in get_different_threads_test_results() 122 snprintf(test_results.threads[i], MAX_TID_LEN, "%d", thread_data[i].self_id); in get_different_threads_test_results()
|
/third_party/mbedtls/tests/src/ |
H A D | threading_helpers.c | 19 void *), void *thread_data) in threading_thread_create_pthread() 25 if (pthread_create(&thread->thread, NULL, thread_func, thread_data)) { in threading_thread_create_pthread() 46 void *thread_data) = threading_thread_create_pthread; 55 void *thread_data) in threading_thread_create_fail() 59 (void) thread_data; in threading_thread_create_fail() 72 void *thread_data) = threading_thread_create_fail; 18 threading_thread_create_pthread(mbedtls_test_thread_t *thread, void *(*thread_func)( void *), void *thread_data) threading_thread_create_pthread() argument 53 threading_thread_create_fail(mbedtls_test_thread_t *thread, void *(*thread_func)(void *), void *thread_data) threading_thread_create_fail() argument
|
/third_party/curl/lib/ |
H A D | asyn-thread.c | 178 struct thread_data *td; /* for thread-self cleanup */ 181 struct thread_data { struct 224 int init_thread_sync_data(struct thread_data *td, in init_thread_sync_data() 314 struct thread_data *td = tsd->td; in query_complete() 453 struct thread_data *td = tsd->td; in getaddrinfo_thread() 506 struct thread_data *td = tsd->td; in gethostbyname_thread() 539 struct thread_data *td = async->tdata; in destroy_async_data() 603 struct thread_data *td = calloc(1, sizeof(struct thread_data)); in init_resolve_thread() 699 struct thread_data *t in thread_wait_resolv() [all...] |
H A D | asyn-ares.c | 101 struct thread_data { struct 269 struct thread_data *res = async->tdata; in destroy_async_data() 387 struct thread_data *res = data->state.async.tdata; in Curl_resolver_is_resolved() 536 static void compound_results(struct thread_data *res, in compound_results() 579 struct thread_data *res; in query_completed_cb() 746 struct thread_data *res = data->state.async.tdata; in addrinfo_cb() 770 struct thread_data *res = NULL; in Curl_resolver_getaddrinfo() 774 res = calloc(1, sizeof(struct thread_data) + namelen); in Curl_resolver_getaddrinfo()
|
H A D | urldata.h | 593 struct thread_data *tdata;
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast.c | 111 task->thread_data.vis_counter = 0; in lp_rast_tile_begin() 112 task->thread_data.ps_invocations = 0; in lp_rast_tile_begin() 359 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_tile() 360 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_tile() 373 &task->thread_data, in lp_rast_shade_tile() 467 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_mask_sample() 468 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_quads_mask_sample() 481 &task->thread_data, in lp_rast_shade_quads_mask_sample() 633 pq->start[task->thread_index] = task->thread_data.vis_counter; in lp_rast_begin_query() 636 pq->start[task->thread_index] = task->thread_data in lp_rast_begin_query() [all...] |
H A D | lp_state_fs_fastpath.c | 56 struct lp_jit_thread_data *thread_data, in no_op() 154 struct lp_jit_thread_data *thread_data, in red() 163 (void)thread_data; in red() 181 struct lp_jit_thread_data *thread_data, in green() 190 (void)thread_data; in green() 46 no_op(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *color_sample_stride, unsigned depth_sample_stride) no_op() argument 144 red(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t int_mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *sample_stride, unsigned depth_sample_stride) red() argument 171 green(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t int_mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *sample_stride, unsigned depth_sample_stride) green() argument
|
H A D | lp_rast_priv.h | 101 struct lp_jit_thread_data thread_data; member 270 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in lp_rast_shade_quads_all() 271 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_quads_all() 284 &task->thread_data, in lp_rast_shade_quads_all()
|
H A D | lp_rast_linear_fallback.c | 106 task->thread_data.raster_state.viewport_index = inputs->viewport_index; in shade_quads() 120 &task->thread_data, in shade_quads()
|
H A D | lp_jit.h | 309 * @param thread_data task thread data 324 struct lp_jit_thread_data *thread_data, 520 struct lp_jit_cs_thread_data *thread_data);
|
H A D | lp_state_cs.c | 175 lp_build_name(thread_data_ptr, "thread_data"); in generate_compute() 1331 struct lp_jit_cs_thread_data thread_data; in cs_exec_fn() local 1333 memset(&thread_data, 0, sizeof(thread_data)); in cs_exec_fn() 1342 thread_data.shared = lmem->local_mem_ptr; in cs_exec_fn() 1356 &thread_data); in cs_exec_fn()
|
/third_party/mbedtls/tests/include/test/ |
H A D | threading_helpers.h | 53 void *thread_data), 83 void *(*thread_func)(void *), void *thread_data);
|
/third_party/mesa3d/src/gallium/tests/unit/ |
H A 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()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vp8.c | 58 if (s->thread_data) in free_buffers() 61 pthread_cond_destroy(&s->thread_data[i].cond); in free_buffers() 62 pthread_mutex_destroy(&s->thread_data[i].lock); in free_buffers() 64 av_freep(&s->thread_data[i].filter_strength); in free_buffers() 66 av_freep(&s->thread_data); in free_buffers() 230 s->thread_data = av_mallocz(MAX_THREADS * sizeof(VP8ThreadData)); in update_dimensions() 233 !s->thread_data || (!s->intra4x4_pred_mode_top && !s->mb_layout)) { in update_dimensions() 239 s->thread_data[i].filter_strength = in update_dimensions() 240 av_mallocz(s->mb_width * sizeof(*s->thread_data[0].filter_strength)); in update_dimensions() 241 if (!s->thread_data[ in update_dimensions() [all...] |
H A D | vp8.h | 149 VP8ThreadData *thread_data; member
|
H A D | exr.c | 185 EXRThreadData *thread_data; member 1186 EXRThreadData *td = &s->thread_data[threadnr]; in decode_block() 2202 avctx->execute2(avctx, decode_block, s->thread_data, NULL, nb_blocks); in decode_frame() 2266 s->thread_data = av_calloc(avctx->thread_count, sizeof(*s->thread_data)); in decode_init() 2267 if (!s->thread_data) in decode_init() 2278 EXRThreadData *td = &s->thread_data[i]; in decode_end() 2292 av_freep(&s->thread_data); in decode_end()
|