• Home
  • Raw
  • Download

Lines Matching refs:i

79     unsigned int i;  in print_fds()  local
80 for (i=0; i<nfds; i++) in print_fds()
81 printf("%d ", ufds[i].fd); in print_fds()
239 int i; in get_bdaddr() local
240 for(i = 0; i < 6; i++) { in get_bdaddr()
242 if (*endp != ':' && i != 5) { in get_bdaddr()
313 unsigned int i; in _poll() local
322 for (i=0; i<nfds; i++) { in _poll()
323 if (ufds[i].revents) { in _poll()
324 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents); in _poll()
597 int i; in do_poll_poll_poll_shutdown() local
601 for (i=0; i<MAX_T; i++) in do_poll_poll_poll_shutdown()
602 pthread_create(&t[i], NULL, (void *)thread_poll, (void *)fd); in do_poll_poll_poll_shutdown()
608 for (i=0; i<MAX_T; i++) in do_poll_poll_poll_shutdown()
609 pthread_join(t[i], NULL); in do_poll_poll_poll_shutdown()
620 int i; in do_poll_poll_poll_close() local
624 for (i=0; i<MAX_T; i++) in do_poll_poll_poll_close()
625 pthread_create(&t[i], NULL, (void *)thread_poll, (void *)fd); in do_poll_poll_poll_close()
631 for (i=0; i<MAX_T; i++) in do_poll_poll_poll_close()
632 pthread_join(t[i], NULL); in do_poll_poll_poll_close()
641 int i; in do_read_read_read_close() local
645 for (i=0; i<MAX_T; i++) in do_read_read_read_close()
646 pthread_create(&t[i], NULL, (void *)thread_read, (void *)fd); in do_read_read_read_close()
652 for (i=0; i<MAX_T; i++) in do_read_read_read_close()
653 pthread_join(t[i], NULL); in do_read_read_read_close()
662 int i; in do_read_read_read_shutdown() local
666 for (i=0; i<MAX_T; i++) in do_read_read_read_shutdown()
667 pthread_create(&t[i], NULL, (void *)thread_read, (void *)fd); in do_read_read_read_shutdown()
673 for (i=0; i<MAX_T; i++) in do_read_read_read_shutdown()
674 pthread_join(t[i], NULL); in do_read_read_read_shutdown()
776 int i; in usage() local
780 for (i = 0; type_table[i].name; i++) { in usage()
781 printf("\t%s\n", type_table[i].name); in usage()
784 for (i = 0; action_table[i].name; i++) { in usage()
785 printf("\t%s\n", action_table[i].name); in usage()
790 int i; in main() local
797 for (i = 0; type_table[i].name; i++) { in main()
798 if (!strcmp(argv[1], type_table[i].name)) { in main()
799 type = type_table[i].type; in main()
807 for (i = 0; action_table[i].name; i++) { in main()
808 if (!strcmp(argv[2], action_table[i].name)) { in main()
810 action_table[i].name); in main()
811 return (*action_table[i].ptr)(type); in main()