/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];
|
/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/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.c | 668 tmp_list = source->poll_fds; 716 tmp_list = source->poll_fds; 826 source->poll_fds = g_slist_prepend (source->poll_fds, fd); 859 source->poll_fds = g_slist_remove (source->poll_fds, fd); 1049 tmp_list = source->poll_fds; 1191 g_slist_free (source->poll_fds); 1192 source->poll_fds = NULL; [all...] |
gmain.h | 58 GSList *poll_fds; member in struct:_GSource
|