Lines Matching defs:usb_handle
56 struct usb_handle
70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {}
78 std::unique_ptr<usb_handle> handle_;
85 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) {
277 static int try_device(io_service_t device, usb_handle *handle) {
410 static int init_usb(ifc_match_func callback, std::unique_ptr<usb_handle>* handle) {
415 usb_handle h;
463 handle->reset(new usb_handle);
464 memcpy(handle->get(), &h, sizeof(usb_handle));
484 std::unique_ptr<usb_handle> handle;