Home
last modified time | relevance | path

Searched refs:pollfds_count (Results 1 - 2 of 2) sorted by relevance

/third_party/alsa-lib/aserver/
H A Daserver.c114 unsigned int pollfds_count = 0; variable
128 struct pollfd *pfd = &pollfds[pollfds_count]; in add_waiter()
136 pollfds_count++; in add_waiter()
145 for (k = 0; k < pollfds_count; ++k) { in del_waiter()
149 assert(k < pollfds_count); in del_waiter()
150 pollfds_count--; in del_waiter()
151 memmove(&pollfds[k], &pollfds[k + 1], pollfds_count - k); in del_waiter()
978 err = poll(pollfds, pollfds_count, -1); in server()
985 pfds_count = pollfds_count; in server()
/third_party/alsa-utils/seq/aseqnet/
H A Daseqnet.c71 static int pollfds_count = 0; variable
210 pollfds_count = seqifds_count + seqofds_count + 1 + max_connection; in init_pollfds()
211 pollfds = (struct pollfd *)calloc(pollfds_count, sizeof(struct pollfd)); in init_pollfds()
489 memset(pollfds, 0, pollfds_count * sizeof(struct pollfd)); in do_loop()

Completed in 3 milliseconds