Searched refs:PyThreadState_Swap (Results 1 – 8 of 8) sorted by relevance
120 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
118 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
177 (void) PyThreadState_Swap(tstate); in Py_InitializeEx()505 PyThreadState_Swap(NULL); in Py_Finalize()583 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()620 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()653 PyThreadState_Swap(NULL); in Py_EndInterpreter()
335 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
276 if (PyThreadState_Swap(tstate) != NULL) in PyEval_AcquireThread()286 if (PyThreadState_Swap(NULL) != tstate) in PyEval_ReleaseThread()339 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread()361 PyThreadState_Swap(tstate); in PyEval_RestoreThread()1014 if (PyThreadState_Swap(NULL) != tstate) in PyEval_EvalFrameEx()1021 if (PyThreadState_Swap(tstate) != NULL) in PyEval_EvalFrameEx()
189 (void) PyThreadState_Swap(tstate); in Py_InitializeEx()517 PyThreadState_Swap(NULL); in Py_Finalize()596 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()633 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()666 PyThreadState_Swap(NULL); in Py_EndInterpreter()
337 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
278 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()1016 if (PyThreadState_Swap(NULL) != tstate) in PyEval_EvalFrameEx()1024 if (PyThreadState_Swap(tstate) != NULL) in PyEval_EvalFrameEx()