Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/
Ddecoder.py36 def errmsg(msg, doc, pos, end=None): function
84 errmsg("Unterminated string starting at", s, begin))
100 raise ValueError(errmsg(msg, s, end))
108 errmsg("Unterminated string starting at", s, begin))
115 raise ValueError(errmsg(msg, s, end))
123 raise ValueError(errmsg(msg, s, end))
129 raise ValueError(errmsg(msg, s, end))
132 raise ValueError(errmsg(msg, s, end))
172 raise ValueError(errmsg("Expecting property name", s, end))
182 raise ValueError(errmsg("Expecting : delimiter", s, end))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/
Ddecoder.py36 def errmsg(msg, doc, pos, end=None): function
73 raise ValueError(errmsg(msg, s, pos))
94 errmsg("Unterminated string starting at", s, begin))
110 raise ValueError(errmsg(msg, s, end))
118 errmsg("Unterminated string starting at", s, begin))
125 raise ValueError(errmsg(msg, s, end))
173 raise ValueError(errmsg(
184 raise ValueError(errmsg("Expecting ':' delimiter", s, end))
198 raise ValueError(errmsg("Expecting object", s, end))
213 raise ValueError(errmsg("Expecting ',' delimiter", s, end - 1))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpy_compile.py49 errmsg = tbtext.replace('File "<string>"', 'File "%s"' % file)
51 errmsg = "Sorry: %s: %s" % (exc_type_name,exc_value)
53 Exception.__init__(self,msg or errmsg,exc_type_name,exc_value,file)
58 self.msg = msg or errmsg
Durllib.py343 errcode, errmsg, headers = h.getreply()
356 return self.http_error(url, fp, errcode, errmsg, headers)
358 return self.http_error(url, fp, errcode, errmsg, headers, data)
360 def http_error(self, url, fp, errcode, errmsg, headers, data=None): argument
369 result = method(url, fp, errcode, errmsg, headers)
371 result = method(url, fp, errcode, errmsg, headers, data)
373 return self.http_error_default(url, fp, errcode, errmsg, headers)
375 def http_error_default(self, url, fp, errcode, errmsg, headers): argument
379 raise IOError, ('http error', errcode, errmsg, headers)
436 errcode, errmsg, headers = h.getreply()
[all …]
Drobotparser.py219 def http_error_default(self, url, fp, errcode, errmsg, headers): argument
222 errmsg, headers)
Dsmtplib.py368 errmsg = "\n".join(resp)
370 print>>stderr, 'reply: retcode (%s); Msg: %s' % (errcode, errmsg)
371 return errcode, errmsg
Dsmtpd.py379 errmsg = getattr(e, 'smtp_error', 'ignore')
381 refused[r] = (errcode, errmsg)
Dxmlrpclib.py239 def __init__(self, url, errcode, errmsg, headers): argument
243 self.errmsg = errmsg
248 (self.url, self.errcode, self.errmsg)
/device/google/dragon/recovery/updater/
Drecovery_updater.cpp54 retval ? retval->data.c_str() : state->errmsg.c_str()); in firmware_update()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dgetargs.c1365 convertbuffer(PyObject *arg, void **p, char **errmsg) in convertbuffer() argument
1373 *errmsg = "string or read-only buffer"; in convertbuffer()
1377 *errmsg = "string or single-segment read-only buffer"; in convertbuffer()
1381 *errmsg = "(unspecified)"; in convertbuffer()
1387 getbuffer(PyObject *arg, Py_buffer *view, char **errmsg) in getbuffer() argument
1393 *errmsg = "string or buffer"; in getbuffer()
1398 *errmsg = "convertible to a buffer"; in getbuffer()
1402 *errmsg = "contiguous buffer"; in getbuffer()
1408 count = convertbuffer(arg, &buf, errmsg); in getbuffer()
1410 *errmsg = "convertible to a buffer"; in getbuffer()
Dbltinmodule.c985 static char errmsg[] = in builtin_map() local
987 char errbuf[sizeof(errmsg) + 25]; in builtin_map()
988 PyOS_snprintf(errbuf, sizeof(errbuf), errmsg, i+2); in builtin_map()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dgetargs.c1365 convertbuffer(PyObject *arg, void **p, char **errmsg) in convertbuffer() argument
1373 *errmsg = "string or read-only buffer"; in convertbuffer()
1377 *errmsg = "string or single-segment read-only buffer"; in convertbuffer()
1381 *errmsg = "(unspecified)"; in convertbuffer()
1387 getbuffer(PyObject *arg, Py_buffer *view, char **errmsg) in getbuffer() argument
1393 *errmsg = "string or buffer"; in getbuffer()
1398 *errmsg = "convertible to a buffer"; in getbuffer()
1402 *errmsg = "contiguous buffer"; in getbuffer()
1408 count = convertbuffer(arg, &buf, errmsg); in getbuffer()
1410 *errmsg = "convertible to a buffer"; in getbuffer()
Dbltinmodule.c977 static char errmsg[] = in builtin_map() local
979 char errbuf[sizeof(errmsg) + 25]; in builtin_map()
980 PyOS_snprintf(errbuf, sizeof(errbuf), errmsg, i+2); in builtin_map()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dconnection.c48 static void _sqlite3_result_error(sqlite3_context* ctx, const char* errmsg, int len) in _sqlite3_result_error() argument
54 sqlite3_result_error(ctx, errmsg, len); in _sqlite3_result_error()
56 PyErr_SetString(pysqlite_OperationalError, errmsg); in _sqlite3_result_error()
1067 char* errmsg; in pysqlite_load_extension() local
1077 rc = sqlite3_load_extension(self->db, extension_name, 0, &errmsg); in pysqlite_load_extension()
1079 PyErr_SetString(pysqlite_OperationalError, errmsg); in pysqlite_load_extension()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c1584 const char *errmsg = ""; in PyUnicode_DecodeUTF7Stateful() local
1634 errmsg = "second surrogate missing"; in PyUnicode_DecodeUTF7Stateful()
1643 errmsg = "unexpected second surrogate"; in PyUnicode_DecodeUTF7Stateful()
1655 errmsg = "second surrogate missing at end of shift sequence"; in PyUnicode_DecodeUTF7Stateful()
1661 errmsg = "partial character in shift sequence"; in PyUnicode_DecodeUTF7Stateful()
1667 errmsg = "non-zero padding bits in shift sequence"; in PyUnicode_DecodeUTF7Stateful()
1699 errmsg = "unexpected special character"; in PyUnicode_DecodeUTF7Stateful()
1708 "utf7", errmsg, in PyUnicode_DecodeUTF7Stateful()
1905 const char *errmsg = ""; in PyUnicode_DecodeUTF8Stateful() local
1939 errmsg = "unexpected end of data"; in PyUnicode_DecodeUTF8Stateful()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c1653 const char *errmsg = ""; in PyUnicode_DecodeUTF7Stateful() local
1727 errmsg = "partial character in shift sequence"; in PyUnicode_DecodeUTF7Stateful()
1733 errmsg = "non-zero padding bits in shift sequence"; in PyUnicode_DecodeUTF7Stateful()
1766 errmsg = "unexpected special character"; in PyUnicode_DecodeUTF7Stateful()
1775 "utf7", errmsg, in PyUnicode_DecodeUTF7Stateful()
1972 const char *errmsg = ""; in PyUnicode_DecodeUTF8Stateful() local
2006 errmsg = "unexpected end of data"; in PyUnicode_DecodeUTF8Stateful()
2018 errmsg = "invalid start byte"; in PyUnicode_DecodeUTF8Stateful()
2024 errmsg = "internal error"; in PyUnicode_DecodeUTF8Stateful()
2031 errmsg = "invalid continuation byte"; in PyUnicode_DecodeUTF8Stateful()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dpyexpat.c1640 char errmsg[100]; in xmlparse_setattr() local
1641 sprintf(errmsg, "buffer_size must not be greater than %i", INT_MAX); in xmlparse_setattr()
1642 PyErr_SetString(PyExc_ValueError, errmsg); in xmlparse_setattr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dpyexpat.c1620 char errmsg[100]; in xmlparse_setattr() local
1621 sprintf(errmsg, "buffer_size must not be greater than %i", INT_MAX); in xmlparse_setattr()
1622 PyErr_SetString(PyExc_ValueError, errmsg); in xmlparse_setattr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebchecker.py749 def http_error_401(self, url, fp, errcode, errmsg, headers): argument