• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/

Lines Matching defs:watch

30 #include "dbus-watch.h"
150 /* If we need memory we install the write watch just in case,
162 _dbus_verbose ("check_write_watch(): needed = %d on connection %p watch %p fd = %d outgoing messages exist %d\n",
211 /* If we need memory we install the read watch just in case,
226 _dbus_verbose (" setting read watch enabled = %d\n", need_read_watch);
410 * we don't want to add a write watch in do_iteration before
874 DBusWatch *watch,
882 /* If we have a read watch enabled ...
884 if (watch != transport->read_watch &&
893 DBusWatch *watch,
898 _dbus_assert (watch == socket_transport->read_watch ||
899 watch == socket_transport->write_watch);
900 _dbus_assert (watch != NULL);
902 /* If we hit an error here on a write watch, don't disconnect the transport yet because data can
906 if (!(flags & DBUS_WATCH_READABLE) && unix_error_with_read_to_come (transport, watch, flags))
908 _dbus_verbose ("Hang up or error on watch\n");
913 if (watch == socket_transport->read_watch &&
918 _dbus_verbose ("handling read watch %p flags = %x\n",
919 watch, flags);
943 else if (watch == socket_transport->write_watch &&
947 _dbus_verbose ("handling write watch, have_outgoing_messages = %d\n",
959 /* See if we still need the write watch */
965 if (watch == socket_transport->read_watch)
966 _dbus_verbose ("asked to handle read watch with non-read condition 0x%x\n",
968 else if (watch == socket_transport->write_watch)
969 _dbus_verbose ("asked to handle write watch with non-write condition 0x%x\n",
972 _dbus_verbose ("asked to handle watch %p on fd %d that we don't recognize\n",
973 watch, dbus_watch_get_socket (watch));
1176 /* We need to install the write watch only if we did not
1179 * inefficient to add the write watch, and we can avoid it most of