Home
last modified time | relevance | path

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

/third_party/python/Include/
Dpystate.h83 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
/third_party/python/Modules/
D_xxsubinterpretersmodule.c1939 (void)PyThreadState_Swap(new_tstate); in _run_script_in_interpreter()
1954 save_tstate = PyThreadState_Swap(tstate); in _run_script_in_interpreter()
1963 PyThreadState_Swap(save_tstate); in _run_script_in_interpreter()
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()
2090 PyThreadState_Swap(save_tstate); in interp_destroy()
D_testcapimodule.c3628 PyThreadState_Swap(NULL); in run_in_subinterp()
3635 PyThreadState_Swap(mainstate); in run_in_subinterp()
3642 PyThreadState_Swap(mainstate); in run_in_subinterp()
/third_party/python/Python/
Dpylifecycle.c644 (void) PyThreadState_Swap(tstate); in pycore_create_interpreter()
1919 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter()
1968 PyThreadState_Swap(save_tstate); in new_interpreter()
Dpystate.c1053 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
/third_party/python/Programs/
D_testembed.c70 PyThreadState_Swap(NULL); in test_repeated_init_and_subinterpreters()
78 PyThreadState_Swap(mainstate); in test_repeated_init_and_subinterpreters()
/third_party/python/PC/
Dpython3dll.c581 EXPORT_FUNC(PyThreadState_Swap)
/third_party/python/Doc/data/
Dstable_abi.dat598 function,PyThreadState_Swap,3.2,
Drefcounts.dat2186 PyThreadState_Swap:PyThreadState*:::
2187 PyThreadState_Swap:PyThreadState*:tstate::
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c986 PyThreadState_Swap(tstate); in alsa_mixer_simple_event()
/third_party/python/Misc/
Dstable_abi.txt1256 function PyThreadState_Swap
/third_party/python/Doc/c-api/
Dinit.rst942 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)
1311 You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`