Home
last modified time | relevance | path

Searched refs:wfds (Results 1 – 6 of 6) sorted by relevance

/external/libppp/src/
Dmain.c540 fd_set *rfds, *wfds, *efds; in DoLoop() local
548 if ((wfds = mkfdset()) == NULL) { in DoLoop()
557 free(wfds); in DoLoop()
564 zerofdset(wfds); in DoLoop()
568 descriptor_UpdateSet(&bundle->desc, rfds, wfds, efds, &nfds); in DoLoop()
589 i = select(nfds, rfds, wfds, efds, NULL); in DoLoop()
601 if (select(nfds, rfds, wfds, efds, &t) != -1) { in DoLoop()
606 if (FD_ISSET(i, wfds)) { in DoLoop()
608 FD_CLR(i, wfds); in DoLoop()
610 if (select(nfds, rfds, wfds, efds, &t) != -1) { in DoLoop()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/audio/nto/
DSDL_nto_audio.c226 fd_set wfds; in NTO_WaitAudio() local
229 FD_ZERO(&wfds); in NTO_WaitAudio()
230 FD_SET(audio_fd, &wfds); in NTO_WaitAudio()
233 selectret=select(audio_fd + 1, NULL, &wfds, NULL, NULL); in NTO_WaitAudio()
239 default: if (FD_ISSET(audio_fd, &wfds)) in NTO_WaitAudio()
/external/qemu/
Dmigration.c322 fd_set wfds; in migrate_fd_wait_for_unfreeze() local
324 FD_ZERO(&wfds); in migrate_fd_wait_for_unfreeze()
325 FD_SET(s->fd, &wfds); in migrate_fd_wait_for_unfreeze()
327 ret = select(s->fd + 1, NULL, &wfds, NULL, NULL); in migrate_fd_wait_for_unfreeze()
Dvl.c1724 fd_set rfds, wfds, xfds; in main_loop_wait() local
1741 FD_ZERO(&wfds); in main_loop_wait()
1743 qemu_iohandler_fill(&nfds, &rfds, &wfds, &xfds); in main_loop_wait()
1745 slirp_select_fill(&nfds, &rfds, &wfds, &xfds); in main_loop_wait()
1749 ret = select(nfds + 1, &rfds, &wfds, &xfds, &tv); in main_loop_wait()
1751 qemu_iohandler_poll(&rfds, &wfds, &xfds, ret); in main_loop_wait()
1755 FD_ZERO(&wfds); in main_loop_wait()
1758 slirp_select_poll(&rfds, &wfds, &xfds); in main_loop_wait()
Dvl-android.c1928 fd_set rfds, wfds, xfds; in main_loop_wait() local
1945 FD_ZERO(&wfds); in main_loop_wait()
1947 qemu_iohandler_fill(&nfds, &rfds, &wfds, &xfds); in main_loop_wait()
1949 slirp_select_fill(&nfds, &rfds, &wfds, &xfds); in main_loop_wait()
1953 ret = select(nfds + 1, &rfds, &wfds, &xfds, &tv); in main_loop_wait()
1955 qemu_iohandler_poll(&rfds, &wfds, &xfds, ret); in main_loop_wait()
1959 FD_ZERO(&wfds); in main_loop_wait()
1962 slirp_select_poll(&rfds, &wfds, &xfds); in main_loop_wait()
/external/wpa_supplicant_8/src/utils/
Deloop.c713 fd_set *rfds, *wfds, *efds; in eloop_run()
721 wfds = os_malloc(sizeof(*wfds)); in eloop_run()
723 if (rfds == NULL || wfds == NULL || efds == NULL) in eloop_run()
761 eloop_sock_table_set_fds(&eloop.writers, wfds); in eloop_run()
763 res = select(eloop.max_sock + 1, rfds, wfds, efds, in eloop_run()
797 eloop_sock_table_dispatch(&eloop.writers, wfds); in eloop_run()
805 os_free(wfds); in eloop_run()