Lines Matching refs:winerror
816 , PyObject **winerror in oserror_parse_args() argument
828 PyObject **winerror = &_winerror; in oserror_parse_args() local
836 filename, winerror, filename2)) in oserror_parse_args()
839 if (*winerror && PyLong_Check(*winerror)) { in oserror_parse_args()
844 winerrcode = PyLong_AsLong(*winerror); in oserror_parse_args()
881 , PyObject *winerror in oserror_init() argument
927 Py_XINCREF(winerror); in oserror_init()
928 self->winerror = winerror; in oserror_init()
971 PyObject *winerror = NULL; in OSError_new() local
983 , &winerror in OSError_new()
1012 , winerror in OSError_new()
1038 PyObject *winerror = NULL; in OSError_init() local
1051 , &winerror in OSError_init()
1058 , winerror in OSError_init()
1078 Py_CLEAR(self->winerror); in OSError_clear()
1100 Py_VISIT(self->winerror); in OSError_traverse()
1111 if (self->winerror && self->filename) { in OSError_str()
1114 OR_NONE(self->winerror), in OSError_str()
1120 OR_NONE(self->winerror), in OSError_str()
1125 if (self->winerror && self->strerror) in OSError_str()
1127 self->winerror ? self->winerror: Py_None, in OSError_str()
1238 {"winerror", T_OBJECT, offsetof(PyOSErrorObject, winerror), 0,