Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drobotparser.py60 self.errcode = opener.errcode
61 if self.errcode in (401, 403):
63 elif self.errcode >= 400:
65 elif self.errcode == 200 and lines:
212 self.errcode = 200
219 def http_error_default(self, url, fp, errcode, errmsg, headers): argument
220 self.errcode = errcode
221 return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,
Durllib.py343 errcode, errmsg, headers = h.getreply()
345 if errcode == -1:
352 if (200 <= errcode < 300):
353 return addinfourl(fp, headers, "http:" + url, errcode)
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
365 name = 'http_error_%d' % errcode
369 result = method(url, fp, errcode, errmsg, headers)
371 result = method(url, fp, errcode, errmsg, headers, data)
[all …]
Dsmtplib.py360 errcode = int(code)
362 errcode = -1
370 print>>stderr, 'reply: retcode (%s); Msg: %s' % (errcode, errmsg)
371 return errcode, errmsg
Dsmtpd.py378 errcode = getattr(e, 'smtp_code', -1)
381 refused[r] = (errcode, errmsg)
Dxmlrpclib.py239 def __init__(self, url, errcode, errmsg, headers): argument
242 self.errcode = errcode
248 (self.url, self.errcode, self.errmsg)
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldo.h42 LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode);
Dldo.c84 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() argument
85 switch (errcode) { in seterrorobj()
103 l_noret luaD_throw (lua_State *L, int errcode) { in luaD_throw() argument
105 L->errorJmp->status = errcode; /* set status */ in luaD_throw()
109 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()
112 luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */ in luaD_throw()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpythonrun.c801 int errcode = 0; in PyRun_InteractiveOneFlags() local
827 flags, &errcode, arena); in PyRun_InteractiveOneFlags()
832 if (errcode == E_EOF) { in PyRun_InteractiveOneFlags()
1461 char *ps2, PyCompilerFlags *flags, int *errcode, in PyParser_ASTFromFile() argument
1483 if (errcode) in PyParser_ASTFromFile()
1484 *errcode = err.error; in PyParser_ASTFromFile()
1815 int errcode = _resetstkoflw(); in PyOS_CheckStack() local
1816 if (errcode == 0) in PyOS_CheckStack()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpythonrun.c814 int errcode = 0; in PyRun_InteractiveOneFlags() local
840 flags, &errcode, arena); in PyRun_InteractiveOneFlags()
845 if (errcode == E_EOF) { in PyRun_InteractiveOneFlags()
1486 char *ps2, PyCompilerFlags *flags, int *errcode, in PyParser_ASTFromFile() argument
1508 if (errcode) in PyParser_ASTFromFile()
1509 *errcode = err.error; in PyParser_ASTFromFile()
1840 int errcode = _resetstkoflw(); in PyOS_CheckStack() local
1841 if (errcode == 0) in PyOS_CheckStack()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_ssl.c244 _setSSLError (char *errstr, int errcode, char *filename, int lineno) { in _setSSLError() argument
250 errcode = ERR_peek_last_error(); in _setSSLError()
251 errstr = ERR_error_string(errcode, NULL); in _setSSLError()
255 v = Py_BuildValue("(is)", errcode, buf); in _setSSLError()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dexceptions.c864 long errcode; in WindowsError_init() local
876 errcode = PyInt_AsLong(self->myerrno); in WindowsError_init()
877 if (errcode == -1 && PyErr_Occurred()) in WindowsError_init()
879 posix_errno = winerror_to_errno(errcode); in WindowsError_init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dexceptions.c865 long errcode; in WindowsError_init() local
877 errcode = PyInt_AsLong(self->myerrno); in WindowsError_init()
878 if (errcode == -1 && PyErr_Occurred()) in WindowsError_init()
880 posix_errno = winerror_to_errno(errcode); in WindowsError_init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dconfig.py837 errcode = e.args[0]
838 if errcode != RESET_ERROR:
/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
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xmlrpc.py405 if e.errcode == -1 or e.headers is None: