Home
last modified time | relevance | path

Searched refs:fd_set (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/include/sys/
Dselect.h47 } fd_set; typedef
57 for (__i = 0; __i < sizeof(fd_set)/sizeof(fd_mask); ++__i) { \
62 void __FD_CLR_chk(int, fd_set*, size_t) __INTRODUCED_IN(21);
63 void __FD_SET_chk(int, fd_set*, size_t) __INTRODUCED_IN(21);
64 int __FD_ISSET_chk(int, const fd_set*, size_t) __INTRODUCED_IN(21);
66 #define __FD_CLR(fd, set) (__FDS_BITS(fd_set*,set)[__FDELT(fd)] &= ~__FDMASK(fd))
67 #define __FD_SET(fd, set) (__FDS_BITS(fd_set*,set)[__FDELT(fd)] |= __FDMASK(fd))
68 #define __FD_ISSET(fd, set) ((__FDS_BITS(const fd_set*,set)[__FDELT(fd)] & __FDMASK(fd)) != 0)
81 int select(int __fd_count, fd_set* __read_fds, fd_set* __write_fds, fd_set* __exception_fds, struct…
82 int pselect(int __fd_count, fd_set* __read_fds, fd_set* __write_fds, fd_set* __exception_fds, const…
[all …]
/bionic/tests/headers/posix/
Dsys_select_h.c43 TYPE(fd_set); in sys_select_h()
60 …FUNCTION(pselect, int (*f)(int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*… in sys_select_h()
61 FUNCTION(select, int (*f)(int, fd_set*, fd_set*, fd_set*, struct timeval*)); in sys_select_h()
Dsys_time_h.c45 TYPE(fd_set); in sys_time_h()
72 FUNCTION(select, int (*f)(int, fd_set*, fd_set*, fd_set*, struct timeval*)); in sys_time_h()
/bionic/libc/bionic/
Dpoll.cpp38 extern "C" int __pselect6(int, fd_set*, fd_set*, fd_set*, timespec*, void*);
81 int select(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds, timeval* tv) { in select()
98 int pselect(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds, in pselect()
111 int pselect64(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds, in pselect64()
Dfortify.cpp81 int __FD_ISSET_chk(int fd, const fd_set* set, size_t set_size) { in __FD_ISSET_chk()
86 void __FD_CLR_chk(int fd, fd_set* set, size_t set_size) { in __FD_CLR_chk()
91 void __FD_SET_chk(int fd, fd_set* set, size_t set_size) { in __FD_SET_chk()
/bionic/tests/
Dsys_select_test.cpp29 fd_set fds; in TEST()
78 fd_set r; in TEST()
80 fd_set w; in TEST()
82 fd_set e; in TEST()
133 fd_set r; in TEST()
135 fd_set w; in TEST()
137 fd_set e; in TEST()
184 const fd_set none = {}; in TEST()
Dsys_socket_test.cpp84 fd_set read_set; in RunTest()
212 fd_set read_set; in TestSendMMsg()
Dfortify_test.cpp584 fd_set set; in TEST_F()
592 fd_set* set = (fd_set*) buf; in TEST_F()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Deventlib_p.h227 fd_set rdLast, rdNext;
228 fd_set wrLast, wrNext;
229 fd_set exLast, exNext;
230 fd_set nonblockBefore;
/bionic/libc/private/
Dbionic_fortify.h57 if (__predict_false(set_size < sizeof(fd_set))) { in __check_fd_set()
/bionic/libc/
DSYSCALLS.TXT319 int __pselect6:pselect6(int, fd_set*, fd_set*, fd_set*, timespec*, void*) all