Home
last modified time | relevance | path

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

/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp126 unsigned long buf_size = sizeof(buf); in TestEnumInterfaces() local
131 while (AdbNextInterface(enum_handle, &interface_info, &buf_size)) { in TestEnumInterfaces()
141 buf_size = sizeof(buf); in TestEnumInterfaces()
175 unsigned long buf_size = sizeof(buf); in TestInterfaces() local
178 while (AdbNextInterface(enum_handle, &interface_info, &buf_size)) { in TestInterfaces()
180 buf_size = sizeof(buf); in TestInterfaces()
239 const size_t buf_size = intr_name_size + 16; // extra in case of overwrite in TestInterfaceName() local
240 buf = reinterpret_cast<char*>(malloc(buf_size)); in TestInterfaceName()
242 printf("\n--- could not malloc %d bytes, errno %u", buf_size, errno); in TestInterfaceName()
247 memset(buf, buf_fill, buf_size); in TestInterfaceName()
[all …]