/external/qemu/audio/ |
alsaaudio.c | 90 DYNLINK_FUNC(int,snd_pcm_poll_descriptors_revents,(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)) \ 92 DYNLINK_FUNC(int,snd_pcm_poll_descriptors,(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space)) \ 110 struct pollfd *pfds; member in struct:pollhlp 205 struct pollfd *pfds = hlp->pfds; local 207 if (pfds) { 209 qemu_set_fd_handler (pfds[i].fd, NULL, NULL, NULL); 211 qemu_free (pfds); 213 hlp->pfds = NULL; 260 count = poll (hlp->pfds, hlp->count, 0) 316 struct pollfd *pfds; local [all...] |
/frameworks/base/core/java/android/os/ |
ParcelFileDescriptor.java | 216 ParcelFileDescriptor[] pfds = new ParcelFileDescriptor[2]; local 217 pfds[0] = new ParcelFileDescriptor(fds[0]); 218 pfds[1] = new ParcelFileDescriptor(fds[1]); 219 return pfds;
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
control_external.h | 233 int (*poll_descriptors)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int space); 237 int (*poll_revents)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
hwdep.h | 99 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space); 100 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
rawmidi.h | 88 int snd_rawmidi_poll_descriptors(snd_rawmidi_t *rmidi, struct pollfd *pfds, unsigned int space); 89 int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t *rawmidi, struct pollfd *pfds, unsigned int nfds, unsigned short *revent);
|
timer.h | 155 int snd_timer_poll_descriptors(snd_timer_t *handle, struct pollfd *pfds, unsigned int space); 156 int snd_timer_poll_descriptors_revents(snd_timer_t *timer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
control.h | 229 int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space); 230 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 493 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space); 494 int snd_hctl_poll_descriptors_revents(snd_hctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
mixer.h | 107 int snd_mixer_poll_descriptors(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int space); 108 int snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
seq.h | 93 int snd_seq_poll_descriptors(snd_seq_t *handle, struct pollfd *pfds, unsigned int space, short events); 94 int snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
pcm.h | 407 int snd_pcm_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space); 408 int snd_pcm_poll_descriptors_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); [all...] |
/external/dbus/dbus/ |
dbus-spawn.c | 1059 DBusPollFD pfds[2]; local 1061 pfds[0].fd = parent_pipe; 1062 pfds[0].events = _DBUS_POLLIN; 1063 pfds[0].revents = 0; 1065 pfds[1].fd = sigchld_pipe[READ_END]; 1066 pfds[1].events = _DBUS_POLLIN; 1067 pfds[1].revents = 0; 1069 if (_dbus_poll (pfds, _DBUS_N_ELEMENTS (pfds), -1) < 0 && errno != EINTR) 1075 if (pfds[0].revents != 0 [all...] |
/external/blktrace/ |
blktrace.c | 159 * of these. The ios array contains input/output information, pfds holds 166 struct pollfd *pfds; member in struct:tracer 231 struct pollfd *pfds; member in struct:net_server_s [all...] |
/external/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 781 struct pollfd *pfds, unsigned int nfds, 784 assert(pfds && nfds == 1 && revents); 786 *revents = pfds[0].revents; 819 struct pollfd *pfds, unsigned int nfds, 826 assert(pfds); 829 assert(pfds[0].fd >= 0); 830 assert(pfds[1].fd >= 0); 833 if (read(pfds[0].fd, buf, 1) < 0) 836 if (pfds[1].revents & (POLLERR | POLLHUP | POLLNVAL)) 839 *revents = (pfds[0].revents & POLLIN) ? POLLOUT : 0 [all...] |