Home
last modified time | relevance | path

Searched refs:source_funcs (Results 1 – 10 of 10) sorted by relevance

/third_party/glib/gobject/
Dgsourceclosure.c196 GSourceFunc closure_callback = source->source_funcs->closure_callback; in closure_callback_get()
200 if (source->source_funcs == &g_io_watch_funcs) in closure_callback_get()
202 else if (source->source_funcs == &g_child_watch_funcs) in closure_callback_get()
205 else if (source->source_funcs == &g_unix_fd_source_funcs) in closure_callback_get()
208 else if (source->source_funcs == &g_timeout_funcs || in closure_callback_get()
210 source->source_funcs == &g_unix_signal_funcs || in closure_callback_get()
212 source->source_funcs == &g_idle_funcs) in closure_callback_get()
251 if (!source->source_funcs->closure_callback && in g_source_set_closure()
253 source->source_funcs != &g_unix_fd_source_funcs && in g_source_set_closure()
254 source->source_funcs != &g_unix_signal_funcs && in g_source_set_closure()
[all …]
/third_party/glib/glib/tests/
Dtimeout.c111 GSourceFuncs source_funcs = { 0 }; in test_far_future_ready_time() local
113 GSource *source = g_source_new (&source_funcs, sizeof (GSource)); in test_far_future_ready_time()
Dmainloop.c948 GSourceFuncs source_funcs = { in test_ready_time() local
953 source = g_source_new (&source_funcs, sizeof (GSource)); in test_ready_time()
1849 static GSourceFuncs source_funcs = { variable
1868 source = g_source_new (&source_funcs, sizeof (GSource)); in test_maincontext_source_finalization()
1878 source = g_source_new (&source_funcs, sizeof (GSource)); in test_maincontext_source_finalization()
1889 source = g_source_new (&source_funcs, sizeof (GSource)); in test_maincontext_source_finalization()
/third_party/glib/gio/
Dgcontextspecificgroup.c72 static GSourceFuncs source_funcs = { in g_context_specific_source_new() local
82 source = g_source_new (&source_funcs, sizeof (GContextSpecificSource)); in g_context_specific_source_new()
Dglocalfilemonitor.c649 static GSourceFuncs source_funcs = { in g_file_monitor_source_new() local
658 source = g_source_new (&source_funcs, sizeof (GFileMonitorSource)); in g_file_monitor_source_new()
/third_party/glib/glib/
Dgmain.c950 g_source_new (GSourceFuncs *source_funcs, in g_source_new() argument
955 g_return_val_if_fail (source_funcs != NULL, NULL); in g_source_new()
960 source->source_funcs = source_funcs; in g_source_new()
971 TRACE (GLIB_SOURCE_NEW (source, source_funcs->prepare, source_funcs->check, in g_source_new()
972 source_funcs->dispatch, source_funcs->finalize, in g_source_new()
1808 source->source_funcs = funcs; in g_source_set_funcs()
2229 source->source_funcs->finalize)); in g_source_unref_internal()
2246 if (source->source_funcs->finalize) in g_source_unref_internal()
2255 source->source_funcs->finalize (source); in g_source_unref_internal()
2398 source->source_funcs == funcs && in g_main_context_find_source_by_funcs_user_data()
[all …]
Dgmain.h227 const GSourceFuncs *source_funcs; member
553 GSource *g_source_new (GSourceFuncs *source_funcs,
/third_party/glib/gio/inotify/
Dinotify-kernel.c373 static GSourceFuncs source_funcs = { in ik_source_new() local
381 source = g_source_new (&source_funcs, sizeof (InotifyKernelSource)); in ik_source_new()
/third_party/pulseaudio/src/pulse/
Dohos_glib-mainloop.c615 static GSourceFuncs source_funcs = { in pa_glib_mainloop_new() local
624 g = (pa_glib_mainloop*) g_source_new(&source_funcs, sizeof(pa_glib_mainloop)); in pa_glib_mainloop_new()
Dglib-mainloop.c616 static GSourceFuncs source_funcs = { in pa_glib_mainloop_new() local
625 g = (pa_glib_mainloop*) g_source_new(&source_funcs, sizeof(pa_glib_mainloop)); in pa_glib_mainloop_new()