Home | History | Annotate | Download | only in tests

Lines Matching refs:source

101 adder_callback (GIOChannel   *source,
112 if (!read_all (source, buf1, 32) ||
113 !read_all (source, buf2, 32))
227 adder_response (GIOChannel *source,
234 if (!read_all (source, result, 32))
249 g_io_channel_unref (source);
318 GSource *source = data;
322 if (!g_ptr_array_remove_fast (crawler_array, source))
337 GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE));
338 g_source_set_callback (source, (GSourceFunc)crawler_callback, source, NULL);
341 g_ptr_array_add (crawler_array, source);
344 g_source_attach (source, context_array->pdata[g_random_int_range (0, context_array->len)]);
345 g_source_unref (source);
384 GSource *source;
388 source = g_idle_source_new ();
389 g_source_set_callback (source, recurser_idle, context, NULL);
390 g_source_attach (source, context);
391 g_source_unref (source);