Home
last modified time | relevance | path

Searched refs:num_pollfds (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dcras_server.c455 unsigned int num_pollfds, poll_size_needed; in cras_server_run() local
557 num_pollfds = 1; in cras_server_run()
560 pollfds[num_pollfds].fd = elm->fd; in cras_server_run()
561 pollfds[num_pollfds].events = POLLIN; in cras_server_run()
562 elm->pollfd = &pollfds[num_pollfds]; in cras_server_run()
563 num_pollfds++; in cras_server_run()
568 pollfds[num_pollfds].fd = client_cb->select_fd; in cras_server_run()
569 pollfds[num_pollfds].events = POLLIN; in cras_server_run()
570 client_cb->pollfd = &pollfds[num_pollfds]; in cras_server_run()
571 num_pollfds++; in cras_server_run()
[all …]
Daudio_thread.c848 thread->pollfds[thread->num_pollfds].fd = fd; in add_pollfd()
850 thread->pollfds[thread->num_pollfds].events = POLLOUT; in add_pollfd()
852 thread->pollfds[thread->num_pollfds].events = POLLIN; in add_pollfd()
853 thread->num_pollfds++; in add_pollfd()
854 if (thread->num_pollfds >= thread->pollfds_size) { in add_pollfd()
863 return &thread->pollfds[thread->num_pollfds - 1]; in add_pollfd()
916 thread->num_pollfds = 1; in audio_io_thread()
927 thread->num_pollfds = 1; in audio_io_thread()
970 rc = ppoll(thread->pollfds, thread->num_pollfds, wait_ts, NULL); in audio_io_thread()
Daudio_thread.h44 size_t num_pollfds; member
/external/adhd/cras/src/libcras/
Dcras_client.c1978 unsigned int num_pollfds, i; in client_thread() local
1985 num_pollfds = 0; in client_thread()
1989 cbs[num_pollfds] = sock_file_wait_dispatch; in client_thread()
1990 pollfds[num_pollfds].fd = rc; in client_thread()
1991 pollfds[num_pollfds].events = POLLIN; in client_thread()
1992 pollfds[num_pollfds].revents = 0; in client_thread()
1993 num_pollfds++; in client_thread()
1998 cbs[num_pollfds] = server_fd_dispatch; in client_thread()
1999 server_fill_pollfd(client, &(pollfds[num_pollfds])); in client_thread()
2000 num_pollfds++; in client_thread()
[all …]
/external/libcups/cups/
Dhttp-support.c130 static int http_poll_cb(struct pollfd *pollfds, unsigned int num_pollfds,
2467 unsigned int num_pollfds, /* I - Number of file descriptors */ in http_poll_cb() argument
2474 return (poll(pollfds, num_pollfds, 2000)); in http_poll_cb()
Ddest.c213 unsigned int num_pollfds,
3033 unsigned int num_pollfds, /* I - Number of file descriptors */ in cups_dnssd_poll_cb() argument
3042 …poll_cb(pollfds=%p, num_pollfds=%d, timeout=%d, context=%p)", pollfds, num_pollfds, timeout, conte… in cups_dnssd_poll_cb()
3046 val = poll(pollfds, num_pollfds, _CUPS_DNSSD_MAXTIME); in cups_dnssd_poll_cb()