/external/rust/crates/nix/src/sys/ |
D | select.rs | 16 pub struct FdSet(libc::fd_set); 187 let readfds = readfds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in select() 188 let writefds = writefds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in select() 189 let errorfds = errorfds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in select() 258 let readfds = readfds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in pselect() 259 let writefds = writefds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in pselect() 260 let errorfds = errorfds.map(|set| set as *mut _ as *mut libc::fd_set).unwrap_or(null_mut()); in pselect() 281 let mut fd_set = FdSet::new(); in fdset_insert() localVariable 284 assert!(!fd_set.contains(i as RawFd)); in fdset_insert() 287 fd_set.insert(7); in fdset_insert() [all …]
|
/external/rust/crates/nix/test/sys/ |
D | test_select.rs | 16 let mut fd_set = FdSet::new(); in test_pselect() localVariable 17 fd_set.insert(r1); in test_pselect() 18 fd_set.insert(r2); in test_pselect() 24 pselect(None, &mut fd_set, None, None, &timeout, &sigmask).unwrap() in test_pselect() 26 assert!(fd_set.contains(r1)); in test_pselect() 27 assert!(!fd_set.contains(r2)); in test_pselect() 36 let mut fd_set = FdSet::new(); in test_pselect_nfds2() localVariable 37 fd_set.insert(r1); in test_pselect_nfds2() 38 fd_set.insert(r2); in test_pselect_nfds2() 45 &mut fd_set, in test_pselect_nfds2() [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | SelectHelper.cpp | 132 fd_set *read_fdset_ptr = nullptr; in Select() 133 fd_set *write_fdset_ptr = nullptr; in Select() 134 fd_set *error_fdset_ptr = nullptr; in Select() 137 llvm::SmallVector<fd_set, 1> read_fdset; in Select() 138 llvm::SmallVector<fd_set, 1> write_fdset; in Select() 139 llvm::SmallVector<fd_set, 1> error_fdset; in Select() 153 for (auto &fd_set : read_fdset) in Select() local 154 FD_ZERO(&fd_set); in Select() 155 for (auto &fd_set : write_fdset) in Select() local 156 FD_ZERO(&fd_set); in Select() [all …]
|
/external/curl/lib/ |
D | select.h | 76 fd_set *fds_read, 77 fd_set *fds_write, 78 fd_set *fds_err, 93 int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes, 94 fd_set* excepts, struct timeval *tv);
|
D | select.c | 145 fd_set *fds_read, /* sockets ready for reading */ in Curl_select() 146 fd_set *fds_write, /* sockets ready for writing */ in Curl_select() 147 fd_set *fds_err, /* sockets with errors */ in Curl_select() 331 fd_set fds_read; in Curl_poll() 332 fd_set fds_write; in Curl_poll() 333 fd_set fds_err; in Curl_poll() 460 int tpf_select_libcurl(int maxfds, fd_set *reads, fd_set *writes, in tpf_select_libcurl() 461 fd_set *excepts, struct timeval *tv) in tpf_select_libcurl()
|
D | warnless.h | 87 int curlx_FD_ISSET(int fd, fd_set *fdset); 89 void curlx_FD_SET(int fd, fd_set *fdset); 91 void curlx_FD_ZERO(fd_set *fdset);
|
/external/libevent/ |
D | select.c | 82 fd_set *event_readset_in; 83 fd_set *event_writeset_in; 84 fd_set *event_readset_out; 85 fd_set *event_writeset_out; 147 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch() 214 fd_set *readset_in = NULL; in select_resize() 215 fd_set *writeset_in = NULL; in select_resize()
|
/external/libcups/cups/ |
D | backchannel.c | 29 static void cups_setup(fd_set *set, struct timeval *tval, 48 fd_set input; /* Input set */ in cupsBackChannelRead() 100 fd_set output; /* Output set */ in cupsBackChannelWrite() 172 cups_setup(fd_set *set, /* I - Set for select() */ in cups_setup()
|
/external/ppp/pppd/plugins/radius/ |
D | util.c | 61 select(0,(fd_set *)NULL,(fd_set *)NULL,(fd_set *)NULL, &tv); in rc_mdelay()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_nowarn.h | 36 int aresx_FD_ISSET(int fd, fd_set *fdset); 38 void aresx_FD_SET(int fd, fd_set *fdset); 40 void aresx_FD_ZERO(fd_set *fdset);
|
/external/curl/tests/libtest/ |
D | lib560.c | 76 fd_set fdread; in test() 77 fd_set fdwrite; in test() 78 fd_set fdexcep; in test()
|
D | lib507.c | 58 fd_set fdread; in test() 59 fd_set fdwrite; in test() 60 fd_set fdexcep; in test()
|
D | lib575.c | 80 fd_set fdread; in test() 81 fd_set fdwrite; in test() 82 fd_set fdexcep; in test()
|
D | lib1501.c | 62 fd_set fdread; in test() 63 fd_set fdwrite; in test() 64 fd_set fdexcep; in test()
|
D | lib597.c | 70 fd_set fdread; in test() 71 fd_set fdwrite; in test() 72 fd_set fdexcep; in test()
|
D | lib1502.c | 97 fd_set fdread; in test() 98 fd_set fdwrite; in test() 99 fd_set fdexcep; in test()
|
D | lib591.c | 89 fd_set fdread; in test() 90 fd_set fdwrite; in test() 91 fd_set fdexcep; in test()
|
D | lib1531.c | 71 fd_set fdread; in test() 72 fd_set fdwrite; in test() 73 fd_set fdexcep; in test()
|
/external/ltp/testcases/kernel/syscalls/select/ |
D | select_var.h | 18 static int do_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval… in do_select()
|
/external/curl/docs/examples/ |
D | multi-double.c | 71 fd_set fdread; in main() 72 fd_set fdwrite; in main() 73 fd_set fdexcep; in main()
|
D | multi-formadd.c | 91 fd_set fdread; in main() 92 fd_set fdwrite; in main() 93 fd_set fdexcep; in main()
|
/external/iputils/ |
D | clockdiff.c | 131 fd_set ready; in measure() 152 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure() 215 if ((count = select(FD_SETSIZE, &ready, (fd_set *)0, in measure() 216 (fd_set *)0, &tout)) <= 0) in measure() 308 fd_set ready; in measure_opt() 328 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure_opt() 395 if ((count = select(FD_SETSIZE, &ready, (fd_set *)0, in measure_opt() 396 (fd_set *)0, &tout)) <= 0) in measure_opt()
|
/external/strace/tests-m32/ |
D | xselect.c | 103 fd_set *const rs = (void *) l_rs; in main() 107 fd_set *const ws = (void *) l_ws; in main() 111 fd_set *const es = (void *) l_es; in main() 327 static fd_set set[0x1000000 / sizeof(fd_set)]; in main() 338 const size_t big_size = sizeof(fd_set) + sizeof(long); in main() 339 fd_set *const big_rs = tail_alloc(big_size); in main() 342 fd_set *const big_ws = tail_alloc(big_size); in main()
|
/external/strace/tests-mx32/ |
D | xselect.c | 103 fd_set *const rs = (void *) l_rs; in main() 107 fd_set *const ws = (void *) l_ws; in main() 111 fd_set *const es = (void *) l_es; in main() 327 static fd_set set[0x1000000 / sizeof(fd_set)]; in main() 338 const size_t big_size = sizeof(fd_set) + sizeof(long); in main() 339 fd_set *const big_rs = tail_alloc(big_size); in main() 342 fd_set *const big_ws = tail_alloc(big_size); in main()
|
/external/strace/tests/ |
D | xselect.c | 103 fd_set *const rs = (void *) l_rs; in main() 107 fd_set *const ws = (void *) l_ws; in main() 111 fd_set *const es = (void *) l_es; in main() 327 static fd_set set[0x1000000 / sizeof(fd_set)]; in main() 338 const size_t big_size = sizeof(fd_set) + sizeof(long); in main() 339 fd_set *const big_rs = tail_alloc(big_size); in main() 342 fd_set *const big_ws = tail_alloc(big_size); in main()
|