Home
last modified time | relevance | path

Searched refs:_PyRuntimeState (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Include/internal/
Dpycore_pystate.h249 } _PyRuntimeState; typedef
255 PyAPI_DATA(_PyRuntimeState) _PyRuntime;
256 PyAPI_FUNC(PyStatus) _PyRuntimeState_Init(_PyRuntimeState *runtime);
257 PyAPI_FUNC(void) _PyRuntimeState_Fini(_PyRuntimeState *runtime);
258 PyAPI_FUNC(void) _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime);
305 _PyRuntimeState *runtime,
308 _PyRuntimeState *runtime,
315 PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime);
316 PyAPI_FUNC(void) _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime);
318 PyAPI_FUNC(void) _PyGILState_Reinit(_PyRuntimeState *runtime);
Dpycore_pylifecycle.h40 _PyRuntimeState *runtime,
47 _PyRuntimeState *runtime,
79 extern void _PyGC_Fini(_PyRuntimeState *runtime);
90 _PyRuntimeState *runtime,
93 extern void _PyGILState_Fini(_PyRuntimeState *runtime);
95 PyAPI_FUNC(void) _PyGC_DumpShutdownStats(_PyRuntimeState *runtime);
Dpycore_ceval.h15 PyAPI_FUNC(void) _Py_FinishPendingCalls(_PyRuntimeState *runtime);
29 _PyRuntimeState *runtime);
Dpycore_initconfig.h153 _PyRuntimeState *runtime);
/external/python/cpython3/Python/
Dpystate.c42 static void _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate);
46 _PyRuntimeState_Init_impl(_PyRuntimeState *runtime) in _PyRuntimeState_Init_impl()
91 _PyRuntimeState_Init(_PyRuntimeState *runtime) in _PyRuntimeState_Init()
105 _PyRuntimeState_Fini(_PyRuntimeState *runtime) in _PyRuntimeState_Fini()
129 _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime) in _PyRuntimeState_ReInitThreads()
168 _PyInterpreterState_Enable(_PyRuntimeState *runtime) in _PyInterpreterState_Enable()
220 _PyRuntimeState *runtime = &_PyRuntime; in PyInterpreterState_New()
255 _PyInterpreterState_Clear(_PyRuntimeState *runtime, PyInterpreterState *interp) in _PyInterpreterState_Clear()
302 zapthreads(_PyRuntimeState *runtime, PyInterpreterState *interp) in zapthreads()
314 _PyInterpreterState_Delete(_PyRuntimeState *runtime, in _PyInterpreterState_Delete()
[all …]
Dpylifecycle.c69 static void call_ll_exitfuncs(_PyRuntimeState *runtime);
72 _PyRuntimeState _PyRuntime = _PyRuntimeState_INIT;
266 emit_stderr_warning_for_legacy_locale(_PyRuntimeState *runtime) in emit_stderr_warning_for_legacy_locale()
450 pyinit_core_reconfigure(_PyRuntimeState *runtime, in pyinit_core_reconfigure()
485 pycore_init_runtime(_PyRuntimeState *runtime, in pycore_init_runtime()
519 pycore_create_interpreter(_PyRuntimeState *runtime, in pycore_create_interpreter()
662 pyinit_config(_PyRuntimeState *runtime, in pyinit_config()
722 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromPyArgv()
789 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromConfig()
834 pyinit_core(_PyRuntimeState *runtime, in pyinit_core()
[all …]
Dceval.c203 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_InitThreads()
241 exit_thread_if_finalizing(_PyRuntimeState *runtime, PyThreadState *tstate) in exit_thread_if_finalizing()
282 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_AcquireLock()
295 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ReleaseLock()
311 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_AcquireThread()
330 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ReleaseThread()
344 _PyEval_ReInitThreads(_PyRuntimeState *runtime) in _PyEval_ReInitThreads()
376 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_SaveThread()
390 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_RestoreThread()
505 _PyRuntimeState *runtime = &_PyRuntime; in Py_AddPendingCall()
[all …]
Dsysmodule.c265 _PyRuntimeState *runtime = &_PyRuntime; in _PySys_ClearAuditHooks()
2419 make_flags(_PyRuntimeState *runtime, PyInterpreterState *interp) in make_flags()
2639 _PySys_InitCore(_PyRuntimeState *runtime, PyInterpreterState *interp, in _PySys_InitCore()
2855 _PySys_InitMain(_PyRuntimeState *runtime, PyInterpreterState *interp) in _PySys_InitMain()
2973 _PySys_Create(_PyRuntimeState *runtime, PyInterpreterState *interp, in _PySys_Create()
Dinitconfig.c1788 _PyConfig_Write(const PyConfig *config, _PyRuntimeState *runtime) in _PyConfig_Write()
/external/python/cpython3/Modules/
Dsignalmodule.c190 is_main(_PyRuntimeState *runtime) in is_main()
260 _PyRuntimeState *runtime = &_PyRuntime; in trip_signal()
478 _PyRuntimeState *runtime = &_PyRuntime; in signal_signal_impl()
696 _PyRuntimeState *runtime = &_PyRuntime; in signal_set_wakeup_fd()
1634 _PyRuntimeState *runtime = &_PyRuntime; in PyErr_CheckSignals()
1729 _PyRuntimeState *runtime = &_PyRuntime; in PyOS_InterruptOccurred()
1763 _PyRuntimeState *runtime = &_PyRuntime; in _PyOS_IsMainThread()
Dgcmodule.c1873 _PyGC_DumpShutdownStats(_PyRuntimeState *runtime) in _PyGC_DumpShutdownStats()
1910 _PyGC_Fini(_PyRuntimeState *runtime) in _PyGC_Fini()
Dposixmodule.c466 _PyRuntimeState *runtime = &_PyRuntime; in PyOS_AfterFork_Child()
/external/python/cpython3/Tools/c-globals/
DREADME34 _PyRuntimeState or one of its sub-structs. The check-c-globals script
40 are runtime state then they should be folded into _PyRuntimeState.
/external/python/cpython3/Doc/whatsnew/
D3.8.rst338 This PEP also adds ``_PyRuntimeState.preconfig`` (:c:type:`PyPreConfig` type)