Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_event.cpp182 static void processReadReadies(fd_set * rfds, int n) in processReadReadies() argument
189 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in processReadReadies()
332 static void printReadies(fd_set * rfds) in printReadies() argument
336 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in printReadies()
342 #define printReadies(rfds) do {} while(0) argument
348 fd_set rfds; in ril_event_loop() local
356 memcpy(&rfds, &readFds, sizeof(fd_set)); in ril_event_loop()
365 printReadies(&rfds); in ril_event_loop()
366 n = select(nfds, &rfds, NULL, NULL, ptv); in ril_event_loop()
367 printReadies(&rfds); in ril_event_loop()
[all …]
/device/linaro/dragonboard/shared/utils/tqftpserv/
Dtqftpserv.c492 fd_set rfds; in main() local
511 FD_ZERO(&rfds); in main()
512 FD_SET(fd, &rfds); in main()
516 FD_SET(client->sock, &rfds); in main()
521 FD_SET(client->sock, &rfds); in main()
525 ret = select(nfds + 1, &rfds, NULL, NULL, NULL); in main()
536 if (FD_ISSET(client->sock, &rfds)) { in main()
544 if (FD_ISSET(client->sock, &rfds)) { in main()
551 if (FD_ISSET(fd, &rfds)) { in main()
/device/linaro/dragonboard/shared/utils/rmtfs/
Drmtfs.c428 fd_set rfds; in run_rmtfs() local
462 FD_ZERO(&rfds); in run_rmtfs()
463 FD_SET(rmtfs_fd, &rfds); in run_rmtfs()
465 FD_SET(rprocfd, &rfds); in run_rmtfs()
468 ret = select(nfds, &rfds, NULL, NULL, NULL); in run_rmtfs()
474 if (rprocfd >= 0 && FD_ISSET(rprocfd, &rfds)) { in run_rmtfs()
480 if (FD_ISSET(rmtfs_fd, &rfds)) { in run_rmtfs()