/third_party/eudev/src/shared/ |
H A D | util.c | 1093 static inline int ppoll_fallback(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts, const sigset_t *sigmask) { in ppoll_fallback() argument 1101 ready = poll(fds, nfds, timeout); in ppoll_fallback()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dmix.c | 874 static int snd_pcm_dmix_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_pcm_dmix_poll_revents() argument 879 return snd_pcm_direct_poll_revents(pcm, pfds, nfds, revents); in snd_pcm_dmix_poll_revents()
|
H A D | pcm.c | 1835 unsigned int nfds, unsigned short *revents); 1841 * \param nfds count of poll descriptors 1865 int snd_pcm_poll_descriptors_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_pcm_poll_descriptors_revents() argument 1871 err = __snd_pcm_poll_revents(pcm, pfds, nfds, revents); in snd_pcm_poll_descriptors_revents() 1877 unsigned int nfds, unsigned short *revents) in __snd_pcm_poll_revents() 1880 return pcm->fast_ops->poll_revents(pcm->fast_op_arg, pfds, nfds, revents); in __snd_pcm_poll_revents() 1881 if (nfds == 1) { in __snd_pcm_poll_revents() 1876 __snd_pcm_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) __snd_pcm_poll_revents() argument
|
H A D | pcm_direct.c | 751 int snd_pcm_direct_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 757 assert(pfds && nfds == 1 && revents);
|
H A D | pcm_hw.c | 247 static int snd_pcm_hw_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned nfds, unsigned short *revents) in snd_pcm_hw_poll_revents() argument 252 if (nfds != 2 || pfds[0].fd != hw->fd || pfds[1].fd != hw->period_timer_pfd.fd) in snd_pcm_hw_poll_revents()
|
H A D | pcm_multi.c | 125 static int snd_pcm_multi_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_pcm_multi_poll_revents() argument 129 return snd_pcm_poll_descriptors_revents(slave_0, pfds, nfds, revents); in snd_pcm_multi_poll_revents()
|
H A D | pcm_rate.c | 1113 static int snd_pcm_rate_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_pcm_rate_poll_revents() argument 1121 return snd_pcm_poll_descriptors_revents(rate->gen.slave, pfds, nfds, revents); in snd_pcm_rate_poll_revents()
|
H A D | pcm_local.h | 189 int (*poll_revents)(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); /* locked */
|
/third_party/alsa-lib/src/control/ |
H A D | control.c | 345 * \param nfds count of poll descriptors 349 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_ctl_poll_descriptors_revents() argument 353 return ctl->ops->poll_revents(ctl, pfds, nfds, revents); in snd_ctl_poll_descriptors_revents() 354 if (nfds == 1) { in snd_ctl_poll_descriptors_revents()
|
/third_party/libuv/src/unix/ |
H A D | core.c | 952 loop->nfds++; in uv__io_start() 978 assert(loop->nfds > 0); in uv__io_stop() 980 loop->nfds--; in uv__io_stop()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | sockets.h | 2190 * nfds should be set to the highest-numbered file descriptor in any of 2207 * @param[in] nfds Specifies a range of file descriptors. 2222 * - select() does not validate if nfds argument, 2252 int lwip_select(int nfds, fd_set *readfds,
|
/third_party/toybox/lib/ |
H A D | lib.h | 368 int xpoll(struct pollfd *fds, int nfds, int timeout);
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 359 int xpoll(struct pollfd *fds, int nfds, int timeout);
|
/third_party/libcoap/examples/ |
H A D | coap-server.c | 2723 int nfds = 0; in main() local 2962 nfds = coap_fd + 1; in main() 2986 result = select(nfds, &readfds, NULL, NULL, &tv); in main()
|
/third_party/alsa-lib/include/ |
H A D | seq.h | 85 int snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
H A D | pcm.h | 536 int snd_pcm_poll_descriptors_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
/third_party/alsa-lib/src/seq/ |
H A D | seq.c | 1127 * \param nfds count of poll descriptors 1133 int snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) in snd_seq_poll_descriptors_revents() argument 1136 if (nfds == 1) { in snd_seq_poll_descriptors_revents()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3784 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll() 3786 nfds: ::c_int, in select() 3823 nfds: ::c_int, in pselect() 4137 nfds: nfds_t, in ppoll()
|
/third_party/python/Modules/ |
H A D | _ssl.c | 2267 int nfds; in PySSL_select() local 2311 nfds = Py_SAFE_DOWNCAST(s->sock_fd+1, SOCKET_T, int); in PySSL_select() 2313 rc = select(nfds, NULL, &fds, NULL, &tv); in PySSL_select() 2315 rc = select(nfds, &fds, NULL, NULL, &tv); in PySSL_select()
|
/third_party/libcoap/src/ |
H A D | coap_gnutls.c | 1967 int nfds = c_session->sock.fd +1; in receive_timeout() local 1988 return select(nfds, &readfds, &writefds, &exceptfds, &tv); in receive_timeout()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_display.c | 2084 nfds_t nfds = 1; in udev_event_listener_thread() local 2092 int ret = poll(fds, nfds, -1); in udev_event_listener_thread()
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 679 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1554 nfds: ::nfds_t, in ppoll()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1376 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
H A D | mod.rs | 2792 nfds: ::nfds_t, in pollts()
|