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

/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dwince_usb.c60 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 Dwindows_common.h61 #define ERR_BUFFER_SIZE 256 macro
H A Dwindows_usb.c151 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