/third_party/glib/tests/ |
D | child-test.c | 44 GMainLoop *main_loop; variable 101 g_main_loop_quit (main_loop); in child_watch_callback() 109 GMainLoop *main_loop = data; in quit_loop() local 111 g_main_loop_quit (main_loop); in quit_loop() 164 main_loop = g_main_loop_new (NULL, FALSE); in main() 173 g_timeout_add_seconds (30, quit_loop, main_loop); in main() 187 g_main_loop_run (main_loop); in main() 189 g_main_loop_unref (main_loop); in main()
|
D | asyncqueue-test.c | 32 static GMainLoop *main_loop = NULL; variable 97 g_main_loop_quit (main_loop); in sort_queue() 236 main_loop = g_main_loop_new (NULL, FALSE); in main() 237 g_main_loop_run (main_loop); in main() 239 g_main_loop_unref (main_loop); in main()
|
D | threadpool-test.c | 40 static GMainLoop *main_loop = NULL; variable 412 g_main_loop_quit (main_loop); in test_check_start_and_stop() 459 main_loop = g_main_loop_new (NULL, FALSE); in main() 460 g_main_loop_run (main_loop); in main() 461 g_main_loop_unref (main_loop); in main()
|
/third_party/glib/gio/tests/ |
D | network-monitor-race.c | 65 GMainLoop *main_loop; in test_network_monitor() local 67 main_loop = g_main_loop_new (NULL, FALSE); in test_network_monitor() 68 g_timeout_add (1, call_func, main_loop); in test_network_monitor() 69 g_main_loop_run (main_loop); in test_network_monitor() 70 g_main_loop_unref (main_loop); in test_network_monitor()
|
D | async-close-output-stream.c | 35 GMainLoop *main_loop; member 81 data->main_loop = g_main_loop_new (NULL, FALSE); in setup_data() 90 g_main_loop_unref (data->main_loop); in teardown_data() 124 g_main_loop_quit (data->main_loop); in async_close_ready() 176 g_main_loop_run (data->main_loop); in test_without_flush() 199 g_main_loop_run (data->main_loop); in test_with_flush() 236 g_main_loop_run (data->main_loop); in test_with_async_flush()
|
D | async-splice-output-stream.c | 41 GMainLoop *main_loop; member 66 g_main_loop_quit (data->main_loop); in test_copy_chunks_splice_cb() 104 g_main_loop_quit (data->main_loop); in test_copy_chunks_splice_cb() 114 data.main_loop = g_main_loop_new (NULL, FALSE); in test_copy_chunks_start() 179 g_main_loop_run (data.main_loop); in test_copy_chunks_start() 180 g_main_loop_unref (data.main_loop); in test_copy_chunks_start()
|
D | io-stream.c | 30 GMainLoop *main_loop; member 61 g_main_loop_quit (data->main_loop); in test_copy_chunks_splice_cb() 71 data.main_loop = g_main_loop_new (NULL, FALSE); in test_copy_chunks() 97 g_main_loop_run (data.main_loop); in test_copy_chunks() 98 g_main_loop_unref (data.main_loop); in test_copy_chunks()
|
/third_party/gstreamer/gstplugins_good/gst/multifile/ |
D | test-splitmuxpartreader.c | 12 GMainLoop *main_loop; member 36 g_main_loop_quit (data->main_loop); in handle_message() 40 g_main_loop_quit (data->main_loop); in handle_message() 77 data.main_loop = g_main_loop_new (NULL, FALSE); in main() 95 g_main_loop_run (data.main_loop); in main() 99 g_main_loop_unref (data.main_loop); in main()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | videomixer.c | 43 static GMainLoop *main_loop; variable 92 g_main_loop_quit (main_loop); in message_received() 112 g_main_loop_quit (main_loop); in message_received() 135 g_main_loop_quit (main_loop); in test_event_message_received() 201 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 226 g_main_loop_run (main_loop); in GST_START_TEST() 234 g_main_loop_unref (main_loop); in GST_START_TEST() 283 g_main_loop_quit (main_loop); in test_play_twice_message_received() 333 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 361 g_main_loop_run (main_loop); in GST_START_TEST() [all …]
|
D | rtpcollision.c | 27 static GMainLoop *main_loop; variable 50 g_main_loop_quit (main_loop); in message_received() 70 g_main_loop_quit (main_loop); in message_received() 241 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 250 g_main_loop_run (main_loop); in GST_START_TEST() 258 g_main_loop_unref (main_loop); in GST_START_TEST() 417 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 426 g_main_loop_run (main_loop); in GST_START_TEST() 434 g_main_loop_unref (main_loop); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/gst/netsim/ |
D | gstnetsim.c | 122 loop = g_main_loop_ref (netsim->main_loop); in gst_net_sim_loop() 145 GMainLoop *main_loop = user_data; in _main_loop_quit_and_remove_source() local 146 GST_DEBUG ("MAINLOOP: Quit %p", main_loop); in _main_loop_quit_and_remove_source() 147 g_main_loop_quit (main_loop); in _main_loop_quit_and_remove_source() 148 g_assert (!g_main_loop_is_running (main_loop)); in _main_loop_quit_and_remove_source() 161 if (netsim->main_loop == NULL) { in gst_net_sim_src_activatemode() 163 netsim->main_loop = g_main_loop_new (main_context, FALSE); in gst_net_sim_src_activatemode() 177 if (netsim->main_loop != NULL) { in gst_net_sim_src_activatemode() 186 g_main_loop_ref (netsim->main_loop), in gst_net_sim_src_activatemode() 189 g_main_loop_get_context (netsim->main_loop)); in gst_net_sim_src_activatemode() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/inter/ |
D | gstintertest.c | 42 GMainLoop *main_loop; member 81 GMainLoop *main_loop; in main() local 102 main_loop = g_main_loop_new (NULL, TRUE); in main() 103 intertest1->main_loop = main_loop; in main() 104 intertest2->main_loop = main_loop; in main() 106 g_main_loop_run (main_loop); in main() 107 g_main_loop_unref (main_loop); in main()
|
/third_party/gstreamer/gstplugins_base/tests/icles/playback/ |
D | test3.c | 64 error_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in error_cb() argument 73 g_main_loop_quit (main_loop); in error_cb() 80 eos_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in eos_cb() argument 83 g_main_loop_quit (main_loop); in eos_cb()
|
D | decodetest.c | 37 error_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in error_cb() argument 46 g_main_loop_quit (main_loop); in error_cb() 53 eos_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in eos_cb() argument 56 g_main_loop_quit (main_loop); in eos_cb()
|
D | test7.c | 71 error_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in error_cb() argument 80 g_main_loop_quit (main_loop); in error_cb() 87 eos_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in eos_cb() argument 90 g_main_loop_quit (main_loop); in eos_cb()
|
D | test2.c | 24 error_eos_cb (GstBus * bus, GstMessage * msg, GMainLoop * main_loop) in error_eos_cb() argument 26 g_main_loop_quit (main_loop); in error_eos_cb()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | compositor.c | 45 static GMainLoop *main_loop; variable 130 g_main_loop_quit (main_loop); in message_received() 150 g_main_loop_quit (main_loop); in message_received() 173 g_main_loop_quit (main_loop); in test_event_message_received() 239 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 264 g_main_loop_run (main_loop); in GST_START_TEST() 272 g_main_loop_unref (main_loop); in GST_START_TEST() 694 g_main_loop_quit (main_loop); in test_play_twice_message_received() 744 main_loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST() 773 g_main_loop_run (main_loop); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/overlaycomposition/ |
D | overlaycomposition.c | 87 static GMainLoop *main_loop; variable 159 g_main_loop_quit (main_loop); in message_cb() 180 g_main_loop_quit (main_loop); in message_cb() 320 main_loop = g_main_loop_new (NULL, FALSE); in main() 333 g_main_loop_run (main_loop); in main() 337 g_main_loop_unref (main_loop); in main()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstpromise.c | 34 GMainLoop *main_loop; member 50 q->main_loop = g_main_loop_new (q->main_context, FALSE); in _promise_thread() 56 g_main_loop_run (q->main_loop); in _promise_thread() 61 g_main_loop_unref (q->main_loop); in _promise_thread() 62 q->main_loop = NULL; in _promise_thread() 75 while (!q->main_loop) in event_queue_start() 84 if (q->main_loop) in event_queue_stop() 85 g_main_loop_quit (q->main_loop); in event_queue_stop() 93 while (q->main_loop) { in event_queue_stop_wait() 94 g_main_loop_quit (q->main_loop); in event_queue_stop_wait()
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | test-overlay-blending.c | 85 static GMainLoop *main_loop; variable 245 main_loop = g_main_loop_new (NULL, FALSE); in main() 254 main_loop, NULL); in main() 279 gst_bus_add_watch (GST_ELEMENT_BUS (pipeline), bus_cb, main_loop); in main() 281 g_main_loop_run (main_loop); in main()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkdisplay.c | 108 display->main_loop = g_main_loop_new (display->main_context, FALSE); in _event_thread_main() 113 g_main_loop_run (display->main_loop); in _event_thread_main() 117 g_main_loop_unref (display->main_loop); in _event_thread_main() 120 display->main_loop = NULL; in _event_thread_main() 152 while (!display->main_loop) in gst_vulkan_display_init() 175 if (display->main_loop) in gst_vulkan_display_finalize() 176 g_main_loop_quit (display->main_loop); in gst_vulkan_display_finalize() 178 while (display->main_loop) in gst_vulkan_display_finalize()
|
/third_party/gstreamer/gstreamer/libs/gst/net/ |
D | gstptpclock.c | 246 static GMainLoop *main_loop; variable 980 g_main_loop_quit (main_loop); in send_delay_req_timeout() 984 g_main_loop_quit (main_loop); in send_delay_req_timeout() 988 g_main_loop_quit (main_loop); in send_delay_req_timeout() 1001 g_main_loop_quit (main_loop); in send_delay_req_timeout() 1005 g_main_loop_quit (main_loop); in send_delay_req_timeout() 1009 g_main_loop_quit (main_loop); in send_delay_req_timeout() 1013 g_main_loop_quit (main_loop); in send_delay_req_timeout() 1806 g_main_loop_quit (main_loop); in have_stdin_data_cb() 1816 g_main_loop_quit (main_loop); in have_stdin_data_cb() [all …]
|
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_opengl3/ |
D | main.cpp | 24 static void main_loop(void*); 99 emscripten_set_main_loop_arg(main_loop, NULL, 0, true); in main() 102 static void main_loop(void* arg) in main_loop() function
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | gdkpixbufoverlay-test.c | 86 static GMainLoop *main_loop; variable 229 main_loop = g_main_loop_new (NULL, FALSE); in main() 269 gst_bus_add_watch (GST_ELEMENT_BUS (pipeline), bus_cb, main_loop); in main() 271 g_main_loop_run (main_loop); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | camerabin.c | 449 static GMainLoop *main_loop; variable 647 main_loop = g_main_loop_new (NULL, TRUE); in setup_camerabin_common() 653 gst_bus_add_watch (bus, (GstBusFunc) capture_bus_cb, main_loop); in setup_camerabin_common() 758 if (main_loop) in teardown() 759 g_main_loop_unref (main_loop); in teardown() 760 main_loop = NULL; in teardown() 1148 main_loop); in GST_START_TEST() 1149 g_main_loop_run (main_loop); in GST_START_TEST() 1214 main_loop); in GST_START_TEST() 1215 g_main_loop_run (main_loop); in GST_START_TEST() [all …]
|