Searched refs:ascii_string (Results 1 – 1 of 1) sorted by relevance
538 char* ascii_string = NULL; in usb_device_get_string() local541 if (usb_device_get_string_ucs2(device, id, timeout, (void**)&ascii_string, &raw_string_len) < 0) in usb_device_get_string()543 if (ascii_string == NULL) return NULL; in usb_device_get_string()546 char lower = ascii_string[2 * i]; in usb_device_get_string()547 char upper = ascii_string[2 * i + 1]; in usb_device_get_string()549 ascii_string[i] = '?'; in usb_device_get_string()551 ascii_string[i] = lower; in usb_device_get_string()554 ascii_string[i] = '\0'; in usb_device_get_string()555 return ascii_string; in usb_device_get_string()