HomeSort by relevance Sort by last modified time
    Searched refs:pfds (Results 1 - 25 of 34) sorted by null

1 2

  /device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
mm_camera_thread.c 80 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt));
116 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
118 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
123 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
222 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];
306 poll_cb->pfds[0] = 0;
307 poll_cb->pfds[1] = 0;
308 rc = pipe(poll_cb->pfds);
318 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms)
    [all...]
  /device/lge/mako/camera/mm-camera-interface/
mm_camera_poll_thread.c 83 len = write(poll_cb->data.pfds[1], &cmd_evt, sizeof(cmd_evt));
156 read_len = read(poll_cb->data.pfds[0], &cmd_evt, sizeof(cmd_evt));
158 __func__, poll_cb->data.pfds[0], (int)read_len, (int)sizeof(cmd_evt));
222 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd));
248 poll_cb->data.pfds[0], poll_cb->data.pfds[1]);
250 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd));
290 poll_cb->data.poll_fd[poll_cb->data.num_fds++] = poll_cb->data.pfds[0];
352 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd));
373 len = write(poll_cb->data.pfds[1], &cmd, sizeof(cmd))
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_sock_thread.c 494 static void process_data_sock(int h, struct pollfd *pfds, int count)
500 if(pfds[i].revents)
503 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd.fd);
507 print_events(pfds[i].revents);
508 if(IS_READ(pfds[i].revents))
512 if(IS_WRITE(pfds[i].revents))
516 if(IS_EXCEPTION(pfds[i].revents))
525 ts[h].callback(pfds[i].fd, type, flags, user_id);
530 static void prepare_poll_fds(int h, struct pollfd* pfds)
536 memset(pfds, 0, sizeof(pfds[0])*ts[h].poll_count)
557 struct pollfd pfds[MAX_POLL]; local
    [all...]
  /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 217 ParcelFileDescriptor[] pfds = new ParcelFileDescriptor[2]; local
218 pfds[0] = new ParcelFileDescriptor(fds[0]);
219 pfds[1] = new ParcelFileDescriptor(fds[1]);
220 return pfds;
  /external/bluetooth/bluedroid/btif/co/
bta_hh_co.c 163 struct pollfd pfds[1]; local
165 pfds[0].fd = p_dev->fd;
166 pfds[0].events = POLLIN;
169 ret = poll(pfds, 1, 500);
174 if (pfds[0].revents & POLLIN) {
  /prebuilts/gcc/linux-x86/host/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);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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);
  /frameworks/base/services/common_time/
common_time_server.cpp 207 struct pollfd pfds[2]; local
215 pfds[eventCnt].fd = mWakeupThreadFD;
216 pfds[eventCnt].events = POLLIN;
217 pfds[eventCnt].revents = 0;
223 pfds[eventCnt].fd = mSocket;
224 pfds[eventCnt].events = POLLIN;
225 pfds[eventCnt].revents = 0;
236 rc = poll(pfds, eventCnt, timeout);
257 if (pfds[0].revents)
362 if ((mSocket >= 0) && (eventCnt > 1) && (pfds[1].revents))
    [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...]

Completed in 591 milliseconds

1 2