Searched refs:_test_loop (Results 1 – 3 of 3) sorted by relevance
56 static GMainLoop *_test_loop = NULL; variable62 g_main_loop_quit (_test_loop); in cd_test_hang_check_cb()74 g_assert (_test_loop == NULL); in cd_test_loop_run_with_timeout()75 _test_loop = g_main_loop_new (NULL, FALSE); in cd_test_loop_run_with_timeout()77 g_main_loop_run (_test_loop); in cd_test_loop_run_with_timeout()90 if (_test_loop != NULL) { in cd_test_loop_quit()91 g_main_loop_quit (_test_loop); in cd_test_loop_quit()92 g_main_loop_unref (_test_loop); in cd_test_loop_quit()93 _test_loop = NULL; in cd_test_loop_quit()
108 static GMainLoop *_test_loop = NULL; variable114 g_main_loop_quit (_test_loop); in as_test_hang_check_cb()116 _test_loop = NULL; in as_test_hang_check_cb()124 g_assert (_test_loop == NULL); in as_test_loop_run_with_timeout()125 _test_loop = g_main_loop_new (NULL, FALSE); in as_test_loop_run_with_timeout()127 g_main_loop_run (_test_loop); in as_test_loop_run_with_timeout()137 if (_test_loop != NULL) { in as_test_loop_quit()138 g_main_loop_quit (_test_loop); in as_test_loop_quit()139 g_main_loop_unref (_test_loop); in as_test_loop_quit()140 _test_loop = NULL; in as_test_loop_quit()
74 _test_loop($loop);523 sub _test_loop { subroutine