Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/
Dpystate.h63 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
74 #define PyThreadState_GET() PyThreadState_Get()
/external/python/cpython2/Include/
Dpystate.h119 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
130 #define PyThreadState_GET() PyThreadState_Get()
/external/python/cpython2/Demo/embed/
Dimportexc.c10 Py_EndInterpreter(PyThreadState_Get()); in main()
/external/python/cpython2/PC/os2vacpp/
Dpython.def380 PyThreadState_Get
/external/python/pybind11/tests/test_embed/
Dtest_interpreter.cpp174 auto main_tstate = PyThreadState_Get();
/external/python/pybind11/include/pybind11/detail/
Dinternals.h264 PyThreadState *tstate = PyThreadState_Get(); in get_internals()
/external/python/cpython3/Programs/
D_testembed.c41 PyThreadState *ts = PyThreadState_Get(); in print_subinterp()
63 mainstate = PyThreadState_Get(); in test_repeated_init_and_subinterpreters()
/external/python/cpython2/Python/
Dpystate.c327 PyThreadState_Get(void) in PyThreadState_Get() function
Dmodsupport.c37 PyInterpreterState *interp = PyThreadState_Get()->interp; in Py_InitModule4()
D_warnings.c460 globals = PyThreadState_Get()->interp->sysdict; in setup_context()
Dimport.c389 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear()
2768 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_ReloadModule()
Dsysmodule.c495 PyThreadState *tstate = PyThreadState_Get(); in sys_settscdump()
/external/python/cpython3/Modules/
D_threadmodule.c777 && (tstate = PyThreadState_Get()) in local_clear()
1215 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel()
D_tkinter.c251 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \
2862 PyThreadState *tstate = PyThreadState_Get(); in _tkinter_tkapp_mainloop_impl()
3381 event_tstate = PyThreadState_Get(); in EnableEventHook()
D_testcapimodule.c3336 PyThreadState_Get(); in crash_no_current_thread()
3353 mainstate = PyThreadState_Get(); in run_in_subinterp()
4427 PyThreadState *tstate = PyThreadState_Get(); in get_recursion_depth()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c162 PyThreadState_Get(), /*PyThreadState *tstate,*/ in _ctypes_add_traceback()
/external/python/cpython3/PC/
Dpython3.def571 PyThreadState_Get=python38.PyThreadState_Get
/external/python/cpython2/Modules/
Dthreadmodule.c405 && (tstate = PyThreadState_Get()) in local_clear()
D_tkinter.c210 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \
3010 PyThreadState *tstate = PyThreadState_Get(); in Tkapp_MainLoop()
3607 event_tstate = PyThreadState_Get(); in EnableEventHook()
/external/python/cpython3/Python/
Dtraceback.c278 frame = PyFrame_New(PyThreadState_Get(), code, globals, NULL); in _PyTraceback_Add()
Dcontext.c700 PyThreadState *ts = PyThreadState_Get(); in contextvar_set()
Dpystate.c920 PyThreadState_Get(void) in PyThreadState_Get() function
/external/python/cpython2/PC/os2emx/
Dpython27.def1037 "PyThreadState_Get"
/external/python/cpython2/Doc/c-api/
Dinit.rst373 be retrieved using :c:func:`PyThreadState_Get`.
583 .. c:function:: PyThreadState* PyThreadState_Get()
/external/python/cpython3/Misc/NEWS.d/
D3.5.1rc1.rst194 PyThreadState_Get() to avoid ABI incompatibilities.

12