Home
last modified time | relevance | path

Searched refs:save_tstate (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/
D_xxsubinterpretersmodule.c1943 PyThreadState *save_tstate = NULL; in _run_script_in_interpreter() local
1948 save_tstate = PyThreadState_Swap(tstate); in _run_script_in_interpreter()
1956 if (save_tstate != NULL) { in _run_script_in_interpreter()
1957 PyThreadState_Swap(save_tstate); in _run_script_in_interpreter()
2013 PyThreadState *save_tstate = PyThreadState_Swap(NULL); in interp_create() local
2016 PyThreadState_Swap(save_tstate); in interp_create()
2028 save_tstate = PyThreadState_Swap(tstate); in interp_create()
2030 PyThreadState_Swap(save_tstate); in interp_create()
2081 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in interp_destroy() local
2083 PyThreadState_Swap(save_tstate); in interp_destroy()
/external/python/cpython3/Python/
Dpystate.c525 PyThreadState *save_tstate = _PyThreadState_Swap(gilstate, tstate); in _PyInterpreterState_IDDecref() local
527 _PyThreadState_Swap(gilstate, save_tstate); in _PyInterpreterState_IDDecref()
1541 PyThreadState *save_tstate = NULL; in _call_in_interpreter() local
1546 save_tstate = _PyThreadState_Swap(gilstate, tstate); in _call_in_interpreter()
1552 if (save_tstate != NULL) { in _call_in_interpreter()
1553 _PyThreadState_Swap(gilstate, save_tstate); in _call_in_interpreter()
Dpylifecycle.c1564 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter() local
1568 if (save_tstate != NULL) { in new_interpreter()
1569 config = _PyInterpreterState_GetConfig(save_tstate->interp); in new_interpreter()
1610 PyThreadState_Swap(save_tstate); in new_interpreter()
/external/python/cpython2/Python/
Dpythonrun.c588 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() local
604 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()
641 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()