Lines Matching refs:n
143 int n = 0; in removeWatch() local
148 if ((rev != NULL) && (rev->fd > n)) { in removeWatch()
149 n = rev->fd; in removeWatch()
152 nfds = n + 1; in removeWatch()
182 static void processReadReadies(fd_set * rfds, int n) in processReadReadies() argument
184 dlog("~~~~ +processReadReadies (%d) ~~~~", n); in processReadReadies()
187 for (int i = 0; (i < MAX_FD_EVENTS) && (n > 0); i++) { in processReadReadies()
194 n--; in processReadReadies()
199 dlog("~~~~ -processReadReadies (%d) ~~~~", n); in processReadReadies()
347 int n; in ril_event_loop() local
366 n = select(nfds, &rfds, NULL, NULL, ptv); in ril_event_loop()
368 dlog("~~~~ %d events fired ~~~~", n); in ril_event_loop()
369 if (n < 0) { in ril_event_loop()
380 processReadReadies(&rfds, n); in ril_event_loop()