Home
last modified time | relevance | path

Searched refs:_PyInterpreterState_GET (Results 1 – 25 of 64) sorted by relevance

123

/external/python/cpython3/Modules/
Dgcmodule.c17 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_gc_state()
236 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_referrers_impl()
283 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_referents_impl()
333 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_objects_impl()
433 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_freeze_impl()
450 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_unfreeze_impl()
465 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_freeze_count_impl()
D_typingmodule.c48 PyInterpreterState *interp = _PyInterpreterState_GET(); in _typing_exec()
Datexitmodule.c21 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_atexit_state()
30 assert(interp == _PyInterpreterState_GET()); in PyUnstable_AtExit()
/external/python/cpython3/Python/
Dthread.c77 return _PyInterpreterState_GET()->threads.stacksize; in PyThread_get_stacksize()
244 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyThread_GetInfo()
Dinstrumentation.c27 if (!_PyInterpreterState_GET()->stoptheworld.world_stopped) { \
30 #define ASSERT_WORLD_STOPPED() assert(_PyInterpreterState_GET()->stoptheworld.world_stopped);
42 assert(!_PyInterpreterState_GET()->stoptheworld.world_stopped); \
430 dump_global_monitors("Global", _PyInterpreterState_GET()->monitors, out); in dump_instrumentation_data()
493 _Py_GlobalMonitors global_monitors = _PyInterpreterState_GET()->monitors; in sanity_check_instrumentation()
781 int global_tools = _PyInterpreterState_GET()->monitors.tools[event]; in tools_is_subset_for_event()
1399 PyInterpreterState *is = _PyInterpreterState_GET(); in _PyMonitoring_RegisterCallback()
1969 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyMonitoring_SetLocalEvents()
2005 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyMonitoring_GetLocalEvents()
2056 PyInterpreterState *interp = _PyInterpreterState_GET(); in monitoring_use_tool_id_impl()
[all …]
Dspecialize.c670 _PyInterpreterState_GET(), dict->ma_keys); in specialize_module_load_attr()
753 PyInterpreterState *interp = _PyInterpreterState_GET(); in analyze_descriptor()
965 if (_PyInterpreterState_GET()->eval_frame) { in _Py_Specialize_LoadAttr()
1035 if (_PyInterpreterState_GET()->eval_frame) { in _Py_Specialize_LoadAttr()
1277 _PyInterpreterState_GET(), keys); in specialize_attr_loadclassattr()
1362 PyInterpreterState *interp = _PyInterpreterState_GET(); in _Py_Specialize_LoadGlobal()
1601 if (_PyInterpreterState_GET()->eval_frame) { in _Py_Specialize_BinarySubscr()
1839 PyInterpreterState *interp = _PyInterpreterState_GET(); in specialize_method_descriptor()
1872 if (_PyInterpreterState_GET()->eval_frame) { in specialize_py_call()
1915 PyInterpreterState *interp = _PyInterpreterState_GET(); in specialize_c_call()
[all …]
Ddynload_shlib.c78 dlopenflags = _PyImport_GetDLOpenFlags(_PyInterpreterState_GET()); in _PyImport_FindSharedFuncptr()
Dcrossinterp_data_lookup.h254 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCrossInterpreterData_RegisterClass()
276 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCrossInterpreterData_UnregisterClass()
492 int64_t interpid = PyInterpreterState_GetID(_PyInterpreterState_GET()); in _tuple_shared_free()
Dthread_nt.h399 _PyInterpreterState_GET()->threads.stacksize = 0; in _pythread_nt_set_stacksize()
405 _PyInterpreterState_GET()->threads.stacksize = size; in _pythread_nt_set_stacksize()
Dimport.c493 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyState_FindModule()
829 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyImport_ClearExtension()
1078 PyInterpreterState *interp = _PyInterpreterState_GET(); in init_cached_m_dict()
1132 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_cached_m_dict()
1479 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyImport_CheckSubinterpIncompatibleExtensionAllowed()
2028 PyInterpreterState *interp = _PyInterpreterState_GET(); in import_run_extension()
2496 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_GetMagicNumber()
2575 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_ExecCodeModuleWithPathnames()
2749 PyInterpreterState *interp = _PyInterpreterState_GET(); in use_frozen()
4234 PyInterpreterState *interp = _PyInterpreterState_GET(); in _imp_lock_held_impl()
[all …]
Dsysmodule.c140 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PySys_SetAttr()
157 PyInterpreterState *interp = _PyInterpreterState_GET(); in PySys_SetObject()
920 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getfilesystemencoding_impl()
945 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getfilesystemencodeerrors_impl()
973 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_intern_impl()
1786 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_setdlopenflags_impl()
1804 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getdlopenflags_impl()
1843 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_get_int_max_str_digits_impl()
2179 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys__clear_internal_caches_impl()
3905 PyInterpreterState *interp = _PyInterpreterState_GET(); in PySys_SetPath()
Dcodecs.c25 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_Register()
51 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_Unregister()
140 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodec_Lookup()
611 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_RegisterError()
626 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_LookupError()
Dbrc.c56 PyInterpreterState *interp = _PyInterpreterState_GET(); in _Py_brc_queue_object()
Doptimizer_analysis.c88 _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), dict, 1); in globals_watcher_callback()
140 PyInterpreterState *interp = _PyInterpreterState_GET(); in remove_globals()
Ddynload_win.c189 PyInterpreterState *interp = _PyInterpreterState_GET();
Dthread_pthread.h820 _PyInterpreterState_GET()->threads.stacksize = 0; in _pythread_pthread_set_stacksize()
837 _PyInterpreterState_GET()->threads.stacksize = size; in _pythread_pthread_set_stacksize()
Dgc_free_threading.c179 assert(_PyInterpreterState_GET()->stoptheworld.world_stopped); in merge_refcount()
198 assert(_PyInterpreterState_GET()->stoptheworld.world_stopped); in gc_restore_tid()
753 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_gc_state()
1870 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyUnstable_GC_VisitObjects()
/external/python/cpython3/Objects/
Dtypevarobject.c211 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevartuple_type; in contains_typevartuple()
232 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevartuple_type; in unpack_typevartuples()
381 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevar_type; in typevar_alloc()
751 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspec_type; in paramspecargs_repr()
832 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspec_type; in paramspeckwargs_repr()
973 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspecargs_type; in paramspec_args()
980 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspeckwargs_type; in paramspec_kwargs()
1009 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspec_type; in paramspec_alloc()
1291 PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevartuple_type; in typevartuple_alloc()
1893 PyInterpreterState *interp = _PyInterpreterState_GET(); in _Py_subscript_generic()
Ddictobject.c158 if (!_PyInterpreterState_GET()->stoptheworld.world_stopped) { \
162 if (!_PyInterpreterState_GET()->stoptheworld.world_stopped) { \
217 #define DECREF_KEYS_FT(dk, shared) dictkeys_decref(_PyInterpreterState_GET(), dk, shared)
1024 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyDict_New()
2133 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyDict_NewPresized()
2144 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyDict_FromItems()
2498 PyInterpreterState *interp = _PyInterpreterState_GET(); in setitem_take2_lock_held()
2550 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyDict_SetItem_KnownHash_LockHeld()
2676 PyInterpreterState *interp = _PyInterpreterState_GET(); in delitem_knownhash_lock_held()
2724 PyInterpreterState *interp = _PyInterpreterState_GET(); in delitemif_lock_held()
[all …]
Dfuncobject.c51 PyInterpreterState *interp = _PyInterpreterState_GET(); in handle_func_event()
70 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyFunction_AddWatcher()
86 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyFunction_ClearWatcher()
291 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyFunction_SetVersion()
318 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyFunction_ClearCodeByVersion()
339 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyFunction_LookupByVersion()
Dcodeobject.c35 PyInterpreterState *interp = _PyInterpreterState_GET(); in notify_code_watchers()
59 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCode_AddWatcher()
91 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCode_ClearWatcher()
112 PyInterpreterState *interp = _PyInterpreterState_GET(); in should_intern_string()
140 PyInterpreterState *interp = _PyInterpreterState_GET(); in intern_strings()
161 PyInterpreterState *interp = _PyInterpreterState_GET(); in intern_constants()
474 PyInterpreterState *interp = _PyInterpreterState_GET(); in init_code()
631 PyInterpreterState *interp = _PyInterpreterState_GET(); in intern_code_constants()
1509 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyUnstable_Code_SetExtra()
1863 PyInterpreterState *interp = _PyInterpreterState_GET(); in code_dealloc()
[all …]
Dmoduleobject.c200 if (!_PyImport_IsInitialized(_PyInterpreterState_GET())) { in PyModule_Create2()
273 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyModule_FromDefAndSpec2()
786 PyInterpreterState *interp = _PyInterpreterState_GET(); in module_repr()
/external/python/cpython3/Include/internal/
Dpycore_weakref.h19 _PyInterpreterState_GET() \
Dpycore_pystate.h209 static inline PyInterpreterState* _PyInterpreterState_GET(void) { in _PyInterpreterState_GET() function
Dpycore_object.h360 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyObject_GC_TRACK()
619 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyObject_GET_WEAKREFS_LISTPTR()

123