/third_party/musl/libc-test/src/api/ |
H A D | sys_select.c | 11 T(fd_set) in f() 19 {void(*p)(int,fd_set*) = FD_CLR;} in f() 22 {int(*p)(int,fd_set*) = FD_ISSET;} in f() 25 {void(*p)(int,fd_set*) = FD_SET;} in f() 28 {void(*p)(fd_set*) = FD_ZERO;} in f() 30 {int(*p)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,const struct timespec*restrict,const sigset_t*restrict) = pselect;} in f() 31 {int(*p)(int,fd_set*restrict,fd_set*restric in f() [all...] |
H A D | sys_time.c | 9 T(fd_set) in f() 17 {void(*p)(int,fd_set*) = FD_CLR;} in f() 20 {int(*p)(int,fd_set*) = FD_ISSET;} in f() 23 {void(*p)(int,fd_set*) = FD_SET;} in f() 26 {void(*p)(fd_set*) = FD_ZERO;} in f() 28 {int(*p)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,struct timeval*restrict) = select;} in f()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_select.rs | 14 let mut fd_set = FdSet::new(); in test_pselect() variables 15 fd_set.insert(r1); in test_pselect() 16 fd_set.insert(r2); in test_pselect() 22 pselect(None, &mut fd_set, None, None, &timeout, &sigmask).unwrap() in test_pselect() 24 assert!(fd_set.contains(r1)); in test_pselect() 25 assert!(!fd_set.contains(r2)); in test_pselect() 34 let mut fd_set = FdSet::new(); in test_pselect_nfds2() variables 35 fd_set.insert(r1); in test_pselect_nfds2() 36 fd_set.insert(r2); in test_pselect_nfds2() 43 &mut fd_set, in test_pselect_nfds2() [all...] |
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | mhd2spdy_spdy.h | 42 spdy_ctl_select(fd_set * read_fd_set, 43 fd_set * write_fd_set, 44 fd_set * except_fd_set, 80 spdy_get_selectfdset(fd_set * read_fd_set, 81 fd_set * write_fd_set, 82 fd_set * except_fd_set, 95 spdy_run_select(fd_set * read_fd_set, 96 fd_set * write_fd_set, 97 fd_set * except_fd_set,
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_select.c | 96 int do_select(int nfds, fd_set *readfds, fd_set *writefds, in do_select() 97 fd_set *exceptfds, struct timeval *timeout, PollFun poll) in do_select() 251 (void)memset_s(readfds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select() 256 (void)memset_s(writefds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select() 261 (void)memset_s(exceptfds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select() 317 int select(int nfds, fd_set *readfd [all...] |
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | select.h | 24 } fd_set; typedef 26 #define FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) 31 int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 32 int pselect (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | select.h | 24 } fd_set; typedef 26 #define FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) 31 int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 32 int pselect (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | select.h | 24 } fd_set; typedef 26 #define FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) 31 int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 32 int pselect (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | select.h | 31 } fd_set; typedef 33 #define FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) 38 int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 39 int pselect (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict);
|
/third_party/musl/include/sys/ |
H A D | select.h | 24 } fd_set; typedef 26 #define FD_ZERO(s) do { int __i; unsigned long *__b=(s)->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) 39 int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 40 int pselect (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, const struct timespec *__restrict, const sigset_t *__restrict);
|
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
H A D | select.c | 27 extern int __select_time64(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); 42 fd_set readfds, writefds; in select_0100() 62 fd_set readfds, writefds; in select_0200() 82 fd_set readfds, writefds; in select_0300() 103 fd_set readfds, writefds; in select_time64_0100()
|
H A D | pselect.c | 23 extern int __pselect_time64 (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, 34 fd_set set; in pselect_fdset_0100() 60 fd_set set; in pselect_normal_0100() 79 fd_set set; in pselect_error_0100() 97 fd_set set; in pselect_timeout_0100() 119 fd_set set; in pselect_time64_normal_0100()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | select_test.c | 33 fd_set readfds; in fd_set_0010() 56 fd_set readfds; in fd_set_0020() 92 fd_set readfds; in fd_set_0030() 121 fd_set readfds; in fd_clr_0010() 145 fd_set readfds; in fd_clr_0020() 181 fd_set readfds; in fd_clr_0030() 210 fd_set readfds; in fd_isset_0010() 227 fd_set readfds; in fd_isset_0020() 243 fd_set readfds; in fd_isset_0030()
|
/third_party/ltp/testcases/kernel/syscalls/select/ |
H A D | select03.c | 17 static fd_set readfds_reg, writefds_reg, fds_closed; 18 static fd_set *preadfds_reg = &readfds_reg, *pwritefds_reg = &writefds_reg; 19 static fd_set *pfds_closed = &fds_closed, *nullfds = NULL, *faulty_fds; 29 fd_set **readfds; 30 fd_set **writefds; 31 fd_set **exceptfds;
|
H A D | select_var.h | 21 static int do_select_faulty_to(int nfds, fd_set *readfds, fd_set *writefds, in do_select_faulty_to() 22 fd_set *exceptfds, struct timeval *timeout, int faulty_to) in do_select_faulty_to() 99 static inline int do_select(int nfds, fd_set *readfds, fd_set *writefds, in do_select() 100 fd_set *exceptfds, struct timeval *timeout) in do_select()
|
/third_party/musl/compat/time32/ |
H A D | pselect_time32.c | 5 int __pselect_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec32 *restrict ts32, const sigset_t *restrict mask) in __pselect_time32()
|
H A D | select_time32.c | 6 int __select_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval32 *restrict tv32) in __select_time32()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | daemon.h | 116 fd_set *read_fd_set, 117 fd_set *write_fd_set, 118 fd_set *except_fd_set,
|
/third_party/curl/tests/libtest/ |
H A D | lib560.c | 78 fd_set fdread; in test() 79 fd_set fdwrite; in test() 80 fd_set fdexcep; in test()
|
H A D | lib575.c | 82 fd_set fdread; in test() 83 fd_set fdwrite; in test() 84 fd_set fdexcep; in test()
|
H A D | lib1501.c | 64 fd_set fdread; in test() 65 fd_set fdwrite; in test() 66 fd_set fdexcep; in test()
|
H A D | lib507.c | 60 fd_set fdread; in test() 61 fd_set fdwrite; in test() 62 fd_set fdexcep; in test()
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
H A D | microhttpd.h | 63 * includes to define the `uint64_t`, `size_t`, `fd_set`, `socklen_t` 126 #error Cygwin with winsock fd_set is not supported 1563 * daemon FDs in fd_sets, call FD_ZERO for each fd_set 1576 * fit fd_set. 1581 fd_set *read_fd_set, 1582 fd_set *write_fd_set, 1583 fd_set *except_fd_set, 1590 * daemon FDs in fd_sets, call FD_ZERO for each fd_set 1605 * fit fd_set. 1610 fd_set *read_fd_se [all...] |
/third_party/curl/lib/ |
H A D | warnless.h | 82 int curlx_FD_ISSET(int fd, fd_set *fdset); 84 void curlx_FD_SET(int fd, fd_set *fdset); 86 void curlx_FD_ZERO(fd_set *fdset);
|
/third_party/musl/porting/liteos_a/user/src/select/ |
H A D | select.c | 10 int select(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval *restrict tv) in select()
|