• Home
  • Raw
  • Download

Lines Matching refs:_PyRuntime

79 _PyRuntimeState _PyRuntime = _PyRuntimeState_INIT;  variable
96 return _PyRuntimeState_Init(&_PyRuntime); in _PyRuntime_Initialize()
102 _PyRuntimeState_Fini(&_PyRuntime); in _PyRuntime_Finalize()
108 return _PyRuntime.finalizing != NULL; in _Py_IsFinalizing()
154 return _PyRuntime.core_initialized; in _Py_IsCoreInitialized()
160 return _PyRuntime.initialized; in Py_IsInitialized()
642 if (_PyRuntime.core_initialized) { in _Py_InitializeCore_impl()
671 if (_PyRuntime.initialized) { in _Py_InitializeCore_impl()
674 if (_PyRuntime.core_initialized) { in _Py_InitializeCore_impl()
687 _PyRuntime.finalizing = NULL; in _Py_InitializeCore_impl()
703 err = _PyInterpreterState_Enable(&_PyRuntime); in _Py_InitializeCore_impl()
825 _PyRuntime.core_initialized = 1; in _Py_InitializeCore_impl()
905 if (!_PyRuntime.core_initialized) { in _Py_InitializeMainInterpreter()
914 if (_PyRuntime.initialized) { in _Py_InitializeMainInterpreter()
924 _PyRuntime.initialized = 1; in _Py_InitializeMainInterpreter()
984 _PyRuntime.initialized = 1; in _Py_InitializeMainInterpreter()
1028 if (_PyRuntime.initialized) { in Py_InitializeEx()
1126 if (!_PyRuntime.initialized) in Py_FinalizeEx()
1161 _PyRuntime.finalizing = tstate; in Py_FinalizeEx()
1162 _PyRuntime.initialized = 0; in Py_FinalizeEx()
1163 _PyRuntime.core_initialized = 0; in Py_FinalizeEx()
1361 if (!_PyRuntime.initialized) { in new_interpreter()
2259 if (_PyRuntime.nexitfuncs >= NEXITFUNCS) in Py_AtExit()
2261 _PyRuntime.exitfuncs[_PyRuntime.nexitfuncs++] = func; in Py_AtExit()
2268 while (_PyRuntime.nexitfuncs > 0) in call_ll_exitfuncs()
2269 (*_PyRuntime.exitfuncs[--_PyRuntime.nexitfuncs])(); in call_ll_exitfuncs()