Home
last modified time | relevance | path

Searched refs:_Py_IsMainInterpreter (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Include/internal/
Dpycore_pystate.h25 _Py_IsMainInterpreter(PyInterpreterState *interp) in _Py_IsMainInterpreter() function
/third_party/python/Python/
Dpylifecycle.c456 if (_Py_IsMainInterpreter(tstate->interp)) { in interpreter_update_config()
633 assert(_Py_IsMainInterpreter(interp)); in pycore_create_interpreter()
665 if (_Py_IsMainInterpreter(interp)) { in pycore_init_singletons()
692 int is_main_interp = _Py_IsMainInterpreter(interp); in pycore_init_types()
1065 int is_main_interp = _Py_IsMainInterpreter(tstate->interp); in init_interp_main()
1662 int is_main_interp = _Py_IsMainInterpreter(tstate->interp); in finalize_interp_clear()
1687 if (_Py_IsMainInterpreter(interp)) { in finalize_interp_delete()
Dcontext.c1305 if (_Py_IsMainInterpreter(interp)) { in _PyContext_Fini()
Dpystate.c1349 if (!_Py_IsMainInterpreter(tstate->interp)) { in _PyGILState_SetTstate()
Dimport.c446 if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) { in _PyImport_FixupExtensionObject()
Dceval.c310 if (!_Py_IsMainInterpreter(tstate->interp)) { in _PyEval_InitGIL()
338 if (!_Py_IsMainInterpreter(interp)) { in _PyEval_FiniGIL()
/third_party/python/Modules/
Dsignalmodule.c1664 if (_Py_IsMainInterpreter(tstate->interp)) {
/third_party/python/Objects/
Dtypeobject.c287 if (_Py_IsMainInterpreter(interp)) { in _PyType_ClearCache()
309 if (_Py_IsMainInterpreter(interp)) { in _PyType_Fini()
Dunicodeobject.c15792 if (_Py_IsMainInterpreter(interp)) { in _PyUnicode_Init()
15926 if (!_Py_IsMainInterpreter(interp)) { in _PyUnicode_ClearInterned()
16352 if (_Py_IsMainInterpreter(interp)) { in _PyUnicode_Fini()