Lines Matching refs:link

220   DBusList *link;  in cull_watches_for_invalid_fd()  local
228 for (link = _dbus_list_get_first_link (watches); in cull_watches_for_invalid_fd()
229 link != NULL; in cull_watches_for_invalid_fd()
230 link = _dbus_list_get_next_link (watches, link)) in cull_watches_for_invalid_fd()
231 _dbus_watch_invalidate (link->data); in cull_watches_for_invalid_fd()
259 DBusList *link; in refresh_watches_for_fd() local
272 for (link = _dbus_list_get_first_link (watches); in refresh_watches_for_fd()
273 link != NULL; in refresh_watches_for_fd()
274 link = _dbus_list_get_next_link (watches, link)) in refresh_watches_for_fd()
276 if (dbus_watch_get_enabled (link->data) && in refresh_watches_for_fd()
277 !_dbus_watch_get_oom_last_time (link->data)) in refresh_watches_for_fd()
279 flags |= dbus_watch_get_flags (link->data); in refresh_watches_for_fd()
346 DBusList *link; in _dbus_loop_remove_watch() local
359 link = _dbus_list_get_first_link (watches); in _dbus_loop_remove_watch()
360 while (link != NULL) in _dbus_loop_remove_watch()
362 DBusList *next = _dbus_list_get_next_link (watches, link); in _dbus_loop_remove_watch()
363 DBusWatch *this = link->data; in _dbus_loop_remove_watch()
367 _dbus_list_remove_link (watches, link); in _dbus_loop_remove_watch()
382 link = next; in _dbus_loop_remove_watch()
417 DBusList *link; in _dbus_loop_remove_timeout() local
419 link = _dbus_list_get_first_link (&loop->timeouts); in _dbus_loop_remove_timeout()
420 while (link != NULL) in _dbus_loop_remove_timeout()
422 DBusList *next = _dbus_list_get_next_link (&loop->timeouts, link); in _dbus_loop_remove_timeout()
423 TimeoutCallback *this = link->data; in _dbus_loop_remove_timeout()
427 _dbus_list_remove_link (&loop->timeouts, link); in _dbus_loop_remove_timeout()
435 link = next; in _dbus_loop_remove_timeout()
597 DBusList *link; in _dbus_loop_iterate() local
624 link = _dbus_list_get_first_link (&loop->timeouts); in _dbus_loop_iterate()
625 while (link != NULL) in _dbus_loop_iterate()
627 DBusList *next = _dbus_list_get_next_link (&loop->timeouts, link); in _dbus_loop_iterate()
628 TimeoutCallback *tcb = link->data; in _dbus_loop_iterate()
658 link = next; in _dbus_loop_iterate()
703 for (link = _dbus_list_get_first_link (watches); in _dbus_loop_iterate()
704 link != NULL; in _dbus_loop_iterate()
705 link = _dbus_list_get_next_link (watches, link)) in _dbus_loop_iterate()
707 DBusWatch *watch = link->data; in _dbus_loop_iterate()
734 link = _dbus_list_get_first_link (&loop->timeouts); in _dbus_loop_iterate()
735 while (link != NULL) in _dbus_loop_iterate()
737 DBusList *next = _dbus_list_get_next_link (&loop->timeouts, link); in _dbus_loop_iterate()
738 TimeoutCallback *tcb = link->data; in _dbus_loop_iterate()
782 link = next; in _dbus_loop_iterate()
830 for (link = _dbus_list_get_first_link (watches); in _dbus_loop_iterate()
831 link != NULL; in _dbus_loop_iterate()
832 link = next) in _dbus_loop_iterate()
834 DBusWatch *watch = link->data; in _dbus_loop_iterate()
836 next = _dbus_list_get_next_link (watches, link); in _dbus_loop_iterate()