Searched refs:ERR_BUFFER_SIZE (Results 1 – 3 of 3) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_nt_common.c | 71 static char err_string[ERR_BUFFER_SIZE]; in windows_error_str() 79 safe_sprintf(err_string, ERR_BUFFER_SIZE, "[%u] ", (unsigned int)error_code); in windows_error_str() 97 ERR_BUFFER_SIZE - (DWORD)safe_strlen(err_string), NULL); in windows_error_str() 101 safe_sprintf(err_string, ERR_BUFFER_SIZE, in windows_error_str() 105 safe_sprintf(err_string, ERR_BUFFER_SIZE, "Unknown error code %u", (unsigned int)error_code); in windows_error_str()
|
D | wince_usb.c | 47 static TCHAR wErr_string[ERR_BUFFER_SIZE]; in windows_error_str() 48 static char err_string[ERR_BUFFER_SIZE]; in windows_error_str() 56 safe_stprintf(wErr_string, ERR_BUFFER_SIZE, _T("[%u] "), (unsigned int)error_code); in windows_error_str() 60 ERR_BUFFER_SIZE - (DWORD)safe_tcslen(wErr_string), NULL); in windows_error_str() 64 safe_stprintf(wErr_string, ERR_BUFFER_SIZE, in windows_error_str() 68 …safe_stprintf(wErr_string, ERR_BUFFER_SIZE, _T("Unknown error code %u"), (unsigned int)error_code); in windows_error_str() 75 if (WideCharToMultiByte(CP_ACP, 0, wErr_string, -1, err_string, ERR_BUFFER_SIZE, NULL, NULL) < 0) in windows_error_str()
|
D | windows_common.h | 69 #define ERR_BUFFER_SIZE 256 macro
|