Searched refs:newlength (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/usb/core/
H A Dmessage.c706 int newlength, oldlength = *length; usb_try_string_workarounds() local
708 for (newlength = 2; newlength + 1 < oldlength; newlength += 2) usb_try_string_workarounds()
709 if (!isprint(buf[newlength]) || buf[newlength + 1]) usb_try_string_workarounds()
712 if (newlength > 2) { usb_try_string_workarounds()
713 buf[0] = newlength; usb_try_string_workarounds()
714 *length = newlength; usb_try_string_workarounds()

Completed in 46 milliseconds