Lines Matching full:loop
28 static void quit(int r, void *loop) in quit() argument
30 sd_event_exit((sd_event *)loop, r); in quit()
37 sd_event *loop = user; in callback() local
46 quit(r, loop); in callback()
55 quit(r, loop); in callback()
69 quit(r, loop); in callback()
76 quit(0, loop); in callback()
171 sd_event *loop = NULL; in main() local
211 r = sd_event_default(&loop); in main()
214 fprintf(stderr, "Error obtaining event loop: %s\n", in main()
219 r = sd_bus_attach_event(conn, loop, SD_EVENT_PRIORITY_NORMAL); in main()
223 "bus to event loop: %s\n", in main()
242 loop); in main()
268 r = sd_event_loop(loop); in main()
271 fprintf(stderr, "Error starting event loop: %s\n", in main()