Lines Matching refs:readfds
292 fd_set readfds; in readfd_set_test() local
296 FD_ZERO(&readfds); in readfd_set_test()
297 FD_SET(fd, &readfds); in readfd_set_test()
306 ret = select(fd + 1, &readfds, NULL, NULL, &timeout); in readfd_set_test()
313 if (FD_ISSET(fd, &readfds)) in readfd_set_test()
326 fd_set readfds; in readfd_not_set_test() local
329 FD_ZERO(&readfds); in readfd_not_set_test()
330 FD_SET(fd, &readfds); in readfd_not_set_test()
338 ret = select(fd + 1, &readfds, NULL, NULL, &timeout); in readfd_not_set_test()
345 if (!FD_ISSET(fd, &readfds)) in readfd_not_set_test()
572 fd_set readfds; in overflow_select_test() local
583 FD_ZERO(&readfds); in overflow_select_test()
584 FD_SET(evfd, &readfds); in overflow_select_test()
585 ret = select(evfd + 1, &readfds, NULL, NULL, &timeout); in overflow_select_test()
590 if (FD_ISSET(evfd, &readfds)) in overflow_select_test()