Home
last modified time | relevance | path

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

/system/vold/
Dvdc.c109 fd_set read_fds; in do_monitor() local
116 FD_ZERO(&read_fds); in do_monitor()
117 FD_SET(sock, &read_fds); in do_monitor()
119 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { in do_monitor()
127 } else if (FD_ISSET(sock, &read_fds)) { in do_monitor()
/system/core/libsysutils/src/
DSocketListener.cpp157 fd_set read_fds; in runListener() local
161 FD_ZERO(&read_fds); in runListener()
165 FD_SET(mSock, &read_fds); in runListener()
168 FD_SET(mCtrlPipe[0], &read_fds); in runListener()
176 FD_SET(fd, &read_fds); in runListener()
183 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { in runListener()
192 if (FD_ISSET(mCtrlPipe[0], &read_fds)) { in runListener()
200 if (mListen && FD_ISSET(mSock, &read_fds)) { in runListener()
227 if (FD_ISSET(fd, &read_fds)) { in runListener()
/system/netd/server/
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.c238 static fd_set read_fds; variable
246 FD_ZERO(&read_fds); in fdevent_init()
262 FD_CLR(fde->fd, &read_fds); in fdevent_disconnect()
275 FD_SET(fde->fd, &read_fds); in fdevent_update()
277 FD_CLR(fde->fd, &read_fds); in fdevent_update()
363 memcpy(&rfd, &read_fds, sizeof(fd_set)); in fdevent_process()