Lines Matching refs:interface_name
65 wchar_t* interface_name; member
111 usb_handle* do_usb_open(const wchar_t* interface_name);
133 if ((nullptr != usb->interface_name) && (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked()
159 if (known_device_locked(handle->interface_name)) { in register_new_device()
258 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
269 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
303 ret->interface_name = (wchar_t*)malloc(name_len * sizeof(ret->interface_name[0])); in do_usb_open()
304 if (nullptr == ret->interface_name) { in do_usb_open()
310 if (!AdbGetInterfaceName(ret->adb_interface, ret->interface_name, &name_len, false)) { in do_usb_open()
437 if (nullptr != handle->interface_name) free(handle->interface_name); in usb_cleanup_handle()
445 handle->interface_name = nullptr; in usb_cleanup_handle()