Searched refs:buf_size (Results 1 – 1 of 1) sorted by relevance
126 unsigned long buf_size = sizeof(buf); in TestEnumInterfaces() local131 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() local178 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() local240 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 …]