Searched refs:listen_fds (Results 1 – 3 of 3) sorted by relevance
/external/dbus/dbus/ |
D | dbus-server-socket.c | 396 int *listen_fds = NULL; in _dbus_server_new_for_tcp_socket() local 432 &listen_fds, error); in _dbus_server_new_for_tcp_socket() 477 server = _dbus_server_new_for_socket (listen_fds, nlisten_fds, &address, noncefile); in _dbus_server_new_for_tcp_socket() 486 dbus_free(listen_fds); in _dbus_server_new_for_tcp_socket() 498 _dbus_close_socket (listen_fds[i], NULL); in _dbus_server_new_for_tcp_socket() 499 dbus_free(listen_fds); in _dbus_server_new_for_tcp_socket()
|
/external/libvncserver/libvncserver/ |
D | sockets.c | 415 fd_set listen_fds; in rfbProcessNewConnection() local 421 FD_ZERO(&listen_fds); in rfbProcessNewConnection() 423 FD_SET(rfbScreen->listenSock, &listen_fds); in rfbProcessNewConnection() 425 FD_SET(rfbScreen->listen6Sock, &listen_fds); in rfbProcessNewConnection() 426 if (select(rfbScreen->maxFd+1, &listen_fds, NULL, NULL, NULL) == -1) { in rfbProcessNewConnection() 430 if (rfbScreen->listenSock >= 0 && FD_ISSET(rfbScreen->listenSock, &listen_fds)) in rfbProcessNewConnection() 432 if (rfbScreen->listen6Sock >= 0 && FD_ISSET(rfbScreen->listen6Sock, &listen_fds)) in rfbProcessNewConnection()
|
D | main.c | 575 fd_set listen_fds; /* temp file descriptor list for select() */ in listenerRun() local 581 FD_ZERO(&listen_fds); in listenerRun() 583 FD_SET(screen->listenSock, &listen_fds); in listenerRun() 585 FD_SET(screen->listen6Sock, &listen_fds); in listenerRun() 587 if (select(screen->maxFd+1, &listen_fds, NULL, NULL, NULL) == -1) { in listenerRun() 594 if (FD_ISSET(screen->listenSock, &listen_fds)) in listenerRun() 596 else if (FD_ISSET(screen->listen6Sock, &listen_fds)) in listenerRun()
|