Home
last modified time | relevance | path

Searched refs:read_fds (Results 1 – 4 of 4) sorted by relevance

/system/core/libsysutils/src/
DSocketListener.cpp152 fd_set read_fds; in runListener() local
156 FD_ZERO(&read_fds); in runListener()
160 FD_SET(mSock, &read_fds); in runListener()
163 FD_SET(mCtrlPipe[0], &read_fds); in runListener()
170 FD_SET(fd, &read_fds); in runListener()
176 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { in runListener()
185 if (FD_ISSET(mCtrlPipe[0], &read_fds)) in runListener()
187 if (mListen && FD_ISSET(mSock, &read_fds)) { in runListener()
212 if (FD_ISSET(fd, &read_fds)) { in runListener()
/system/vold/
Dvdc.c91 fd_set read_fds; in do_monitor() local
98 FD_ZERO(&read_fds); in do_monitor()
99 FD_SET(sock, &read_fds); in do_monitor()
101 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { in do_monitor()
109 } else if (FD_ISSET(sock, &read_fds)) { in do_monitor()
/system/netd/
Dndc.c124 fd_set read_fds; in do_monitor() local
131 FD_ZERO(&read_fds); in do_monitor()
132 FD_SET(sock, &read_fds); in do_monitor()
134 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { in do_monitor()
143 } else if (FD_ISSET(sock, &read_fds)) { in do_monitor()
/system/core/adb/
Dfdevent.c247 static fd_set read_fds; variable
255 FD_ZERO(&read_fds); in fdevent_init()
271 FD_CLR(fde->fd, &read_fds); in fdevent_disconnect()
284 FD_SET(fde->fd, &read_fds); in fdevent_update()
286 FD_CLR(fde->fd, &read_fds); in fdevent_update()
372 memcpy(&rfd, &read_fds, sizeof(fd_set)); in fdevent_process()