Home
last modified time | relevance | path

Searched refs:socket_set (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/examples/peerconnection/server/
Dmain.cc82 fd_set socket_set; in main() local
83 FD_ZERO(&socket_set); in main()
85 FD_SET(listener.socket(), &socket_set); in main()
88 FD_SET((*i)->socket(), &socket_set); in main()
91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) { in main()
99 if (FD_ISSET(s->socket(), &socket_set)) { in main()
132 FD_CLR(listener.socket(), &socket_set); in main()
146 FD_CLR(s->socket(), &socket_set); in main()
156 if (FD_ISSET(listener.socket(), &socket_set)) { in main()
/external/dbus/dbus/
Ddbus-mainloop.c63 DBusSocketSet *socket_set; member
139 loop->socket_set = _dbus_socket_set_new (0); in _dbus_loop_new()
141 if (loop->watches == NULL || loop->socket_set == NULL) in _dbus_loop_new()
146 if (loop->socket_set != NULL) in _dbus_loop_new()
147 _dbus_socket_set_free (loop->socket_set); in _dbus_loop_new()
186 _dbus_socket_set_free (loop->socket_set); in _dbus_loop_unref()
285 _dbus_socket_set_enable (loop->socket_set, fd, flags); in refresh_watches_for_fd()
287 _dbus_socket_set_disable (loop->socket_set, fd); in refresh_watches_for_fd()
315 if (!_dbus_socket_set_add (loop->socket_set, fd, in _dbus_loop_add_watch()
376 _dbus_socket_set_remove (loop->socket_set, fd); in _dbus_loop_remove_watch()
[all …]