Home
last modified time | relevance | path

Searched refs:intr_name_size (Results 1 – 1 of 1) sorted by relevance

/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp219 unsigned long intr_name_size = 0; in TestInterfaceName() local
222 if (AdbGetInterfaceName(interface_handle, NULL, &intr_name_size, true)) { in TestInterfaceName()
233 if (intr_name_size == 0) { in TestInterfaceName()
239 const size_t buf_size = intr_name_size + 16; // extra in case of overwrite in TestInterfaceName()
249 if (!AdbGetInterfaceName(interface_handle, buf, &intr_name_size, true)) { in TestInterfaceName()
254 if (buf[intr_name_size - 1] != '\0') { in TestInterfaceName()
259 for (size_t i = intr_name_size; i < buf_size; ++i) { in TestInterfaceName()