Searched refs:ERR_BUFFER_SIZE (Results 1 - 3 of 3) sorted by relevance
/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | wince_usb.c | 60 static TCHAR wErr_string[ERR_BUFFER_SIZE]; 61 static char err_string[ERR_BUFFER_SIZE]; 69 safe_stprintf(wErr_string, ERR_BUFFER_SIZE, _T("[%d] "), error_code); 73 ERR_BUFFER_SIZE - (DWORD)safe_tcslen(wErr_string), NULL); 77 safe_stprintf(wErr_string, ERR_BUFFER_SIZE, 80 safe_stprintf(wErr_string, ERR_BUFFER_SIZE, _T("Unknown error code %u"), error_code); 87 if (WideCharToMultiByte(CP_ACP, 0, wErr_string, -1, err_string, ERR_BUFFER_SIZE, NULL, NULL) < 0)
|
H A D | windows_common.h | 61 #define ERR_BUFFER_SIZE 256 macro
|
H A D | windows_usb.c | 151 static char err_string[ERR_BUFFER_SIZE]; 159 safe_sprintf(err_string, ERR_BUFFER_SIZE, "[%u] ", error_code); 163 ERR_BUFFER_SIZE - (DWORD)safe_strlen(err_string), NULL); 167 safe_sprintf(err_string, ERR_BUFFER_SIZE, 170 safe_sprintf(err_string, ERR_BUFFER_SIZE, "Unknown error code %u", error_code);
|
Completed in 280 milliseconds