Searched refs:read_fds (Results 1 - 4 of 4) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | async_manager.cc | 190 int setUpFileDescriptorSet(fd_set& read_fds) { argument 192 FD_SET(notification_listen_fd_, &read_fds); 199 FD_SET(fdp.first, &read_fds); 207 bool consumeThreadNotifications(fd_set& read_fds) { argument 208 if (FD_ISSET(notification_listen_fd_, &read_fds)) { 220 void runAppropriateCallbacks(fd_set& read_fds) { argument 227 if (FD_ISSET(fdc.first, &read_fds)) { 239 fd_set read_fds; local 240 FD_ZERO(&read_fds); 241 int nfds = setUpFileDescriptorSet(read_fds); [all...] |
/system/core/libsysutils/src/ |
H A D | SocketListener.cpp | 160 fd_set read_fds; local 164 FD_ZERO(&read_fds); 168 FD_SET(mSock, &read_fds); 171 FD_SET(mCtrlPipe[0], &read_fds); 179 FD_SET(fd, &read_fds); 186 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { 195 if (FD_ISSET(mCtrlPipe[0], &read_fds)) { 203 if (mListen && FD_ISSET(mSock, &read_fds)) { 222 if (FD_ISSET(fd, &read_fds)) {
|
/system/netd/server/ |
H A D | ndc.cpp | 124 fd_set read_fds; local 131 FD_ZERO(&read_fds); 132 FD_SET(sock, &read_fds); 134 rc = TEMP_FAILURE_RETRY(select(sock +1, &read_fds, NULL, NULL, &to)); 144 if (!FD_ISSET(sock, &read_fds)) {
|
/system/core/adb/ |
H A D | fdevent_test.cpp | 87 std::vector<int> read_fds; local 90 read_fds.push_back(arg->first_read_fd); 94 read_fds.push_back(fds[0]); 100 for (size_t i = 0; i < read_fds.size(); ++i) { 101 fd_handlers.push_back(std::unique_ptr<FdHandler>(new FdHandler(read_fds[i], write_fds[i])));
|
Completed in 168 milliseconds