Home
last modified time | relevance | path

Searched refs:PyThreadState_GET (Results 1 – 25 of 33) sorted by relevance

12

/aosp_15_r20/external/python/cpython2/Python/
Dsysmodule.c52 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject()
74 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject()
90 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_displayhook()
153 tstate = PyThreadState_GET(); in sys_exc_info()
179 tstate = PyThreadState_GET(); in sys_exc_clear()
408 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace()
447 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile()
632 PyThreadState *tstate = PyThreadState_GET(); in sys_setdlopenflags()
657 PyThreadState *tstate = PyThreadState_GET(); in sys_getdlopenflags()
815 PyFrameObject *f = PyThreadState_GET()->frame; in sys_getframe()
Dcodecs.c31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register()
105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
565 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError()
583 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError()
1001 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
Derrors.c27 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore()
78 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred()
227 tstate = PyThreadState_GET(); in PyErr_NormalizeException()
246 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch()
Dceval.c317 tstate = PyThreadState_GET(); in PyEval_ReInitThreads()
620 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall()
810 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx()
3374 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCodeEx()
3815 PyThreadState *tstate = PyThreadState_GET(); in do_raise()
4101 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetProfile()
4118 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetTrace()
4139 return PyThreadState_GET()->interp->builtins; in PyEval_GetBuiltins()
4167 PyThreadState *tstate = PyThreadState_GET(); in PyEval_GetFrame()
4349 PyThreadState *tstate = PyThreadState_GET(); in call_function()
[all …]
Ddynload_shlib.c112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
Dpythonrun.c434 tstate = PyThreadState_GET(); in Py_Finalize()
665 if (tstate != PyThreadState_GET()) in Py_EndInterpreter()
1730 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown()
Dtraceback.c108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
Dpystate.c393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc()
D_warnings.c455 PyFrameObject *f = PyThreadState_GET()->frame; in setup_context()
/aosp_15_r20/external/python/cpython2/Include/
Dpystate.h130 #define PyThreadState_GET() PyThreadState_Get() macro
132 #define PyThreadState_GET() (_PyThreadState_Current) macro
Dceval.h49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
52 (--PyThreadState_GET()->recursion_depth)
Dobject.h1025 PyThreadState *_tstate = PyThreadState_GET(); \
/aosp_15_r20/external/python/cpython2/Parser/
Dmyreadline.c172 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline()
193 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Deval_frame.c188 PyThreadState* tstate = PyThreadState_GET(); in custom_eval_frame_shim()
199 tstate = PyThreadState_GET(); in eval_frame_default()
795 return set_eval_frame(callback, PyThreadState_GET()); in set_eval_frame_py()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dpystate.h63 #define PyThreadState_GET() PyThreadState_Get() macro
/aosp_15_r20/external/python/cpython3/Include/
Dpystate.h63 #define PyThreadState_GET() PyThreadState_Get() macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dpystate.h63 #define PyThreadState_GET() PyThreadState_Get() macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dpystate.h63 #define PyThreadState_GET() PyThreadState_Get() macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dpystate.h63 #define PyThreadState_GET() PyThreadState_Get() macro
/aosp_15_r20/external/tensorflow/tensorflow/python/util/
H A Dstack_trace.h64 const PyFrameObject* frame = PyThreadState_GET()->frame; in Capture()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/
H A Dtraceback.cc38 PyThreadState* thread_state = PyThreadState_GET(); in Traceback()
/aosp_15_r20/external/python/cpython2/Objects/
Dgenobject.c47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex()
Dobject.c2457 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_deposit_object()
2495 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_destroy_chain()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h338 tstate = PyThreadState_GET(); in PyInterpreterState_Get()
/aosp_15_r20/external/python/cpython2/Modules/
Dthreadmodule.c681 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()

12