Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/
Dceval.h90 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
93 do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
94 PyThreadState_GET()->overflowed = 0; \
109 ++(PyThreadState_GET()->stackcheck_counter) > 64)
126 do { unsigned char _old = PyThreadState_GET()->recursion_critical;\
127 PyThreadState_GET()->recursion_critical = 1;
130 PyThreadState_GET()->recursion_critical = _old; \
Dpystate.h74 #define PyThreadState_GET() PyThreadState_Get() macro
Dpyerrors.h30 #define _PyErr_OCCURRED() (PyThreadState_GET()->curexc_type)
Dobject.h717 _tstate = PyThreadState_GET(); \
/external/python/cffi/c/
Dcall_python.c20 tstate = PyThreadState_GET(); in _get_interpstate_dict()
166 new1 = PyThreadState_GET()->interp->modules; in _update_cache_to_call_python()
255 if (externpy->reserved1 != PyThreadState_GET()->interp->modules) { in cffi_call_python()
/external/python/cpython2/Include/
Dceval.h49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
52 (--PyThreadState_GET()->recursion_depth)
Dpystate.h130 #define PyThreadState_GET() PyThreadState_Get() macro
132 #define PyThreadState_GET() (_PyThreadState_Current) macro
Dobject.h1025 PyThreadState *_tstate = PyThreadState_GET(); \
/external/python/cpython2/Parser/
Dmyreadline.c172 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline()
193 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
/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()
Ddynload_shlib.c112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
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 …]
Dtraceback.c108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
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()
Dpystate.c393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc()
D_warnings.c455 PyFrameObject *f = PyThreadState_GET()->frame; in setup_context()
/external/python/cpython3/Include/internal/
Dpycore_pystate.h288 #undef PyThreadState_GET
289 #define PyThreadState_GET() _PyThreadState_GET() macro
/external/python/cffi/cffi/
D_embedding.h173 PyThreadState_GET()->interp->builtins) < 0) in _cffi_initialize_python()
/external/tensorflow/tensorflow/python/util/
Dtf_stack.cc79 const auto* tstate = PyThreadState_GET(); in ExtractStack()
/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()
/external/python/cpython2/Modules/
Dthreadmodule.c681 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()
/external/python/cpython3/Python/
D_warnings.c30 PyThreadState *tstate = PyThreadState_GET(); in _Warnings_GetState()

12