Home
last modified time | relevance | path

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

/external/python/cpython3/Programs/
D_testembed.c56 PyThreadState_Swap(NULL); in test_repeated_init_and_subinterpreters()
64 PyThreadState_Swap(mainstate); in test_repeated_init_and_subinterpreters()
/external/python/cpython3/Python/
Dpylifecycle.c353 (void) PyThreadState_Swap(tstate); in _Py_InitializeEx_Private()
722 PyThreadState_Swap(NULL); in Py_FinalizeEx()
791 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()
851 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()
887 PyThreadState_Swap(NULL); in Py_EndInterpreter()
Dceval.c275 if (PyThreadState_Swap(tstate) != NULL) in PyEval_AcquireThread()
285 if (PyThreadState_Swap(NULL) != tstate) in PyEval_ReleaseThread()
350 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread()
378 PyThreadState_Swap(tstate); in PyEval_RestoreThread()
1134 if (PyThreadState_Swap(NULL) != tstate) in _PyEval_EvalFrameDefault()
1148 if (PyThreadState_Swap(tstate) != NULL) in _PyEval_EvalFrameDefault()
Dpystate.c527 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
/external/python/cpython2/Include/
Dpystate.h120 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
/external/python/cpython2/Python/
Dpythonrun.c203 (void) PyThreadState_Swap(tstate); in Py_InitializeEx()
516 PyThreadState_Swap(NULL); in Py_Finalize()
595 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()
632 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()
665 PyThreadState_Swap(NULL); in Py_EndInterpreter()
Dpystate.c337 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
Dceval.c278 if (PyThreadState_Swap(tstate) != NULL) in PyEval_AcquireThread()
288 if (PyThreadState_Swap(NULL) != tstate) in PyEval_ReleaseThread()
341 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread()
363 PyThreadState_Swap(tstate); in PyEval_RestoreThread()
1113 if (PyThreadState_Swap(NULL) != tstate) in PyEval_EvalFrameEx()
1121 if (PyThreadState_Swap(tstate) != NULL) in PyEval_EvalFrameEx()
/external/python/cpython3/Include/
Dpystate.h201 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
/external/python/cpython2/PC/os2vacpp/
Dpython.def383 PyThreadState_Swap
/external/python/cpython3/PC/
Dpython3.def571 PyThreadState_Swap=python36.PyThreadState_Swap
/external/python/cpython2/PC/os2emx/
Dpython27.def1038 "PyThreadState_Swap"
/external/python/cpython2/Doc/data/
Drefcounts.dat1356 PyThreadState_Swap:PyThreadState*:::
1357 PyThreadState_Swap:PyThreadState*:tstate::
/external/python/cpython3/Doc/data/
Drefcounts.dat1371 PyThreadState_Swap:PyThreadState*:::
1372 PyThreadState_Swap:PyThreadState*:tstate::
/external/python/cpython3/Modules/
D_testcapimodule.c2978 PyThreadState_Swap(NULL); in run_in_subinterp()
2985 PyThreadState_Swap(mainstate); in run_in_subinterp()
2992 PyThreadState_Swap(mainstate); in run_in_subinterp()
/external/python/cpython3/Doc/c-api/
Dinit.rst669 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)
898 :c:func:`PyThreadState_Swap` function. You can create and destroy them
/external/python/cpython2/Doc/c-api/
Dinit.rst590 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)
815 :c:func:`PyThreadState_Swap` function. You can create and destroy them