Home
last modified time | relevance | path

Searched refs:pfds (Results 201 – 225 of 665) sorted by relevance

12345678910>>...27

/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/runtime/
H A Dnetpoll_aix.go166 var pfds [128]pollfd
175 nfound := pollset_poll(ps, &pfds[0], int32(len(pfds)), timeout)
185 pfd := &pfds[i]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/runtime/
H A Dnetpoll_aix.go166 var pfds [128]pollfd
175 nfound := pollset_poll(ps, &pfds[0], int32(len(pfds)), timeout)
185 pfd := &pfds[i]
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/IOS/Network/
H A DSocket.cpp769 auto& pfds = pcmd.wii_fds; in UpdatePollCommands() local
773 if (pfds[0].revents & error_event) in UpdatePollCommands()
775 ret = static_cast<int>(pfds.size()); in UpdatePollCommands()
782 std::vector<int> original_order(pfds.size()); in UpdatePollCommands()
792 std::swap(pfds[i], pfds[original_order[i]]); in UpdatePollCommands()
795 ret = poll(pfds.data(), n_valid, 0); in UpdatePollCommands()
801 std::swap(pfds[i], pfds[original_order[i]]); in UpdatePollCommands()
808 for (u32 i = 0; i < pfds.size(); ++i) in UpdatePollCommands()
810 const int revents = ConvertEvents(pfds[i].revents, ConvertDirection::NativeToWii); in UpdatePollCommands()
817 revents, pfds[i].events, pfds[i].revents); in UpdatePollCommands()
/dports/mail/fdm/fdm-2.0/
H A Dio.c134 struct pollfd *pfds; in io_polln() local
139 pfds = xcalloc(n, sizeof *pfds); in io_polln()
144 switch (io_before_poll(io, &pfds[i])) { in io_polln()
147 xfree(pfds); in io_polln()
155 error = poll(pfds, n, timeout); in io_polln()
158 xfree(pfds); in io_polln()
183 if (io_after_poll(io, &pfds[i]) == -1) in io_polln()
187 xfree(pfds); in io_polln()
193 xfree(pfds); in io_polln()
/dports/archivers/maxcso/maxcso-1.10.0/libuv/src/unix/
H A Dos390-syscalls.c273 struct pollfd* pfds; in epoll_wait() local
278 pfds = lst->items; in epoll_wait()
279 pollret = poll(pfds, size, timeout); in epoll_wait()
290 if (pfds[i].fd == -1 || pfds[i].revents == 0) in epoll_wait()
293 ev.fd = pfds[i].fd; in epoll_wait()
294 ev.events = pfds[i].revents; in epoll_wait()
/dports/audio/alsa-utils/alsa-utils-1.2.2/alsactl/
H A Ddaemon.c42 int pfds; member
117 card->pfds = snd_ctl_poll_descriptors_count(card->handle); in add_card()
118 if (card->pfds < 0) { in add_card()
394 pcount += cards[i]->pfds; in state_daemon()
410 if (k != cards[i]->pfds) { in state_daemon()
428 pfd + j, cards[i]->pfds, &revents); in state_daemon()
433 j += cards[i]->pfds; in state_daemon()
/dports/benchmarks/fio/fio-3.29/engines/
H A Dlibiscsi.c36 struct pollfd *pfds; member
143 iscsi_info->pfds[i].fd = iscsi_get_fd(iscsi_lun->iscsi); in fio_iscsi_setup_lun()
174 iscsi_info->pfds = calloc(iscsi_info->nr_luns, sizeof(struct pollfd)); in fio_iscsi_setup()
215 free(iscsi_info->pfds); in fio_iscsi_cleanup()
349 iscsi_info->pfds[i].events = events; in fio_iscsi_getevents()
352 ret = poll(iscsi_info->pfds, iscsi_info->nr_luns, -1); in fio_iscsi_getevents()
364 iscsi_info->pfds[i].revents); in fio_iscsi_getevents()
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/lib/
H A Dbnet_server_tcp.cc279 struct pollfd* pfds = (struct pollfd*)alloca(sizeof(struct pollfd) local
281 memset(pfds, 0, sizeof(struct pollfd) * number_of_filedescriptors);
298 pfds[i].fd = fd_ptr->fd;
299 pfds[i].events = events;
342 int status = poll(pfds, number_of_filedescriptors, timeout_ms);
356 if (pfds[cnt++].revents & events) {
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/lib/
H A Dbnet_server_tcp.cc279 struct pollfd* pfds = (struct pollfd*)alloca(sizeof(struct pollfd) local
281 memset(pfds, 0, sizeof(struct pollfd) * number_of_filedescriptors);
298 pfds[i].fd = fd_ptr->fd;
299 pfds[i].events = events;
342 int status = poll(pfds, number_of_filedescriptors, timeout_ms);
356 if (pfds[cnt++].revents & events) {
/dports/sysutils/bareos-server/bareos-Release-20.0.3/core/src/lib/
H A Dbnet_server_tcp.cc279 struct pollfd* pfds = (struct pollfd*)alloca(sizeof(struct pollfd) local
281 memset(pfds, 0, sizeof(struct pollfd) * number_of_filedescriptors);
298 pfds[i].fd = fd_ptr->fd;
299 pfds[i].events = events;
342 int status = poll(pfds, number_of_filedescriptors, timeout_ms);
356 if (pfds[cnt++].revents & events) {
/dports/www/bareos-webui/bareos-Release-20.0.3/core/src/lib/
H A Dbnet_server_tcp.cc279 struct pollfd* pfds = (struct pollfd*)alloca(sizeof(struct pollfd) local
281 memset(pfds, 0, sizeof(struct pollfd) * number_of_filedescriptors);
298 pfds[i].fd = fd_ptr->fd;
299 pfds[i].events = events;
342 int status = poll(pfds, number_of_filedescriptors, timeout_ms);
356 if (pfds[cnt++].revents & events) {
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c169 struct pollfd pfds[1]; in handle_ep0() local
170 pfds[0].fd = ep0; in handle_ep0()
171 pfds[0].events = POLLIN; in handle_ep0()
173 ret = poll(pfds, 1, 0); in handle_ep0()
175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c169 struct pollfd pfds[1]; in handle_ep0() local
170 pfds[0].fd = ep0; in handle_ep0()
171 pfds[0].events = POLLIN; in handle_ep0()
173 ret = poll(pfds, 1, 0); in handle_ep0()
175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/dports/devel/libepoll-shim/epoll-shim-0.0.20210418/src/
H A Depoll.c189 struct pollfd *pfds = malloc(size); in epollfd_ctx_wait_or_block() local
190 if (!pfds) { in epollfd_ctx_wait_or_block()
196 epollfd_ctx_fill_pollfds(epollfd, pfds); in epollfd_ctx_wait_or_block()
213 int n = ppoll(pfds, nfds, timeout, sigs); in epollfd_ctx_wait_or_block()
218 free(pfds); in epollfd_ctx_wait_or_block()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c169 struct pollfd pfds[1]; in handle_ep0() local
170 pfds[0].fd = ep0; in handle_ep0()
171 pfds[0].events = POLLIN; in handle_ep0()
173 ret = poll(pfds, 1, 0); in handle_ep0()
175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/dports/databases/libdrizzle-redux/libdrizzle-5.1.4/libdrizzle/
H A Ddrizzle.cc267 con->pfds[0].fd= con->fd; in drizzle_wait()
268 con->pfds[0].events= con->events; in drizzle_wait()
269 con->pfds[0].revents= 0; in drizzle_wait()
282 ret= poll(con->pfds, 1, con->timeout); in drizzle_wait()
307 return drizzle_set_revents(con, con->pfds[0].revents); in drizzle_wait()
/dports/www/firefox/firefox-99.0/mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/
H A DGeckoServiceChildProcess.java84 final ParcelFileDescriptors pfds = in start() local
103 pfds.close(); in start()
108 pfds.close(); in start()
115 final FileDescriptors fds = pfds.detach(); in start()
/dports/audio/drumstick/drumstick-2.5.0/library/alsa/
H A Dalsaclient.cpp996 pollfd* pfds = nullptr; in output() local
1001 pfds = (pollfd*) calloc(npfds, sizeof(pollfd)); in output()
1005 poll(pfds, npfds, timeout); in output()
1007 free(pfds); in output()
1028 pollfd* pfds = (pollfd*) calloc(npfds, sizeof(pollfd)); in outputDirect() local
1032 poll(pfds, npfds, timeout); in outputDirect()
1034 free(pfds); in outputDirect()
1069 pollfd* pfds = (pollfd*) calloc(npfds, sizeof(pollfd)); in drainOutput() local
1073 poll(pfds, npfds, timeout); in drainOutput()
1075 free(pfds); in drainOutput()
[all …]
/dports/audio/lash/lash-0.5.4/clients/synth/
H A Dsynth.c276 struct pollfd *pfds; in synth_main() local
287 pfds = (struct pollfd *)alloca(sizeof(struct pollfd) * seq_nfds); in synth_main()
288 snd_seq_poll_descriptors(seq_handle, pfds, seq_nfds, POLLIN); in synth_main()
293 if (poll(pfds, seq_nfds, 1000) > 0) { in synth_main()
295 if (pfds[l1].revents > 0) in synth_main()
/dports/lang/mono/mono-5.10.1.57/mono/metadata/
H A Dw32socket.c1304 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Poll_internal()
1317 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Poll_internal()
1349 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Poll_internal()
1353 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Poll_internal()
1789 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
1800 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
1813 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
1844 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
1849 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
1858 g_free (pfds); in ves_icall_System_Net_Sockets_Socket_Select_internal()
[all …]
/dports/audio/alsa-lib/alsa-lib-1.2.2/src/timer/
H A Dtimer.c352 int snd_timer_poll_descriptors(snd_timer_t *timer, struct pollfd *pfds, unsigned int space) in snd_timer_poll_descriptors() argument
356 pfds->fd = timer->poll_fd; in snd_timer_poll_descriptors()
359 pfds->events = POLLOUT|POLLERR|POLLNVAL; in snd_timer_poll_descriptors()
362 pfds->events = POLLIN|POLLERR|POLLNVAL; in snd_timer_poll_descriptors()
365 pfds->events = POLLOUT|POLLIN|POLLERR|POLLNVAL; in snd_timer_poll_descriptors()
383 int snd_timer_poll_descriptors_revents(snd_timer_t *timer, struct pollfd *pfds, unsigned int nfds, … in snd_timer_poll_descriptors_revents() argument
385 assert(timer && pfds && revents); in snd_timer_poll_descriptors_revents()
387 *revents = pfds->revents; in snd_timer_poll_descriptors_revents()
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/mpi/pmix/
H A Dpmixp_agent.c265 struct pollfd pfds[1]; in _pmix_timer_thread() local
269 pfds[0].fd = timer_data.stop_in; in _pmix_timer_thread()
270 pfds[0].events = POLLIN; in _pmix_timer_thread()
280 int ret = poll(pfds, 1, 1000); in _pmix_timer_thread()
/dports/sysutils/pdsh/pdsh-pdsh-2.34/src/pdsh/
H A Dprivsep.c87 int pfds[2]; in create_socketpair() local
89 if (socketpair (AF_UNIX, SOCK_STREAM, 0, pfds) < 0) { in create_socketpair()
94 client_fd = pfds[0]; in create_socketpair()
95 server_fd = pfds[1]; in create_socketpair()
/dports/devel/dbus/dbus-1.12.20/dbus/
H A Ddbus-spawn.c1189 DBusPollFD pfds[2]; in babysit() local
1191 pfds[0].fd = parent_pipe; in babysit()
1192 pfds[0].events = _DBUS_POLLIN; in babysit()
1193 pfds[0].revents = 0; in babysit()
1195 pfds[1].fd = sigchld_pipe[READ_END]; in babysit()
1196 pfds[1].events = _DBUS_POLLIN; in babysit()
1197 pfds[1].revents = 0; in babysit()
1199 if (_dbus_poll (pfds, _DBUS_N_ELEMENTS (pfds), -1) < 0 && errno != EINTR) in babysit()
1205 if (pfds[0].revents != 0) in babysit()
1207 check_babysit_events (grandchild_pid, parent_pipe, pfds[0].revents); in babysit()
[all …]
/dports/audio/bristol/bristol-0.60.10/libbristolaudio/
H A DaudioEngineALSA.c153 struct pollfd *pfds; in alsaChannelConfigure() local
300 pfds = (struct pollfd *) bristolmalloc(sizeof (struct pollfd) * nfds); in alsaChannelConfigure()
301 snd_pcm_poll_descriptors(*handle, pfds, nfds); in alsaChannelConfigure()
305 audioDev->fd2 = pfds[0].fd; in alsaChannelConfigure()
309 audioDev->fd = pfds[0].fd; in alsaChannelConfigure()
314 bristolfree(pfds); in alsaChannelConfigure()

12345678910>>...27