Home
last modified time | relevance | path

Searched refs:_PyRuntime (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Include/internal/
Dpycore_pystate.h20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
29 return (interp == _PyRuntime.interpreters.main); in _Py_IsMainInterpreter()
37 return (_Py_IsMainThread() && interp == _PyRuntime.interpreters.main); in _Py_ThreadCanHandleSignals()
81 return _PyRuntimeState_GetThreadState(&_PyRuntime); in _PyThreadState_GET()
Dpycore_runtime.h128 PyAPI_DATA(_PyRuntimeState) _PyRuntime;
/third_party/python/Python/
Dpystate.c224 _PyRuntimeState *runtime = &_PyRuntime; in PyInterpreterState_New()
512 _PyRuntimeState *runtime = &_PyRuntime; in _PyInterpreterState_LookUpID()
561 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in _PyInterpreterState_IDDecref()
948 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in PyThreadState_DeleteCurrent()
999 return PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey); in _PyThreadState_GetTSS()
1055 return _PyThreadState_Swap(&_PyRuntime.gilstate, newts); in PyThreadState_Swap()
1126 _PyRuntimeState *runtime = &_PyRuntime; in PyThreadState_SetAsyncExc()
1168 return _PyRuntime.interpreters.head; in PyInterpreterState_Head()
1174 return _PyRuntime.interpreters.main; in PyInterpreterState_Main()
1324 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in PyThreadState_IsCurrent()
[all …]
Dpylifecycle.c84 _PyRuntimeState _PyRuntime variable
105 return _PyRuntimeState_Init(&_PyRuntime); in _PyRuntime_Initialize()
111 _PyRuntimeState_Fini(&_PyRuntime); in _PyRuntime_Finalize()
118 return _PyRuntimeState_GetFinalizing(&_PyRuntime) != NULL; in _Py_IsFinalizing()
134 return _PyRuntime.core_initialized; in _Py_IsCoreInitialized()
140 return _PyRuntime.initialized; in Py_IsInitialized()
890 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromPyArgv()
957 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromConfig()
1216 _PyRuntimeState *runtime = &_PyRuntime; in Py_InitializeFromConfig()
1245 _PyRuntimeState *runtime = &_PyRuntime; in Py_InitializeEx()
[all …]
Dceval_gil.h204 PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(&_PyRuntime); in tstate_must_exit()
335 struct _gil_runtime_state *gil = &_PyRuntime.ceval.gil; in _PyEval_SetSwitchInterval()
346 struct _gil_runtime_state *gil = &_PyRuntime.ceval.gil; in _PyEval_GetSwitchInterval()
Dpreconfig.c956 if (_PyRuntime.core_initialized) { in _PyPreConfig_Write()
984 preconfig_copy(&_PyRuntime.preconfig, &config); in _PyPreConfig_Write()
Dceval.c301 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ThreadsInitialized()
418 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_AcquireLock()
428 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ReleaseLock()
522 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_SaveThread()
678 interp = _PyRuntime.interpreters.main; in Py_AddPendingCall()
1161 _PyRuntimeState * const runtime = &_PyRuntime; in eval_frame_handle_pending()
Dinitconfig.c2104 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in config_read()
2704 status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig); in core_read_precmdline()
Dfileutils.c891 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in _Py_GetLocaleEncoding()
Dsysmodule.c387 _PyRuntimeState *runtime = &_PyRuntime; in PySys_AddAuditHook()
/third_party/python/Objects/
Dfileobject.c522 if (_PyRuntime.open_code_hook) { in PyFile_SetOpenCodeHook()
530 _PyRuntime.open_code_hook = hook; in PyFile_SetOpenCodeHook()
531 _PyRuntime.open_code_userdata = userData; in PyFile_SetOpenCodeHook()
546 Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook; in PyFile_OpenCodeObject()
548 f = hook(path, _PyRuntime.open_code_userdata); in PyFile_OpenCodeObject()
/third_party/python/Tools/c-analyzer/
DREADME32 consolidated under a single top-level _PyRuntime global. No new globals
/third_party/python/Programs/
D_testembed.c938 rt_preconfig = &_PyRuntime.preconfig; in check_preinit_isolated_config()
949 rt_preconfig = &_PyRuntime.preconfig; in check_preinit_isolated_config()
/third_party/python/Misc/NEWS.d/
D3.9.0a5.rst221 It now accesses the ``_PyRuntime`` variable directly instead of using
1145 Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame``
1146 macro which was an alias to ``_PyRuntime.getframe``. They were only exposed
D3.10.0a5.rst113 preserve ``_PyRuntime.unicode_ids.next_index`` value.
D3.7.0a3.rst42 _PyRuntime to Objects/obmalloc.c. The memory allocators are once again
/third_party/python/Modules/
Dsignalmodule.c293 PyInterpreterState *interp = _PyRuntime.interpreters.main; in trip_signal()
D_threadmodule.c1116 _PyRuntimeState *runtime = &_PyRuntime; in thread_PyThread_start_new_thread()
Dposixmodule.c592 _PyRuntimeState *runtime = &_PyRuntime; in PyOS_AfterFork_Child()
/third_party/python/Doc/whatsnew/
D3.9.rst1435 * Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame``
1436 macro which was an alias to ``_PyRuntime.getframe``. They were only exposed
/third_party/python/Doc/c-api/
Dinit_config.rst351 ``_PyRuntime.preconfig``.
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch3436 #include "pycore_runtime.h" // _PyRuntime
3725 #include "pycore_runtime.h" // _PyRuntime