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

1 2

  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorPeer.java 60 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); local
61 mLocal = pfds[0];
62 mRemote = pfds[1];
71 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); local
72 mLocal = pfds[1];
73 mRemote = pfds[0];
82 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliableSocketPair(); local
83 mLocal = pfds[0];
84 mRemote = pfds[1];
  /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...]
  /device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 95 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt));
140 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt));
210 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
212 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
218 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
335 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];
470 poll_cb->pfds[0] = 0;
471 poll_cb->pfds[1] = 0;
472 rc = pipe(poll_cb->pfds);
483 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms)
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 96 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt));
141 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt));
211 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
213 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
219 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
337 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];
472 poll_cb->pfds[0] = 0;
473 poll_cb->pfds[1] = 0;
474 rc = pipe(poll_cb->pfds);
485 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms)
    [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...]
  /external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
TestContentProvider.java 210 ParcelFileDescriptor[] pfds = null; local
214 pfds = ParcelFileDescriptor.createPipe();
215 fileOut = new FileOutputStream(pfds[1].getFileDescriptor());
218 return new AssetFileDescriptor(pfds[0], 0, -1);
221 if (pfds != null && pfds[1] != null) pfds[1].close();
  /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) {
  /external/chromium_org/content/browser/renderer_host/
render_sandbox_host_linux.cc 91 struct pollfd pfds[2]; local
92 pfds[0].fd = lifeline_fd_;
93 pfds[0].events = POLLIN;
94 pfds[1].fd = browser_socket_;
95 pfds[1].events = POLLIN;
99 const int r = HANDLE_EINTR(poll(pfds, 2, -1));
111 if (pfds[0].revents) {
116 if (pfds[1].revents) {
  /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);
  /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);
  /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);
  /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 853 milliseconds

1 2