Searched refs:watches (Results 1 – 17 of 17) sorted by relevance
62 DBusHashTable *watches; member108 DBusList **watches = data; in free_watch_table_entry() local113 if (watches == NULL) in free_watch_table_entry()116 for (watch = _dbus_list_pop_first (watches); in free_watch_table_entry()118 watch = _dbus_list_pop_first (watches)) in free_watch_table_entry()123 _dbus_assert (*watches == NULL); in free_watch_table_entry()124 dbus_free (watches); in free_watch_table_entry()136 loop->watches = _dbus_hash_table_new (DBUS_HASH_INT, NULL, in _dbus_loop_new()141 if (loop->watches == NULL || loop->socket_set == NULL) in _dbus_loop_new()143 if (loop->watches != NULL) in _dbus_loop_new()[all …]
128 server->watches = NULL; in _dbus_server_init_base()149 server->watches = _dbus_watch_list_new (); in _dbus_server_init_base()150 if (server->watches == NULL) in _dbus_server_init_base()166 if (server->watches) in _dbus_server_init_base()168 _dbus_watch_list_free (server->watches); in _dbus_server_init_base()169 server->watches = NULL; in _dbus_server_init_base()208 _dbus_watch_list_free (server->watches); in _dbus_server_finalize_base()240 DBusWatchList *watches; in protected_change_watch() local250 watches = server->watches; in protected_change_watch()251 if (watches) in protected_change_watch()[all …]
216 DBusList *watches; /**< Watch objects. */ member254 _dbus_list_foreach (&watch_list->watches, in _dbus_watch_list_free()257 _dbus_list_clear (&watch_list->watches); in _dbus_watch_list_free()289 link = _dbus_list_get_first_link (&watch_list->watches); in _dbus_watch_list_set_functions()292 DBusList *next = _dbus_list_get_next_link (&watch_list->watches, in _dbus_watch_list_set_functions()322 link2 = _dbus_list_get_first_link (&watch_list->watches); in _dbus_watch_list_set_functions()325 DBusList *next = _dbus_list_get_next_link (&watch_list->watches, in _dbus_watch_list_set_functions()349 _dbus_list_foreach (&watch_list->watches, in _dbus_watch_list_set_functions()378 if (!_dbus_list_append (&watch_list->watches, watch)) in _dbus_watch_list_add_watch()391 _dbus_list_remove_last (&watch_list->watches, watch); in _dbus_watch_list_add_watch()[all …]
83 DBusWatchList *watches; member129 sitter->watches = _dbus_watch_list_new (); in _dbus_babysitter_new()130 if (sitter->watches == NULL) in _dbus_babysitter_new()167 _dbus_assert (sitter->watches != NULL); in close_socket_to_babysitter()168 _dbus_watch_list_remove_watch (sitter->watches, sitter->sitter_watch); in close_socket_to_babysitter()243 if (sitter->watches) in _dbus_babysitter_unref()244 _dbus_watch_list_free (sitter->watches); in _dbus_babysitter_unref()369 return _dbus_watch_list_set_functions (sitter->watches, in _dbus_babysitter_set_watch_functions()694 if (!_dbus_watch_list_add_watch (sitter->watches, sitter->sitter_watch)) in _dbus_spawn_async_with_babysitter()
203 DBusWatchList *watches; /**< Watches */ member235 sitter->watches = _dbus_watch_list_new (); in _dbus_babysitter_new()236 if (sitter->watches == NULL) in _dbus_babysitter_new()343 if (sitter->watches) in _dbus_babysitter_unref()344 _dbus_watch_list_free (sitter->watches); in _dbus_babysitter_unref()466 _dbus_assert (sitter->watches != NULL); in close_socket_to_babysitter()467 _dbus_watch_list_remove_watch (sitter->watches, sitter->sitter_watch); in close_socket_to_babysitter()487 _dbus_assert (sitter->watches != NULL); in close_error_pipe_from_child()488 _dbus_watch_list_remove_watch (sitter->watches, sitter->error_watch); in close_error_pipe_from_child()752 return _dbus_watch_list_set_functions (sitter->watches, in _dbus_babysitter_set_watch_functions()[all …]
66 DBusWatchList *watches; /**< Our watches */ member
289 DBusWatchList *watches; /**< Stores active watches. */ member718 if (connection->watches) in protected_change_watch()721 retval = (* add_function) (connection->watches, watch); in protected_change_watch()725 (* remove_function) (connection->watches, watch); in protected_change_watch()730 (* toggle_function) (connection->watches, watch, enabled); in protected_change_watch()1345 connection->watches = watch_list; in _dbus_connection_new_for_transport()2688 _dbus_watch_list_free (connection->watches); in _dbus_connection_last_unref()2689 connection->watches = NULL; in _dbus_connection_last_unref()4899 retval = _dbus_watch_list_set_functions (connection->watches, in dbus_connection_set_watch_functions()
40 AVAHI_LLIST_FIELDS(AvahiWatch, watches);64 AVAHI_LLIST_HEAD(AvahiWatch, watches);74 AVAHI_LLIST_REMOVE(AvahiWatch, watches, w->glib_poll->watches, w); in destroy_watch()83 for (w = g->watches; w; w = next) { in cleanup_watches()134 AVAHI_LLIST_PREPEND(AvahiWatch, watches, g->watches, w); in watch_new()309 for (w = g->watches; w; w = w->watches_next) in check_func()336 for (w = g->watches; w; w = w->watches_next) in dispatch_func()376 AVAHI_LLIST_HEAD_INIT(AvahiWatch, g->watches); in avahi_glib_poll_new()
47 AVAHI_LLIST_FIELDS(AvahiWatch, watches);76 AVAHI_LLIST_HEAD(AvahiWatch, watches);162 AVAHI_LLIST_PREPEND(AvahiWatch, watches, s->watches, w); in watch_new()222 AVAHI_LLIST_REMOVE(AvahiWatch, watches, w->simple_poll->watches, w); in destroy_watch()234 for (w = s->watches; w; w = next) { in cleanup_watches()361 AVAHI_LLIST_HEAD_INIT(AvahiWatch, s->watches); in avahi_simple_poll_new()409 for (w = s->watches; w; w = w->watches_next) { in rebuild()576 for (w = s->watches; w; w = w->watches_next) { in avahi_simple_poll_dispatch()
69 for (w = daemon->watches; w; w = w->next) in add_watch()77 w->next = daemon->watches; in add_watch()78 daemon->watches = w; in add_watch()88 for (up = &(daemon->watches), w = daemon->watches; w; w = w->next) in remove_watch()343 for (w = daemon->watches; w; w = w->next) in set_dbus_listeners()366 for (w = daemon->watches; w; w = w->next) in check_dbus_listeners()
683 struct watch *watches; member
203 daemon->watches = NULL; in main()
13 This test starts up Avahi inside a network chroot, then watches for
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
175 inotify watches more elegantly by closing inotify:_fd, set inotify_fd to176 -1 after dropping the watches
4591 watches (if applicable) and add new watches6397 finalize handlers that remove all the watches. 10743 * glib/dbus-gmain.c (remove_watch): fix for a crash when watches12099 * bus/*.c: adapt to handle OOM for watches/timeouts12322 to create watches up front and simply enable/disable them as12330 watches/timeouts12332 * glib/dbus-gmain.c: adapt to enable/disable watches and timeouts14614 and setting up watches etc.14749 * test/watch.c (do_mainloop): handle adding/removing watches14750 during iteration over the watches. Also, ref the connection/server[all …]