/external/chromium_org/chromeos/process_proxy/ |
process_output_watcher.cc | 86 fd_set rfds; local 88 InitReadFdSet(out_fd_, stop_fd_, &rfds); 91 HANDLE_EINTR(select(max_fd_ + 1, &rfds, NULL, NULL, NULL)); 99 if (FD_ISSET(stop_fd_, &rfds)) { 103 if (out_fd_ != -1 && FD_ISSET(out_fd_, &rfds)) {
|
/external/libnl/src/ |
nf-queue.c | 147 fd_set rfds; local 150 FD_ZERO(&rfds); 153 FD_SET(nffd, &rfds); 156 FD_SET(rtfd, &rfds); 161 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); 164 if (FD_ISSET(nffd, &rfds)) 166 if (FD_ISSET(rtfd, &rfds))
|
/external/chromium_org/tools/android/file_poller/ |
file_poller.cc | 145 fd_set rfds; local 151 FD_ZERO(&rfds); 152 FD_SET(sockfd, &rfds); 153 } while (select(sockfd + 1, &rfds, NULL, NULL, &timeout) == 0);
|
/external/ipsec-tools/src/racoon/ |
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))
|
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)) {
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_uart.c | 303 fd_set rfds; local 331 FD_ZERO(&rfds); 332 FD_SET(gComPortContext.nHandle, &rfds); 339 ret = select(gComPortContext.nHandle + 1, &rfds, NULL, NULL, ptv);
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_privsep.c | 138 fd_set rfds; local 188 FD_ZERO(&rfds); 189 FD_SET(l2->fd, &rfds); 192 res = select(l2->fd + 1, &rfds, NULL, NULL, &tv); 198 if (FD_ISSET(l2->fd, &rfds)) {
|
/hardware/intel/common/libva/test/putsurface/ |
putsurface_wayland.c | 294 fd_set rfds; local 303 FD_ZERO(&rfds); 304 FD_SET(d->event_fd, &rfds); 306 retval = select(d->event_fd + 1, &rfds, NULL, NULL, &tv);
|
/external/wpa_supplicant_8/src/common/ |
wpa_ctrl.c | 459 fd_set rfds; local 516 FD_ZERO(&rfds); 517 FD_SET(ctrl->s, &rfds); 518 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 521 if (FD_ISSET(ctrl->s, &rfds)) { 596 fd_set rfds; local 599 FD_ZERO(&rfds); 600 FD_SET(ctrl->s, &rfds); 601 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 602 return FD_ISSET(ctrl->s, &rfds); [all...] |
/hardware/ril/libril/ |
ril_event.cpp | 183 static void processReadReadies(fd_set * rfds, int n) 190 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { 333 static void printReadies(fd_set * rfds) 337 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { 343 #define printReadies(rfds) do {} while(0) 349 fd_set rfds; local 357 memcpy(&rfds, &readFds, sizeof(fd_set)); 366 printReadies(&rfds); 367 n = select(nfds, &rfds, NULL, NULL, ptv); 368 printReadies(&rfds); [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_linux.cc | 203 fd_set rfds; local 204 FD_ZERO(&rfds); 205 FD_SET(inotify_fd, &rfds); 206 FD_SET(shutdown_fd, &rfds); 211 &rfds, NULL, NULL, NULL)); 217 if (FD_ISSET(shutdown_fd, &rfds))
|
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 67 fd_set rfds; local 71 FD_ZERO(&rfds); 72 FD_SET(drv->cmd_socket, &rfds); 75 res = select(drv->cmd_socket + 1, &rfds, NULL, NULL, &tv); 81 if (FD_ISSET(drv->cmd_socket, &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
OMX_G722Dec_Utils.c | 120 fd_set rfds; local 135 FD_ZERO (&rfds); 136 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 137 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 144 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 161 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { 176 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
OMX_G722Enc_Utils.c | 108 fd_set rfds; local 125 FD_ZERO (&rfds); 126 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 127 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 135 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 137 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 169 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { 204 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { [all...] |
/external/qemu/ |
main-loop.c | 266 fd_set rfds, wfds, xfds; local 281 FD_ZERO(&rfds); 284 qemu_iohandler_fill(&nfds, &rfds, &wfds, &xfds); 286 slirp_select_fill(&nfds, &rfds, &wfds, &xfds); 290 ret = select(nfds + 1, &rfds, &wfds, &xfds, &tv); 292 qemu_iohandler_poll(&rfds, &wfds, &xfds, ret); 295 FD_ZERO(&rfds); 299 slirp_select_poll(&rfds, &wfds, &xfds);
|
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 1180 fd_set rfds; local 1189 FD_ZERO(&rfds); 1190 FD_SET(fd, &rfds); 1193 res = select(fd + 1, &rfds, NULL, NULL, &tv); 1199 if (FD_ISSET(fd, &rfds))
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 903 fd_set *rfds, *wfds, *efds; local 913 rfds = os_malloc(sizeof(*rfds)); 916 if (rfds == NULL || wfds == NULL || efds == NULL) 950 eloop_sock_table_set_fds(&eloop.readers, rfds); 953 res = select(eloop.max_sock + 1, rfds, wfds, efds, 1005 eloop_sock_table_dispatch(&eloop.readers, rfds); 1017 os_free(rfds); 1098 fd_set rfds; local 1103 FD_ZERO(&rfds); [all...] |
/hardware/libhardware_legacy/wifi/ |
wifi.c | 621 struct pollfd rfds[2]; local 623 memset(rfds, 0, 2 * sizeof(struct pollfd)); 624 rfds[0].fd = ctrlfd; 625 rfds[0].events |= POLLIN; 626 rfds[1].fd = exit_sockets[1]; 627 rfds[1].events |= POLLIN; 629 res = TEMP_FAILURE_RETRY(poll(rfds, 2, 30000)); 643 if (rfds[0].revents & POLLIN) { 647 /* it is not rfds[0], then it must be rfts[1] (i.e. the exit socket)
|
/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/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/audio/src/openmax_il/g729_dec/tests/ |
G729DecTest.c | 164 fd_set rfds; variable [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/image/src/openmax_il/jpeg_enc/test/ |
JPEGTestEnc.c | 1840 fd_set rfds; local [all...] |