Home
last modified time | relevance | path

Searched refs:err_string (Results 1 – 13 of 13) 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/cpython3/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()
776 err_string("terminal nodes must have 2 or 3 entries"); in build_node_children()
1222 err_string("expected variable argument trailer for varargslist"); in validate_varargslist_trailer()
1246 err_string("illegal variable argument trailer for varargslist"); in validate_varargslist_trailer()
1270 err_string("varargslist missing child nodes"); in validate_varargslist()
1351 err_string("illegal formation for varargslist"); in validate_varargslist()
1577 err_string("illegal small_stmt child type"); in validate_small_stmt()
1661 err_string("illegal augmented assignment operator"); in validate_expr_stmt()
[all …]
/external/autotest/client/site_tests/firmware_LockedME/
Dfirmware_LockedME.py91 err_string = "%s was readable by flashrom" % sectname
92 raise error.TestFail(err_string)
/external/python/cpython3/Modules/
Dparsermodule.c587 err_string(const char *message) in err_string() function
789 err_string("Error Parsing encoding_decl"); in parser_tuple2st()
800 err_string("parse tree does not use a valid start symbol"); in parser_tuple2st()
813 err_string("unspecified ST error occurred"); in parser_tuple2st()
874 err_string("terminal nodes must have 2 or 3 entries"); in build_node_children()
/external/python/cpython2/Lib/test/
Dtest_support.py370 err_string = str(e)
371 if len(err_string) > 50:
372 err_string = err_string[:50] + ' [...]'
374 err_string)
/external/python/cpython3/Lib/test/support/
D__init__.py506 err_string = str(e)
507 if len(err_string) > 50:
508 err_string = err_string[:50] + ' [...]'
510 err_string)
/external/python/cpython2/Objects/
Dlistobject.c2283 PyObject *v, *format_tuple, *err_string; in listindex() local
2315 err_string = PyString_Format(err_format, format_tuple); in listindex()
2317 if (err_string == NULL) in listindex()
2319 PyErr_SetObject(PyExc_ValueError, err_string); in listindex()
2320 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))
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp1111 std::string err_string; in ValidatePipelineDrawtimeState() local