/system/core/toolbox/ |
alarm.c | 24 fd_set rfds; local 170 FD_ZERO(&rfds); 171 FD_SET(fd, &rfds); 172 res = select(fd + 1, &rfds, NULL, NULL, &timeout);
|
powerd.c | 182 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)) {
|
/external/ipsec-tools/src/racoon/ |
session.c | 119 fd_set rfds; local 182 rfds = maskdying; 184 rfds = mask0; 195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); 211 (FD_ISSET(lcconf->sock_admin, &rfds))) 218 if (FD_ISSET(p->sock, &rfds)) 222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) 225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) {
|
schedule.c | 334 fd_set rfds; local 346 rfds = mask0; 350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); 360 if (FD_ISSET(0, &rfds))
|
/external/wpa_supplicant/ |
wpa_ctrl.c | 266 fd_set rfds; local 304 FD_ZERO(&rfds); 305 FD_SET(ctrl->s, &rfds); 306 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 307 if (FD_ISSET(ctrl->s, &rfds)) { 382 fd_set rfds; local 385 FD_ZERO(&rfds); 386 FD_SET(ctrl->s, &rfds); 387 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 388 return FD_ISSET(ctrl->s, &rfds); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_ctrl.c | 294 fd_set rfds; local 332 FD_ZERO(&rfds); 333 FD_SET(ctrl->s, &rfds); 334 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 335 if (FD_ISSET(ctrl->s, &rfds)) { 410 fd_set rfds; local 413 FD_ZERO(&rfds); 414 FD_SET(ctrl->s, &rfds); 415 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 416 return FD_ISSET(ctrl->s, &rfds); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_privsep.c | 144 fd_set rfds; local 194 FD_ZERO(&rfds); 195 FD_SET(l2->fd, &rfds); 198 res = select(l2->fd + 1, &rfds, NULL, NULL, &tv); 204 if (FD_ISSET(l2->fd, &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/ |
G722DecTest.c | 193 fd_set rfds; local 434 error = testCases (pHandle, &rfds, tcID, fIn, fOut, &frmCnt, &totalFilled, &tv, gDasfMode, nIpBuffs, pInputBufferHeader, nOpBuffs, pOutputBufferHeader); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
G722EncTest.c | 132 fd_set rfds; variable 797 FD_ZERO(&rfds); 798 FD_SET(IpBuf_Pipe[0], &rfds); 799 FD_SET(OpBuf_Pipe[0], &rfds); 800 FD_SET(Event_Pipe[0], &rfds); 803 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); 821 if(FD_ISSET(IpBuf_Pipe[0], &rfds)){ 861 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
G726DecTest.c | 145 fd_set rfds; variable 934 FD_ZERO(&rfds); 935 FD_SET(IpBuf_Pipe[0], &rfds); 936 FD_SET(OpBuf_Pipe[0], &rfds); 941 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 532 fd_set rfds; local 533 FD_ZERO(&rfds); 534 FD_SET(Event_Pipe[0], &rfds); 538 nRetval = pselect(nFDmax+1, &rfds, NULL, NULL, NULL, &set); 552 if ( FD_ISSET(Event_Pipe[0], &rfds)) { 1312 fd_set rfds; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
G711DecTest.c | 232 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.c | 499 fd_set rfds; local [all...] |
/device/htc/passion-common/libsensors/ |
sensors.c | 874 fd_set rfds; local 877 FD_ZERO(&rfds); 878 FD_SET(akm_fd, &rfds); 879 FD_SET(cm_fd, &rfds); 880 FD_SET(ls_fd, &rfds); 881 n = select(__MAX(akm_fd, __MAX(cm_fd, ls_fd)) + 1, &rfds, 891 if (FD_ISSET(akm_fd, &rfds)) { 908 if (FD_ISSET(cm_fd, &rfds)) { 925 if (FD_ISSET(ls_fd, &rfds)) { [all...] |
/hardware/msm7k/librpc/ |
svc.c | 112 volatile fd_set rfds; local 114 rfds = xprt->fdset; 116 n = select(xprt->max_fd + 1, (fd_set *)&rfds, NULL, NULL, &tv); 124 if (FD_ISSET(n, &rfds)) {
|
clnt.c | 187 fd_set rfds; local 190 rfds = rx_fdset; 193 n = select(max_rxfd + 1, (fd_set *)&rfds, NULL, NULL, &tv); 203 if (FD_ISSET(client->xdr->fd, &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
G711EncTest.c | 207 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
G726EncTest.c | 282 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
G729EncTest.c | 216 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/ |
WmaDecTest.c | 173 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
G729DecTest.c | 164 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
AmrEncTest.c | 348 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/ |
WBAmrDecTest.c | 268 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
WbAmrEncTest.c | 333 fd_set rfds; variable [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
JPEGTestEnc.c | 1840 fd_set rfds; local [all...] |