/external/chromium/net/test/ |
test_server_posix.cc | 64 struct pollfd poll_fds[1]; local 66 poll_fds[0].fd = fd; 67 poll_fds[0].events = POLLIN | POLLPRI; 68 poll_fds[0].revents = 0; 70 int rv = HANDLE_EINTR(poll(poll_fds, 1,
|
/external/bluetooth/glib/tests/ |
timeloop-basic.c | 21 static struct pollfd poll_fds[1024]; variable in typeref:struct:pollfd 139 poll_fds[pos].fd = out_fds[0]; 140 poll_fds[pos].events = POLLIN; 190 poll (poll_fds, n_active_children, -1); 194 if (poll_fds[i].events & (POLLIN | POLLHUP)) 196 if (!input_callback (poll_fds[i].fd, write_fds[i])) 210 poll_fds[j] = poll_fds[i];
|
/frameworks/base/services/common_time/ |
diag_thread.cpp | 202 struct pollfd poll_fds[1]; local 210 memset(&poll_fds, 0, sizeof(poll_fds)); 213 poll_fds[0].fd = listen_fd_; 214 poll_fds[0].events = POLLIN; 216 poll_fds[0].fd = data_fd_; 217 poll_fds[0].events = POLLRDHUP | POLLIN; 220 int poll_res = poll(poll_fds, NELEM(poll_fds), 50); 230 if (poll_fds[0].revents) [all...] |
/external/bluetooth/glib/gio/ |
gunixinputstream.c | 338 GPollFD poll_fds[2]; local 345 poll_fds[0].fd = unix_stream->priv->fd; 346 poll_fds[0].events = G_IO_IN; 347 g_cancellable_make_pollfd (cancellable, &poll_fds[1]); 349 poll_ret = g_poll (poll_fds, 2, -1);
|
gunixoutputstream.c | 324 GPollFD poll_fds[2]; local 331 poll_fds[0].fd = unix_stream->priv->fd; 332 poll_fds[0].events = G_IO_OUT; 333 g_cancellable_make_pollfd (cancellable, &poll_fds[1]); 335 poll_ret = g_poll (poll_fds, 2, -1);
|
/external/bluetooth/glib/glib/ |
gmain.h | 58 GSList *poll_fds; member in struct:_GSource
|
/frameworks/av/media/libaah_rtp/ |
aah_rx_player_core.cpp | 223 struct pollfd poll_fds[2]; local 254 memset(&poll_fds, 0, sizeof(poll_fds)); 255 poll_fds[0].fd = wakeup_work_thread_evt_.getWakeupHandle(); 256 poll_fds[0].events = POLLIN; 259 poll_fds[1].fd = sock_fd_; 260 poll_fds[1].events = POLLIN; 263 int poll_res = poll(poll_fds, NELEM(poll_fds), timeout); 282 if (poll_fds[1].revents) [all...] |