Searched refs:myerrno (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Objects/ |
D | exceptions.c | 592 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/ |
D | exceptions.c | 813 PyObject **myerrno, PyObject **strerror, in oserror_parse_args() argument 835 myerrno, strerror, in oserror_parse_args() 855 *myerrno = PyLong_FromLong(errcode); in oserror_parse_args() 856 if (!*myerrno) in oserror_parse_args() 861 PyTuple_SET_ITEM(newargs, 0, *myerrno); in oserror_parse_args() 878 PyObject *myerrno, PyObject *strerror, in oserror_init() argument 920 Py_XINCREF(myerrno); in oserror_init() 921 self->myerrno = myerrno; in oserror_init() 968 PyObject *myerrno = NULL, *strerror = NULL; in OSError_new() local 980 if (oserror_parse_args(&args, &myerrno, &strerror, in OSError_new() [all …]
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 100 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.h | 80 PyObject *myerrno; member
|
D | bufferedio.c | 734 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/ |
D | pyerrors.h | 56 PyObject *myerrno; member 67 PyObject *myerrno; member
|
/external/python/cpython3/Include/cpython/ |
D | pyerrors.h | 54 PyObject *myerrno; member
|
/external/python/cpython3/Modules/_io/ |
D | bufferedio.c | 777 if (env_err->myerrno != NULL && in _PyIO_trap_eintr() 778 PyObject_RichCompareBool(env_err->myerrno, eintr_int, Py_EQ) > 0) { in _PyIO_trap_eintr()
|