/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gsttask.c | 311 task_cb (TaskData * tdata) in task_cb() argument 313 tdata->called = TRUE; in task_cb() 314 tdata->caller_thread = g_thread_self (); in task_cb() 316 g_mutex_lock (&tdata->blocked_lock); in task_cb() 317 tdata->blocked = TRUE; in task_cb() 318 g_cond_signal (&tdata->blocked_cond); in task_cb() 319 g_mutex_unlock (&tdata->blocked_lock); in task_cb() 321 g_mutex_lock (&tdata->unblock_lock); in task_cb() 322 while (!tdata->unblock) in task_cb() 323 g_cond_wait (&tdata->unblock_cond, &tdata->unblock_lock); in task_cb() [all …]
|
/third_party/gstreamer/gstreamer/gst/ |
D | gsttaskpool.c | 61 default_func (TaskData * tdata, GstTaskPool * pool) in default_func() argument 66 func = tdata->func; in default_func() 67 user_data = tdata->user_data; in default_func() 68 g_slice_free (TaskData, tdata); in default_func() 103 TaskData *tdata; in default_push() local 105 tdata = g_slice_new (TaskData); in default_push() 106 tdata->func = func; in default_push() 107 tdata->user_data = user_data; in default_push() 111 g_thread_pool_push (pool->pool, tdata, error); in default_push() 113 g_slice_free (TaskData, tdata); in default_push() [all …]
|
/third_party/glib/tests/ |
D | slice-concurrent.c | 38 } tdata[N_THREADS]; variable 65 g_mutex_lock (&tdata[t].to_free_mutex); in thread_func() 66 tdata[t].to_free[tdata[t].n_to_free] = mem; in thread_func() 67 tdata[t].bytes_to_free[tdata[t].n_to_free] = bytes; in thread_func() 68 tdata[t].n_to_free++; in thread_func() 69 g_mutex_unlock (&tdata[t].to_free_mutex); in thread_func() 101 tdata[t].thread_id = t + 1; in main() 102 tdata[t].n_to_free = 0; in main() 103 tdata[t].n_freed = 0; in main() 108 tdata[t].gthread = g_thread_create (thread_func, &tdata[t], TRUE, NULL); in main() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | wasapi2.c | 175 SinkPlayReadyTData *tdata = user_data; in state_timer_cb() local 176 GstState nxt_st = tdata->rem_st_changes % 2 == 1 ? in state_timer_cb() 177 tdata->reuse_state : GST_STATE_PLAYING; in state_timer_cb() 179 ASSERT_SET_STATE (tdata->pipe, nxt_st, GST_STATE_CHANGE_SUCCESS); in state_timer_cb() 180 tdata->rem_st_changes--; in state_timer_cb() 182 if (tdata->rem_st_changes == 0) { in state_timer_cb() 183 g_main_loop_quit (tdata->loop); in state_timer_cb() 194 SinkPlayReadyTData tdata; in wasapi2sink_reuse() local 197 tdata.pipe = in wasapi2sink_reuse() 199 fail_unless (tdata.pipe != NULL); in wasapi2sink_reuse() [all …]
|
D | wasapi.c | 174 SinkPlayReadyTData *tdata = user_data; in state_timer_cb() local 175 GstState nxt_st = tdata->rem_st_changes % 2 == 1 ? in state_timer_cb() 176 tdata->reuse_state : GST_STATE_PLAYING; in state_timer_cb() 178 ASSERT_SET_STATE (tdata->pipe, nxt_st, GST_STATE_CHANGE_SUCCESS); in state_timer_cb() 179 tdata->rem_st_changes--; in state_timer_cb() 181 if (tdata->rem_st_changes == 0) { in state_timer_cb() 182 g_main_loop_quit (tdata->loop); in state_timer_cb() 193 SinkPlayReadyTData tdata; in wasapisink_reuse() local 196 tdata.pipe = gst_parse_launch ("audiotestsrc ! wasapisink async=false", NULL); in wasapisink_reuse() 197 fail_unless (tdata.pipe != NULL); in wasapisink_reuse() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/ |
D | SDL_render_gles2.c | 685 GLES2_TextureData *tdata = (GLES2_TextureData *)texture->driverdata; in GLES2_UpdateTexture() local 695 data->glBindTexture(tdata->texture_type, tdata->texture); in GLES2_UpdateTexture() 696 GLES2_TexSubImage2D(data, tdata->texture_type, in GLES2_UpdateTexture() 701 tdata->pixel_format, in GLES2_UpdateTexture() 702 tdata->pixel_type, in GLES2_UpdateTexture() 705 if (tdata->yuv) { in GLES2_UpdateTexture() 709 data->glBindTexture(tdata->texture_type, tdata->texture_v); in GLES2_UpdateTexture() 711 data->glBindTexture(tdata->texture_type, tdata->texture_u); in GLES2_UpdateTexture() 713 GLES2_TexSubImage2D(data, tdata->texture_type, in GLES2_UpdateTexture() 718 tdata->pixel_format, in GLES2_UpdateTexture() [all …]
|
/third_party/curl/tests/libtest/ |
D | lib586.c | 100 struct Tdata *tdata = (struct Tdata*)ptr; in fire() local 111 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); in fire() 113 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share); in fire() 120 tdata->url, i, (int)code); in fire() 135 struct Tdata tdata; in test() local 191 tdata.url = URL; in test() 192 tdata.share = share; in test() 196 fire(&tdata); in test()
|
D | lib506.c | 132 struct Tdata *tdata = (struct Tdata*)ptr; in fire() local 144 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); in fire() 147 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share); in fire() 154 tdata->url, i, (int)code); in fire() 179 struct Tdata tdata; in test() local 268 tdata.url = suburl(URL, i); /* must be curl_free()d */ in test() 269 tdata.share = share; in test() 273 fire(&tdata); in test() 275 curl_free(tdata.url); in test()
|
/third_party/weston/tests/ |
D | vertex-clip-test.c | 185 struct vertex_clip_test_data *tdata = data; in TEST_P() local 190 deep_copy_polygon8(&tdata->surface, &polygon); in TEST_P() 193 assert(emitted == tdata->expected.n); in TEST_P() 198 struct vertex_clip_test_data *tdata = data; in TEST_P() local 203 deep_copy_polygon8(&tdata->surface, &polygon); in TEST_P() 209 assert(vertices_x[i] == tdata->expected.x[i]); in TEST_P() 210 assert(vertices_y[i] == tdata->expected.y[i]); in TEST_P()
|
/third_party/curl/lib/ |
D | asyn-thread.c | 187 return &(data->state.async.tdata->tsd); in conn_thread_sync_data() 382 if(async->tdata) { in destroy_async_data() 383 struct thread_data *td = async->tdata; in destroy_async_data() 408 free(async->tdata); in destroy_async_data() 419 async->tdata = NULL; in destroy_async_data() 439 data->state.async.tdata = td; in init_resolve_thread() 450 asp->tdata = NULL; in init_resolve_thread() 497 td = data->state.async.tdata; in thread_wait_resolv() 533 struct thread_data *td = data->state.async.tdata; in Curl_resolver_kill() 571 struct thread_data *td = data->state.async.tdata; in Curl_resolver_is_resolved() [all …]
|
D | asyn-ares.c | 233 if(async->tdata) { in destroy_async_data() 234 struct thread_data *res = async->tdata; in destroy_async_data() 242 async->tdata = NULL; in destroy_async_data() 351 struct thread_data *res = data->state.async.tdata; in Curl_resolver_is_resolved() 548 res = data->state.async.tdata; in query_completed_cb() 656 data->state.async.tdata = res; in Curl_resolver_getaddrinfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
D | astc_integer_sequence.cpp | 270 int tdata = read_bits(bits_to_read[lcounter], bit_offset, input_data); in decode_ise() local 272 tq_blocks[hcounter] |= tdata << block_shift[lcounter]; in decode_ise() 283 int tdata = read_bits(bits_to_read[lcounter], bit_offset, input_data); in decode_ise() local 285 tq_blocks[hcounter] |= tdata << block_shift[lcounter]; in decode_ise()
|
/third_party/pulseaudio/src/pulsecore/ |
D | memchunk.c | 38 void *tdata, *sdata; in pa_memchunk_make_writable() local 55 tdata = pa_memblock_acquire(n); in pa_memchunk_make_writable() 57 memcpy(tdata, (uint8_t*) sdata + c->index, c->length); in pa_memchunk_make_writable()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
D | SFFontView.java | 31 TaggedDataImpl tdata = new ViewableTaggedData.TaggedDataImpl(post); in SFFontView() local 32 OtTableTagger tagger = new OtTableTagger(tdata); in SFFontView() 35 viewer = new ViewableTaggedData(tdata.getMarkers()); in SFFontView()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
D | SFFontView.java | 31 TaggedDataImpl tdata = new ViewableTaggedData.TaggedDataImpl(post); in SFFontView() local 32 OtTableTagger tagger = new OtTableTagger(tdata); in SFFontView() 35 viewer = new ViewableTaggedData(tdata.getMarkers()); in SFFontView()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | usbd_video.c | 491 uvc->tdata.data = NULL; in uvc_video_tran_nocp() 492 uvc->tdata.length = 0; in uvc_video_tran_nocp() 493 uvc->tdata.last = 0; in uvc_video_tran_nocp() 509 ret = next_func(hdl, &(uvc->tdata), priv); in uvc_video_tran_nocp() 573 uvc->tdata.data = NULL; in uvc_video_tran_copy() 574 uvc->tdata.length = 0; in uvc_video_tran_copy() 575 uvc->tdata.last = 0; in uvc_video_tran_copy() 660 transfer = &(uvc->tdata); in uvc_nocp_continue() 778 frame = &(uvc->tdata); in uvc_copy_continue()
|
/third_party/ffmpeg/libavcodec/ |
D | proresenc_kostya.c | 270 ProresThreadData *tdata; member 978 ProresThreadData *td = ctx->tdata + threadnr; in find_quant_thread() 1164 if (ctx->tdata) { in encode_close() 1166 av_freep(&ctx->tdata[i].nodes); in encode_close() 1168 av_freep(&ctx->tdata); in encode_close() 1303 ctx->tdata = av_mallocz(avctx->thread_count * sizeof(*ctx->tdata)); in encode_init() 1304 if (!ctx->tdata) { in encode_init() 1310 ctx->tdata[j].nodes = av_malloc((ctx->slices_width + 1) in encode_init() 1312 * sizeof(*ctx->tdata->nodes)); in encode_init() 1313 if (!ctx->tdata[j].nodes) { in encode_init() [all …]
|
D | dsddec.c | 72 static int dsd_channel(AVCodecContext *avctx, void *tdata, int j, int threadnr) in dsd_channel() argument 76 ThreadData *td = tdata; in dsd_channel()
|
D | vp8.h | 319 int (*decode_mb_row_no_filter)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr); 320 void (*filter_mb_row)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr);
|
D | vp8.c | 2365 static av_always_inline int decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata, in decode_mb_row_no_filter() argument 2493 static int vp7_decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata, in vp7_decode_mb_row_no_filter() argument 2496 return decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr, 1); in vp7_decode_mb_row_no_filter() 2499 static int vp8_decode_mb_row_no_filter(AVCodecContext *avctx, void *tdata, in vp8_decode_mb_row_no_filter() argument 2502 return decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr, 0); in vp8_decode_mb_row_no_filter() 2505 static av_always_inline void filter_mb_row(AVCodecContext *avctx, void *tdata, in filter_mb_row() argument 2564 static void vp7_filter_mb_row(AVCodecContext *avctx, void *tdata, in vp7_filter_mb_row() argument 2567 filter_mb_row(avctx, tdata, jobnr, threadnr, 1); in vp7_filter_mb_row() 2570 static void vp8_filter_mb_row(AVCodecContext *avctx, void *tdata, in vp8_filter_mb_row() argument 2573 filter_mb_row(avctx, tdata, jobnr, threadnr, 0); in vp8_filter_mb_row() [all …]
|
D | fic.c | 171 static int fic_decode_slice(AVCodecContext *avctx, void *tdata) in fic_decode_slice() argument 174 FICThreadContext *tctx = tdata; in fic_decode_slice()
|
/third_party/openssl/ssl/ |
D | bio_ssl.c | 481 BIO_SSL *tdata, *fdata; in BIO_ssl_copy_session_id() local 486 tdata = BIO_get_data(t); in BIO_ssl_copy_session_id() 488 if ((tdata->ssl == NULL) || (fdata->ssl == NULL)) in BIO_ssl_copy_session_id() 490 if (!SSL_copy_session_id(tdata->ssl, (fdata->ssl))) in BIO_ssl_copy_session_id()
|
/third_party/glib/tests/gobject/ |
D | testgobject.c | 141 gpointer tdata); 156 gpointer tdata); 254 gpointer tdata) in test_object_test_signal() argument
|
/third_party/mtdev/src/ |
D | core.c | 316 struct mtdev_slot tdata = state->data[slot]; in apply_typeA_changes() local 318 tdata.tracking_id = MT_ID_NULL; in apply_typeA_changes() 319 push_slot_changes(state, &tdata, tprop, slot, syn); in apply_typeA_changes()
|
/third_party/glib/gobject/ |
D | gtype.c | 2424 TypeData *tdata; in type_data_last_unref_Wm() local 2431 tdata = node->data; in type_data_last_unref_Wm() 2432 if (node->is_classed && tdata->class.class) in type_data_last_unref_Wm() 2439 type_data_finalize_class_U (node, &tdata->class); in type_data_last_unref_Wm() 2442 else if (NODE_IS_IFACE (node) && tdata->iface.dflt_vtable) in type_data_last_unref_Wm() 2446 if (tdata->iface.dflt_finalize || tdata->iface.vtable_finalize_base) in type_data_last_unref_Wm() 2449 if (tdata->iface.dflt_finalize) in type_data_last_unref_Wm() 2450 … tdata->iface.dflt_finalize (tdata->iface.dflt_vtable, (gpointer) tdata->iface.dflt_data); in type_data_last_unref_Wm() 2451 if (tdata->iface.vtable_finalize_base) in type_data_last_unref_Wm() 2452 tdata->iface.vtable_finalize_base (tdata->iface.dflt_vtable); in type_data_last_unref_Wm() [all …]
|