Home
last modified time | relevance | path

Searched refs:nfds (Results 126 - 150 of 152) sorted by relevance

1234567

/third_party/eudev/src/shared/
H A Dutil.c1093 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 Dpcm_dmix.c874 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 Dpcm.c1835 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 Dpcm_direct.c751 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 Dpcm_hw.c247 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 Dpcm_multi.c125 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 Dpcm_rate.c1113 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 Dpcm_local.h189 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 Dcontrol.c345 * \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 Dcore.c952 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 Dsockets.h2190 * 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 Dlib.h368 int xpoll(struct pollfd *fds, int nfds, int timeout);
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h359 int xpoll(struct pollfd *fds, int nfds, int timeout);
/third_party/libcoap/examples/
H A Dcoap-server.c2723 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 Dseq.h85 int snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
H A Dpcm.h536 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 Dseq.c1127 * \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 Dmod.rs3784 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.c2267 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 Dcoap_gnutls.c1967 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 Dwsi_common_display.c2084 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 Dwasi.rs679 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 Dmod.rs1554 nfds: ::nfds_t, in ppoll()
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1376 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 Dmod.rs2792 nfds: ::nfds_t, in pollts()

Completed in 95 milliseconds

1234567