Searched refs:newlength (Results 1 – 1 of 1) sorted by relevance
704 int newlength, oldlength = *length; in usb_try_string_workarounds() local706 for (newlength = 2; newlength + 1 < oldlength; newlength += 2) in usb_try_string_workarounds()707 if (!isprint(buf[newlength]) || buf[newlength + 1]) in usb_try_string_workarounds()710 if (newlength > 2) { in usb_try_string_workarounds()711 buf[0] = newlength; in usb_try_string_workarounds()712 *length = newlength; in usb_try_string_workarounds()