Lines Matching refs:vendor
250 unsigned char vendor[9];
280 get_scsi_inquiry_vendor ((char *) buffer, (char *) vendor);
284 pp = &vendor[7];
285 vendor[8] = '\0';
286 while (pp >= vendor && (*pp == ' ' || *pp >= 127))
302 vendor, product, version, devicename);
354 SANE_Word vendor, product;
385 result = sanei_usb_get_vendor_product (fd, &vendor, &product);
389 printf (" open ok, vendor and product ids were identified\n");
390 printf ("found possible USB scanner (vendor=0x%04x, "
391 "product=0x%04x) at %s\n", vendor, product, file_name);
396 printf (" open ok, but vendor and product could NOT be "
398 printf ("found possible USB scanner (UNKNOWN vendor and "
495 char *vendor;
507 vendor = get_libusb_vendor (dev);
520 if (vendor || product)
522 printf (" (%s%s%s)", vendor ? vendor : "",
523 (vendor && product) ? " " : "", product ? product : "");
539 (vendor) ? vendor : "");
682 printf ("found possible USB scanner (vendor=0x%04x",
684 if (vendor)
685 printf (" [%s]", vendor);
700 if (vendor)
701 free (vendor);
827 char *vendor;
875 vendor = get_libusb_string_descriptor (hdl, desc.iManufacturer);
887 if (vendor || product)
889 printf (" (%s%s%s)", (vendor) ? vendor : "",
890 (vendor && product) ? " " : "", (product) ? product : "");
906 (vendor) ? vendor : "");
1073 printf ("found possible USB scanner (vendor=0x%04x", vid);
1074 if (vendor)
1075 printf (" [%s]", vendor);
1094 if (vendor)
1095 free (vendor);
2065 (" # `UNKNOWN vendor and product' means that there seems to be a "
2066 "scanner at this\n # device file but the vendor and product ids "