Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/
Dpystate.h70 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
81 #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/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.cc325 PyThreadState* curr_thread = PyThreadState_Get(); in SetProfilerInAllThreads()
337 PyThreadState* curr_thread = PyThreadState_Get(); in ClearProfilerInAllThreads()
/external/python/cpython3/Modules/
D_testinternalcapi.c74 PyThreadState *tstate = PyThreadState_Get(); in get_recursion_depth()
D_threadmodule.c814 && (tstate = PyThreadState_Get()) in local_clear()
1263 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel()
D_tkinter.c249 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \
2864 PyThreadState *tstate = PyThreadState_Get(); in _tkinter_tkapp_mainloop_impl()
3383 event_tstate = PyThreadState_Get(); in EnableEventHook()
D_asynciomodule.c234 PyThreadState *ts = PyThreadState_Get(); in get_running_loop()
296 PyThreadState *tstate = PyThreadState_Get(); in set_running_loop()
/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/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()
Dsysmodule.c495 PyThreadState *tstate = PyThreadState_Get(); in sys_settscdump()
Dimport.c389 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear()
2768 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_ReloadModule()
/external/python/pybind11/include/pybind11/detail/
Dinternals.h291 PyThreadState *tstate = PyThreadState_Get(); in get_internals()
/external/python/cpython3/Programs/
D_testembed.c40 PyThreadState *ts = PyThreadState_Get(); in print_subinterp()
62 mainstate = PyThreadState_Get(); in test_repeated_init_and_subinterpreters()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c162 PyThreadState_Get(), /*PyThreadState *tstate,*/ in _ctypes_add_traceback()
/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/PC/
Dpython3.def570 PyThreadState_Get=python39.PyThreadState_Get
/external/python/cpython3/Python/
Dpystate.c957 PyThreadState_Get(void) in PyThreadState_Get() function
1492 PyThreadState *tstate = PyThreadState_Get(); in _PyObject_GetCrossInterpreterData()
Dtraceback.c277 frame = PyFrame_New(PyThreadState_Get(), code, globals, NULL); in _PyTraceback_Add()
Dcontext.c715 PyThreadState *ts = PyThreadState_Get(); in contextvar_set()
/external/python/cpython2/PC/os2emx/
Dpython27.def1037 "PyThreadState_Get"

12