Home
last modified time | relevance | path

Searched refs:GSource (Results 1 – 25 of 189) sorted by relevance

12345678

/third_party/glib/glib/
Dgmain.h64 typedef struct _GSource GSource; typedef
219 typedef void (*GSourceDisposeFunc) (GSource *source);
238 GSource *prev;
239 GSource *next;
251 GSource *source,
266 gboolean (*prepare) (GSource *source,
268 gboolean (*check) (GSource *source);
269 gboolean (*dispatch) (GSource *source,
272 void (*finalize) (GSource *source); /* Can be NULL */
373 GSource *g_main_context_find_source_by_id (GMainContext *context,
[all …]
Dgmain.c240 GSource *head, *tail;
257 GSource *source;
321 GSource source;
329 GSource source;
341 GSource source;
357 GSource *parent_source;
374 GSource *source;
386 static void g_source_unref_internal (GSource *source,
389 static void g_source_destroy_internal (GSource *source,
392 static void g_source_set_priority_unlocked (GSource *source,
[all …]
Dglib.stp.in87 * probe glib.main_after_prepare - Called after preparing a GSource
101 * probe glib.main_after_check - Called after checking a GSource
115 * probe glib.main_before_dispatch - Called before dispatching a GSource
133 * probe glib.main_after_dispatch - Called after dispatching a GSource
149 * probe glib.main_source_attach - Called when a #GSource is attached to a #GMainContext
151 * @source_ptr: the #GSource
153 * @id: the ID of the #GSource in the context
165 * probe glib.main_source_destroy - Called when a #GSource is destroyed from a #GMainContext
167 * @source_ptr: the #GSource
263 * @priority: priority of the highest priority ready #GSource
[all …]
Dgiounix.c67 GSource source;
91 static GSource* g_io_unix_create_watch (GIOChannel *channel,
98 static gboolean g_io_unix_prepare (GSource *source,
100 static gboolean g_io_unix_check (GSource *source);
101 static gboolean g_io_unix_dispatch (GSource *source,
104 static void g_io_unix_finalize (GSource *source);
126 g_io_unix_prepare (GSource *source, in g_io_unix_prepare()
140 g_io_unix_check (GSource *source) in g_io_unix_check()
150 g_io_unix_dispatch (GSource *source, in g_io_unix_dispatch()
172 g_io_unix_finalize (GSource *source) in g_io_unix_finalize()
[all …]
Dglib-unix.c223 GSource *
258 GSource *source; in g_unix_signal_add_full()
296 GSource source;
303 g_unix_fd_source_dispatch (GSource *source, in g_unix_fd_source_dispatch()
338 GSource *
343 GSource *source; in g_unix_fd_source_new()
382 GSource *source; in g_unix_fd_add_full()
/third_party/libsoup/libsoup/
Dsoup-misc.c80 GSource *
85 GSource *watch = g_io_create_watch (chan, condition); in soup_add_io_watch()
109 GSource *
113 GSource *source = g_idle_source_new (); in soup_add_idle()
120 GSource *
126 GSource *source = g_idle_source_new (); in soup_add_completion_reffed()
150 GSource *
154 GSource *source; in soup_add_completion()
175 GSource *
180 GSource *source = g_timeout_source_new (interval); in soup_add_timeout()
Dsoup-misc.h15 GSource *soup_add_io_watch (GMainContext *async_context,
21 GSource *soup_add_idle (GMainContext *async_context,
25 GSource *soup_add_completion (GMainContext *async_context,
29 GSource *soup_add_timeout (GMainContext *async_context,
/third_party/glib/gio/
Dgpollableutils.c37 GSource source;
43 pollable_source_dispatch (GSource *source, in pollable_source_dispatch()
54 pollable_source_finalize (GSource *source) in pollable_source_finalize()
109 GSource *
112 GSource *source; in g_pollable_source_new()
142 GSource *
144 GSource *child_source, in g_pollable_source_new_full()
147 GSource *source; in g_pollable_source_new_full()
160 GSource *cancellable_source = g_cancellable_source_new (cancellable); in g_pollable_source_new_full()
Dgcontextspecificgroup.c29 GSource source;
37 g_context_specific_source_dispatch (GSource *source, in g_context_specific_source_dispatch()
60 g_context_specific_source_finalize (GSource *source) in g_context_specific_source_finalize()
80 GSource *source; in g_context_specific_source_new()
195 g_source_attach ((GSource *) css, context); in g_context_specific_group_get()
238 g_source_destroy ((GSource *) css); in g_context_specific_group_remove()
239 g_source_unref ((GSource *) css); in g_context_specific_group_remove()
267 g_source_set_ready_time ((GSource *) css, 0); in g_context_specific_group_emit()
Dgpollableutils.h31 GSource *g_pollable_source_new (GObject *pollable_stream);
34 GSource *g_pollable_source_new_full (gpointer pollable_stream,
35 GSource *child_source,
Dgcancellable.c646 GSource source;
669 GSource *source = user_data; in cancellable_source_cancelled()
693 cancellable_source_dispatch (GSource *source, in cancellable_source_dispatch()
705 cancellable_source_dispose (GSource *source) in cancellable_source_dispose()
794 GSource *
797 GSource *source; in g_cancellable_source_new()
/third_party/glib/glib/tests/
Dmainloop.c35 prepare (GSource *source, gint *time) in prepare()
40 check (GSource *source) in check()
45 dispatch (GSource *source, GSourceFunc cb, gpointer date) in dispatch()
63 GSource *source; in test_maincontext_basic()
72 source = g_source_new (&funcs, sizeof (GSource)); in test_maincontext_basic()
112 source = g_source_new (&funcs, sizeof (GSource)); in test_maincontext_basic()
122 source = g_source_new (&funcs, sizeof (GSource)); in test_maincontext_basic()
176 GSource *source; in test_timeouts()
230 GSource *sourcea; in test_priorities()
231 GSource *sourceb; in test_priorities()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dwayland_event_source.c59 GSource source;
68 wayland_event_source_prepare (GSource * base, gint * timeout) in wayland_event_source_prepare()
96 wayland_event_source_check (GSource * base) in wayland_event_source_check()
113 wayland_event_source_dispatch (GSource * base, in wayland_event_source_dispatch()
132 wayland_event_source_finalize (GSource * base) in wayland_event_source_finalize()
149 GSource *
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dxcb_event_source.c38 GSource source;
45 xcb_event_source_prepare (GSource * base, gint * timeout) in xcb_event_source_prepare()
56 xcb_event_source_check (GSource * base) in xcb_event_source_check()
67 xcb_event_source_dispatch (GSource * base, GSourceFunc callback, gpointer data) in xcb_event_source_dispatch()
88 GSource *
/third_party/glib/gobject/tests/
Dclosure.c12 test_source (GSource *one, GCallback quit_callback) in test_source()
43 GSource *source; in test_closure_idle()
53 GSource *source; in test_closure_timeout()
76 GSource *source; in test_closure_iochannel()
102 GSource *source; in test_closure_child()
153 GSource *source; in test_closure_fd()
185 GSource *source; in test_closure_signal()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/wayland/
Dwayland_event_source.c96 GSource source;
105 wayland_event_source_prepare (GSource * base, gint * timeout) in wayland_event_source_prepare()
139 wayland_event_source_check (GSource * base) in wayland_event_source_check()
157 wayland_event_source_dispatch (GSource * base, in wayland_event_source_dispatch()
175 wayland_event_source_finalize (GSource * base) in wayland_event_source_finalize()
192 GSource *
/third_party/glib/tests/
Dsources.c32 shuffle (GSource **sources, int num) in shuffle()
35 GSource *tmp; in shuffle()
52 GSource *source = data; in thread_pool_attach_func()
62 GSource *source = data; in thread_pool_destroy_func()
74 GSource **sources; in main()
79 sources = g_new0 (GSource *, NSOURCES); in main()
Dmainloop-test.c139 GSource *adder_source; in adder_thread()
140 GSource *timeout_source; in adder_thread()
305 GSource *other_source; in remove_crawler()
318 GSource *source = data; in crawler_callback()
337 GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE)); in create_crawler()
385 GSource *source; in recurser_start()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/xcb/
Dxcb_event_source.c119 GSource source;
126 xcb_event_source_prepare (GSource * base, gint * timeout) in xcb_event_source_prepare()
133 xcb_event_source_check (GSource * base) in xcb_event_source_check()
144 xcb_event_source_dispatch (GSource * base, GSourceFunc callback, gpointer data) in xcb_event_source_dispatch()
163 GSource *
/third_party/cef/tests/shared/browser/
Dmain_message_loop_external_pump_linux.cc92 GSource* work_source_;
128 struct WorkSource : public GSource {
132 gboolean WorkSourcePrepare(GSource* source, gint* timeout_ms) { in WorkSourcePrepare()
140 gboolean WorkSourceCheck(GSource* source) { in WorkSourceCheck()
145 gboolean WorkSourceDispatch(GSource* source, in WorkSourceDispatch()
/third_party/gstreamer/gstreamer/gst/
Dgstbus.c150 GSource *gsource;
780 GSource source;
785 gst_bus_source_check (GSource * source) in gst_bus_source_check()
793 gst_bus_source_dispatch (GSource * source, GSourceFunc callback, in gst_bus_source_dispatch()
839 gst_bus_source_dispose (GSource * source) in gst_bus_source_dispose()
856 gst_bus_source_finalize (GSource * source) in gst_bus_source_finalize()
881 static GSource *
896 g_source_set_name ((GSource *) source, "GStreamer message bus watch"); in gst_bus_create_watch_unlocked()
898 g_source_set_dispose_function ((GSource *) source, gst_bus_source_dispose); in gst_bus_create_watch_unlocked()
902 g_source_add_poll ((GSource *) source, &bus->priv->pollfd); in gst_bus_create_watch_unlocked()
[all …]
/third_party/glib/gobject/
Dgsourceclosure.h30 void g_source_set_closure (GSource *source,
34 void g_source_set_dummy_callback (GSource *source);
/third_party/libwebsockets/lib/event-libs/glib/
Dprivate-lib-event-libs-glib.h28 GSource *gs;
43 GSource base;
/third_party/libsoup/tests/
Dchunk-io-test.c102 static GSource *
106 GSource *base_source, *pollable_source; in slow_input_stream_create_source()
195 static GSource *
199 GSource *base_source, *pollable_source; in slow_output_stream_create_source()
299 static GSource *
303 GSource *base_source, *pollable_source; in breaking_output_stream_create_source()
420 GSource *source; in do_io_tests()
521 GSource *source; in do_io_tests()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtspconnection.c228 g_source_unref ((GSource *) watch1); in GST_START_TEST()
266 g_source_unref ((GSource *) watch2); in GST_START_TEST()
286 g_source_destroy ((GSource *) watch2); in GST_START_TEST()
315 g_source_unref ((GSource *) watch2); in GST_START_TEST()
335 g_source_destroy ((GSource *) watch2); in GST_START_TEST()
392 g_source_unref ((GSource *) watch1); in GST_START_TEST()
421 g_source_unref ((GSource *) watch2); in GST_START_TEST()
450 g_source_destroy ((GSource *) watch2); in GST_START_TEST()
479 g_source_unref ((GSource *) watch2); in GST_START_TEST()
499 g_source_destroy ((GSource *) watch2); in GST_START_TEST()
[all …]

12345678