Searched refs:rfds (Results 1 - 2 of 2) sorted by relevance

/system/core/toolbox/
H A Dalarm.c24 fd_set rfds; local
170 FD_ZERO(&rfds);
171 FD_SET(fd, &rfds);
172 res = select(fd + 1, &rfds, NULL, NULL, &timeout);
H A Dpowerd.c182 fd_set rfds; local
307 FD_ZERO(&rfds);
308 //FD_SET(0, &rfds);
309 FD_SET(eventfd, &rfds);
310 FD_SET(notifyfd, &rfds);
311 res = select(((notifyfd > eventfd) ? notifyfd : eventfd) + 1, &rfds, NULL, NULL, &tv);
334 //if(FD_ISSET(0, &rfds)) {
338 if(FD_ISSET(notifyfd, &rfds)) {
345 if(FD_ISSET(eventfd, &rfds)) {

Completed in 142 milliseconds