Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 2 of 2) sorted by relevance

/development/host/windows/usb/winusb/
Dadb_winusb_interface.cpp197 unsigned long str_len = (ser_num->bLength - in GetSerialNumber() local
202 if ((NULL == buffer) || (*buffer_char_size < (str_len + 1))) { in GetSerialNumber()
206 *buffer_char_size = str_len + 1; in GetSerialNumber()
215 static_cast<int>(str_len), in GetSerialNumber()
220 reinterpret_cast<char*>(buffer)[str_len] = '\0'; in GetSerialNumber()
228 reinterpret_cast<wchar_t*>(buffer)[str_len] = L'\0'; in GetSerialNumber()
/development/host/windows/usb/api/
Dadb_legacy_interface.cpp144 unsigned long str_len = in GetSerialNumber() local
147 if ((NULL == buffer) || (*buffer_char_size < str_len)) { in GetSerialNumber()
148 *buffer_char_size = str_len; in GetSerialNumber()
163 static_cast<int>(str_len), in GetSerialNumber()