Home
last modified time | relevance | path

Searched refs:ERR_BUFFER_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/libusb/libusb/os/
Dwindows_nt_common.c71 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()
Dwince_usb.c47 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()
Dwindows_common.h69 #define ERR_BUFFER_SIZE 256 macro