Home
last modified time | relevance | path

Searched refs:pollfds_size (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Dcras_server.c454 unsigned int pollfds_size = 32; in cras_server_run() local
457 pollfds = malloc(sizeof(*pollfds) * pollfds_size); in cras_server_run()
549 if (poll_size_needed > pollfds_size) { in cras_server_run()
550 pollfds_size = 2 * poll_size_needed; in cras_server_run()
552 sizeof(*pollfds) * pollfds_size); in cras_server_run()
Daudio_thread.h43 size_t pollfds_size; member
Daudio_thread.c854 if (thread->num_pollfds >= thread->pollfds_size) { in add_pollfd()
855 thread->pollfds_size *= 2; in add_pollfd()
859 thread->pollfds_size); in add_pollfd()
1244 thread->pollfds_size = 32; in audio_thread_create()
1247 * thread->pollfds_size); in audio_thread_create()