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.c564 unsigned int pollfds_size = 32; in cras_server_run() local
567 pollfds = malloc(sizeof(*pollfds) * pollfds_size); in cras_server_run()
623 if (poll_size_needed > pollfds_size) { in cras_server_run()
624 pollfds_size = 2 * poll_size_needed; in cras_server_run()
626 sizeof(*pollfds) * pollfds_size); in cras_server_run()
Daudio_thread.h43 size_t pollfds_size; member
Daudio_thread.c752 if (thread->num_pollfds >= thread->pollfds_size) { in add_pollfd()
753 thread->pollfds_size *= 2; in add_pollfd()
756 sizeof(*thread->pollfds) * thread->pollfds_size); in add_pollfd()
1207 thread->pollfds_size = 32; in audio_thread_create()
1209 thread->pollfds_size); in audio_thread_create()