Searched refs:save_tstate (Results 1 – 4 of 4) sorted by relevance
1943 PyThreadState *save_tstate = NULL; in _run_script_in_interpreter() local1948 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() local2016 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() local2083 PyThreadState_Swap(save_tstate); in interp_destroy()
525 PyThreadState *save_tstate = _PyThreadState_Swap(gilstate, tstate); in _PyInterpreterState_IDDecref() local527 _PyThreadState_Swap(gilstate, save_tstate); in _PyInterpreterState_IDDecref()1541 PyThreadState *save_tstate = NULL; in _call_in_interpreter() local1546 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()
1564 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter() local1568 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()
588 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() local604 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()641 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()