Home
last modified time | relevance | path

Searched refs:myerrno (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Objects/
Dexceptions.c592 PyObject *myerrno = NULL, *strerror = NULL, *filename = NULL; in EnvironmentError_init() local
603 &myerrno, &strerror, &filename)) { in EnvironmentError_init()
606 Py_INCREF(myerrno); in EnvironmentError_init()
607 Py_XSETREF(self->myerrno, myerrno); in EnvironmentError_init()
629 Py_CLEAR(self->myerrno); in EnvironmentError_clear()
647 Py_VISIT(self->myerrno); in EnvironmentError_traverse()
679 if (self->myerrno) { in EnvironmentError_str()
680 Py_INCREF(self->myerrno); in EnvironmentError_str()
681 PyTuple_SET_ITEM(tuple, 0, self->myerrno); in EnvironmentError_str()
703 else if (self->myerrno && self->strerror) { in EnvironmentError_str()
[all …]
/external/python/cpython3/Objects/
Dexceptions.c792 PyObject **myerrno, PyObject **strerror, in oserror_parse_args() argument
814 myerrno, strerror, in oserror_parse_args()
834 *myerrno = PyLong_FromLong(errcode); in oserror_parse_args()
835 if (!*myerrno) in oserror_parse_args()
840 PyTuple_SET_ITEM(newargs, 0, *myerrno); in oserror_parse_args()
857 PyObject *myerrno, PyObject *strerror, in oserror_init() argument
899 Py_XINCREF(myerrno); in oserror_init()
900 self->myerrno = myerrno; in oserror_init()
947 PyObject *myerrno = NULL, *strerror = NULL; in OSError_new() local
959 if (oserror_parse_args(&args, &myerrno, &strerror, in OSError_new()
[all …]
/external/python/cpython2/Modules/_io/
D_iomodule.c100 PyObject *myerrno = NULL, *strerror = NULL; in blockingioerror_init() local
108 &myerrno, &strerror, &written)) in blockingioerror_init()
111 baseargs = PyTuple_Pack(2, myerrno, strerror); in blockingioerror_init()
D_iomodule.h80 PyObject *myerrno; member
Dbufferedio.c734 if (env_err->myerrno != NULL && in _PyIO_trap_eintr()
735 PyObject_RichCompareBool(env_err->myerrno, eintr_int, Py_EQ) > 0) { in _PyIO_trap_eintr()
/external/python/cpython2/Include/
Dpyerrors.h56 PyObject *myerrno; member
67 PyObject *myerrno; member
/external/python/cpython3/Include/
Dpyerrors.h53 PyObject *myerrno; member
/external/python/cpython3/Modules/_io/
Dbufferedio.c789 if (env_err->myerrno != NULL && in _PyIO_trap_eintr()
790 PyObject_RichCompareBool(env_err->myerrno, eintr_int, Py_EQ) > 0) { in _PyIO_trap_eintr()