Lines Matching refs:i
91 unsigned i; in test_null() local
97 for(i = 0; i < arg_count; i++) { in test_null()
110 unsigned i; in test_zero() local
115 for(i = 0; i < arg_count; i++) { in test_zero()
142 int i; in usage() local
145 for(i = 0; tests[i].cmd; i++) { in usage()
146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); in usage()
181 int i; in main() local
191 for(i = 0; tests[i].cmd; i++) { in main()
192 if(!strcmp(argv[1], tests[i].cmd)) { in main()
193 usb = usb_open(tests[i].match); in main()
194 if(tests[i].test) { in main()
197 tests[i].cmd); in main()
200 if(tests[i].test(usb)) { in main()
201 fprintf(stderr,"usbtest: %s: FAIL\n", tests[i].cmd); in main()
204 fprintf(stderr,"usbtest: %s: OKAY\n", tests[i].cmd); in main()