Searched refs:newlength (Results 1 – 1 of 1) sorted by relevance
861 int newlength, oldlength = *length; in usb_try_string_workarounds() local863 for (newlength = 2; newlength + 1 < oldlength; newlength += 2) in usb_try_string_workarounds()864 if (!isprint(buf[newlength]) || buf[newlength + 1]) in usb_try_string_workarounds()867 if (newlength > 2) { in usb_try_string_workarounds()868 buf[0] = newlength; in usb_try_string_workarounds()869 *length = newlength; in usb_try_string_workarounds()