Home
last modified time | relevance | path

Searched refs:err_string (Results 1 – 12 of 12) sorted by relevance

/external/libusb/libusb/os/
Dwindows_nt_common.c71 static char err_string[ERR_BUFFER_SIZE]; in windows_error_str() local
79 safe_sprintf(err_string, ERR_BUFFER_SIZE, "[%u] ", (unsigned int)error_code); in windows_error_str()
96 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), &err_string[safe_strlen(err_string)], 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()
109 …for (i = safe_strlen(err_string) - 1; (i >= 0) && ((err_string[i] == 0x0A) || (err_string[i] == 0x… in windows_error_str()
110 err_string[i] = 0; in windows_error_str()
113 return err_string; in windows_error_str()
Dwince_usb.c48 static char err_string[ERR_BUFFER_SIZE]; in windows_error_str() local
75 if (WideCharToMultiByte(CP_ACP, 0, wErr_string, -1, err_string, ERR_BUFFER_SIZE, NULL, NULL) < 0) in windows_error_str()
76 strcpy(err_string, "Unable to convert error string"); in windows_error_str()
78 return err_string; in windows_error_str()
/external/python/cpython2/Include/
Dpyfpe.h136 #define PyFPE_START_PROTECT(err_string, leave_stmt) \ argument
138 PyErr_SetString(PyExc_FloatingPointError, err_string); \
168 #define PyFPE_START_PROTECT(err_string, leave_stmt)
/external/python/cpython2/Modules/
Dparsermodule.c549 err_string(char *message) in err_string() function
698 err_string("parse tree does not use a valid start symbol"); in parser_tuple2st()
705 err_string("unspecified ST error occurred"); in parser_tuple2st()
779 err_string("terminal nodes must have 2 or 3 entries"); in build_node_children()
1264 err_string("expected variable argument trailer for varargslist"); in validate_varargslist_trailer()
1288 err_string("illegal variable argument trailer for varargslist"); in validate_varargslist_trailer()
1312 err_string("varargslist missing child nodes"); in validate_varargslist()
1393 err_string("illegal formation for varargslist"); in validate_varargslist()
1619 err_string("illegal small_stmt child type"); in validate_small_stmt()
1703 err_string("illegal augmented assignment operator"); in validate_expr_stmt()
[all …]
/external/autotest/client/site_tests/firmware_LockedME/
Dfirmware_LockedME.py96 err_string = "%s was readable by flashrom" % sectname
97 raise error.TestFail(err_string)
/external/python/cpython3/Include/
Dpyfpe.h9 #define PyFPE_START_PROTECT(err_string, leave_stmt) argument
/external/python/cpython3/Modules/
Dparsermodule.c556 err_string(const char *message) in err_string() function
763 err_string("Error Parsing encoding_decl"); in parser_tuple2st()
773 err_string("parse tree does not use a valid start symbol"); in parser_tuple2st()
785 err_string("unspecified ST error occurred"); in parser_tuple2st()
849 err_string("terminal nodes must have 2 or 3 entries"); in build_node_children()
/external/python/cpython2/Lib/test/support/
D__init__.py385 err_string = str(e)
386 if len(err_string) > 50:
387 err_string = err_string[:50] + ' [...]'
389 err_string)
/external/python/cpython3/Lib/test/support/
D__init__.py527 err_string = str(e)
528 if len(err_string) > 50:
529 err_string = err_string[:50] + ' [...]'
531 err_string)
/external/python/cpython2/Objects/
Dlistobject.c2280 PyObject *v, *format_tuple, *err_string; in listindex() local
2312 err_string = PyString_Format(err_format, format_tuple); in listindex()
2314 if (err_string == NULL) in listindex()
2316 PyErr_SetObject(PyExc_ValueError, err_string); in listindex()
2317 Py_DECREF(err_string); in listindex()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py386 for err_string, err_count in slot_errors.items():
387 errors[err_string] += err_count
Dvalidators.py1355 for err_string, err_count in errors.items():
1357 self.log_details('%s: %d' % (err_string, err_count))