Lines Matching defs:usb
36 #include "usb.h"
89 int test_null(Transport* usb)
98 if (usb->Write(buf, arg_size) != static_cast<int>(arg_size)) {
108 int test_zero(Transport* usb)
116 if (usb->Read(buf, arg_size) != static_cast<int>(arg_size)) {
130 int (*test)(Transport* usb);
180 Transport* usb;
193 usb = usb_open(tests[i].match);
195 if(usb == 0) {
200 if(tests[i].test(usb)) {