Home
last modified time | relevance | path

Searched refs:FD_SET (Results 1 - 25 of 153) sorted by relevance

1234567

/third_party/musl/libc-test/src/functionalext/supplement/select/
H A Dselect.c45 FD_SET(0, &readfds); in select_0100()
46 FD_SET(1, &writefds); in select_0100()
65 FD_SET(0, &readfds); in select_0200()
66 FD_SET(1, &writefds); in select_0200()
86 FD_SET(2, &readfds); in select_0300()
87 FD_SET(2, &writefds); in select_0300()
106 FD_SET(0, &readfds); in select_time64_0100()
107 FD_SET(1, &writefds); in select_time64_0100()
H A Dpselect.c39 FD_SET(STDIN_FILENO, &set); in pselect_fdset_0100()
42 FD_SET(STDOUT_FILENO, &set); in pselect_fdset_0100()
65 FD_SET(STDOUT_FILENO, &set); in pselect_normal_0100()
84 FD_SET(STDOUT_FILENO, &set); in pselect_error_0100()
103 FD_SET(STDOUT_FILENO, &set); in pselect_timeout_0100()
124 FD_SET(STDOUT_FILENO, &set); in pselect_time64_normal_0100()
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-posix.c94 FD_SET (f->fd, &rset); in pa_poll()
96 FD_SET (f->fd, &wset); in pa_poll()
98 FD_SET (f->fd, &xset); in pa_poll()
132 FD_SET (f->fd, &sngl_rset); in pa_poll()
134 FD_SET (f->fd, &sngl_wset); in pa_poll()
136 FD_SET (f->fd, &sngl_xset); in pa_poll()
145 FD_SET (f->fd, &rset); in pa_poll()
147 FD_SET (f->fd, &wset); in pa_poll()
149 FD_SET (f->fd, &xset); in pa_poll()
H A Dpoll-win32.c423 FD_SET (pfd[i].fd, &rfds); in pa_poll()
429 FD_SET (pfd[i].fd, &wfds); in pa_poll()
431 FD_SET (pfd[i].fd, &efds); in pa_poll()
509 FD_SET ((SOCKET) h, &rfds); in pa_poll()
514 FD_SET ((SOCKET) h, &wfds); in pa_poll()
519 FD_SET ((SOCKET) h, &xfds); in pa_poll()
/third_party/ltp/testcases/kernel/syscalls/select/
H A Dselect01.c93 FD_SET(fd_reg, &readfds_reg); in setup()
99 FD_SET(fds_pipe[0], &readfds_pipe); in setup()
100 FD_SET(fds_pipe[1], &writefds_pipe); in setup()
107 FD_SET(fd_npipe, &readfds_npipe); in setup()
108 FD_SET(fd_npipe, &writefds_npipe); in setup()
H A Dselect03.c102 FD_SET(fd_closed, &fds_closed); in setup()
107 FD_SET(fd[0], &readfds_reg); in setup()
108 FD_SET(fd[1], &writefds_reg); in setup()
H A Dselect04.c42 FD_SET(fd_empty[0], &readfds_pipe); in run()
43 FD_SET(fd_full[1], &writefds_pipe); in run()
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dselect_test.c28 * @tc.desc : test FD_SET with normal fd
36 FD_SET(sockfd, &readfds); in fd_set_0010()
44 * @tc.desc : test FD_SET with fd < 0
64 FD_SET(sockfd, &readfds); in fd_set_0020()
80 * @tc.desc : test FD_SET with fd >= 1024
100 FD_SET(sockfd, &readfds); in fd_set_0030()
124 FD_SET(sockfd, &readfds); in fd_clr_0010()
213 FD_SET(sockfd, &readfds); in fd_isset_0010()
/third_party/musl/Benchmark/musl/
H A Dlibc_select.cpp32 FD_SET(0, &readfds); in Bm_function_Select()
33 FD_SET(1, &writefds); in Bm_function_Select()
/third_party/musl/libc-test/src/api/
H A Dsys_time.c22 #ifndef FD_SET in f()
23 {void(*p)(int,fd_set*) = FD_SET;} in f()
H A Dsys_select.c24 #ifndef FD_SET in f()
25 {void(*p)(int,fd_set*) = FD_SET;} in f()
/third_party/alsa-utils/axfer/
H A Dwaiter-select.c60 FD_SET(pfd->fd, &state->rfds_rd); in select_wait_event()
62 FD_SET(pfd->fd, &state->rfds_wr); in select_wait_event()
64 FD_SET(pfd->fd, &state->rfds_ex); in select_wait_event()
/third_party/curl/docs/examples/
H A Dsendrecv.c55 FD_SET(sockfd, &errfd); /* always check for error */ in wait_on_socket()
58 FD_SET(sockfd, &infd); in wait_on_socket()
61 FD_SET(sockfd, &outfd); in wait_on_socket()
/third_party/NuttX/fs/vfs/
H A Dfs_select.c281 FD_SET(pollset[ndx].fd, readfds); in do_select()
292 FD_SET(pollset[ndx].fd, writefds); in do_select()
303 FD_SET(pollset[ndx].fd, exceptfds); in do_select()
/third_party/node/deps/cares/src/lib/
H A Dares_fds.c68 FD_SET(conn->fd, read_fds); in ares_fds()
76 FD_SET(conn->fd, write_fds); in ares_fds()
H A Dares_event_select.c91 FD_SET(ev->fd, &read_fds); in ares_evsys_select_wait()
94 FD_SET(ev->fd, &write_fds); in ares_evsys_select_wait()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-service.c143 FD_SET(pt->fds[n].fd, &readfds); in _lws_plat_service_tsi()
145 FD_SET(pt->fds[n].fd, &writefds); in _lws_plat_service_tsi()
146 FD_SET(pt->fds[n].fd, &errfds); in _lws_plat_service_tsi()
/third_party/musl/include/sys/
H A Dselect.h28 #define FD_SET(d, s) ((s)->fds_bits[(d)/(8*sizeof(long))] |= (1UL<<((d)%(8*sizeof(long))))) macro
34 #define FD_SET(d, s) do { __fd_chk(d); ((s)->fds_bits[(d)/(8*sizeof(long))] |= (1UL<<((d)%(8*sizeof(long))))); } while(0) macro
/third_party/ffmpeg/libavformat/
H A Dos_support.c258 FD_SET(fds[i].fd, &read_set); in ff_poll()
260 FD_SET(fds[i].fd, &write_set); in ff_poll()
262 FD_SET(fds[i].fd, &exception_set); in ff_poll()
/third_party/ltp/testcases/kernel/syscalls/recv/
H A Drecv01.c204 FD_SET(s, &rdfds); in setup1()
271 FD_SET(sfd, &afds); in do_child()
291 FD_SET(newfd, &afds); in do_child()
/third_party/cups-filters/backend/
H A Dparallel.c309 FD_SET(print_fd, &input); in drain_output()
621 FD_SET(print_fd, &input); in run_loop()
623 FD_SET(device_fd, &input); in run_loop()
625 FD_SET(CUPS_SC_FD, &input); in run_loop()
629 FD_SET(device_fd, &output); in run_loop()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
H A Drecvmsg01.c317 FD_SET(sock, &rdfds); in setup_valid_sock()
434 FD_SET(sfd, &afds); in do_child()
435 FD_SET(ufd, &afds); in do_child()
459 FD_SET(newfd, &afds); in do_child()
471 FD_SET(newfd, &afds); in do_child()
/third_party/toybox/toys/pending/
H A Dtelnetd.c308 if (!FLAG(i)) FD_SET(master_fd, &rd); in telnetd_main()
313 if (tm->pty_fd > 0 && tm->buff1_avail < BUFSIZE) FD_SET(tm->pty_fd, &rd); in telnetd_main()
314 if (tm->new_fd >= 0 && tm->buff2_avail < BUFSIZE) FD_SET(tm->new_fd, &rd); in telnetd_main()
316 FD_SET(tm->pty_fd, &wr); in telnetd_main()
318 FD_SET(tm->new_fd, &wr); in telnetd_main()
/third_party/ltp/testcases/network/can/filter-tests/
H A Dcan_rcv_own_msgs.c33 FD_SET(s, &rdfs); in test_sockets()
34 FD_SET(t, &rdfs); in test_sockets()
/third_party/libdrm/tests/vbltest/
H A Dvbltest.c166 FD_SET(0, &fds); in main()
167 FD_SET(fd, &fds); in main()

Completed in 9 milliseconds

1234567