Lines Matching refs:source
59 GSource *source;
67 source = g_idle_source_new ();
68 g_source_set_priority (source, G_PRIORITY_DEFAULT);
69 g_source_set_callback (source, source_func, result, async_result_free);
70 g_source_attach (source, NULL);
71 g_source_unref (source);
75 * fd source *
80 GSource source;
87 fd_source_prepare (GSource *source,
90 FDSource *fd_source = (FDSource *)source;
97 fd_source_check (GSource *source)
99 FDSource *fd_source = (FDSource *)source;
107 fd_source_dispatch (GSource *source,
113 FDSource *fd_source = (FDSource *)source;
121 fd_source_finalize (GSource *source)
123 FDSource *fd_source = (FDSource *)source;
154 GSource *source;
157 source = g_source_new (&fd_source_funcs, sizeof (FDSource));
158 fd_source = (FDSource *)source;
165 g_source_add_poll (source, &fd_source->pollfd);
174 return source;