Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/Objects/
Dexceptions.c197 _PyBaseExceptionObject_cast(PyObject *exc) in _PyBaseExceptionObject_cast() function
382 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_GetTraceback()
391 return BaseException_set_tb(_PyBaseExceptionObject_cast(self), tb, NULL); in PyException_SetTraceback()
397 PyObject *cause = _PyBaseExceptionObject_cast(self)->cause; in PyException_GetCause()
406 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_SetCause()
414 PyObject *context = _PyBaseExceptionObject_cast(self)->context; in PyException_GetContext()
423 Py_XSETREF(_PyBaseExceptionObject_cast(self)->context, context); in PyException_SetContext()