Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_xxsubinterpretersmodule.c1949 PyThreadState *save_tstate = NULL; in _run_script_in_interpreter() local
1954 save_tstate = PyThreadState_Swap(tstate); in _run_script_in_interpreter()
1962 if (save_tstate != NULL) { in _run_script_in_interpreter()
1963 PyThreadState_Swap(save_tstate); in _run_script_in_interpreter()
2020 PyThreadState *save_tstate = PyThreadState_Get(); in interp_create() local
2023 PyThreadState_Swap(save_tstate); in interp_create()
2035 save_tstate = PyThreadState_Swap(tstate); in interp_create()
2037 PyThreadState_Swap(save_tstate); in interp_create()
2088 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in interp_destroy() local
2090 PyThreadState_Swap(save_tstate); in interp_destroy()
/third_party/python/Python/
Dpystate.c572 PyThreadState *save_tstate = _PyThreadState_Swap(gilstate, tstate); in _PyInterpreterState_IDDecref() local
574 _PyThreadState_Swap(gilstate, save_tstate); in _PyInterpreterState_IDDecref()
1682 PyThreadState *save_tstate = NULL; in _call_in_interpreter() local
1687 save_tstate = _PyThreadState_Swap(gilstate, tstate); in _call_in_interpreter()
1693 if (save_tstate != NULL) { in _call_in_interpreter()
1694 _PyThreadState_Swap(gilstate, save_tstate); in _call_in_interpreter()
Dpylifecycle.c1919 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter() local
1924 if (save_tstate != NULL) { in new_interpreter()
1925 config = _PyInterpreterState_GetConfig(save_tstate->interp); in new_interpreter()
1968 PyThreadState_Swap(save_tstate); in new_interpreter()