/external/python/cpython3/Modules/ |
D | gcmodule.c | 17 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.c | 48 PyInterpreterState *interp = _PyInterpreterState_GET(); in _typing_exec()
|
D | atexitmodule.c | 21 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_atexit_state() 30 assert(interp == _PyInterpreterState_GET()); in PyUnstable_AtExit()
|
/external/python/cpython3/Python/ |
D | thread.c | 77 return _PyInterpreterState_GET()->threads.stacksize; in PyThread_get_stacksize() 244 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyThread_GetInfo()
|
D | instrumentation.c | 27 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 …]
|
D | specialize.c | 670 _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 …]
|
D | dynload_shlib.c | 78 dlopenflags = _PyImport_GetDLOpenFlags(_PyInterpreterState_GET()); in _PyImport_FindSharedFuncptr()
|
D | crossinterp_data_lookup.h | 254 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()
|
D | thread_nt.h | 399 _PyInterpreterState_GET()->threads.stacksize = 0; in _pythread_nt_set_stacksize() 405 _PyInterpreterState_GET()->threads.stacksize = size; in _pythread_nt_set_stacksize()
|
D | import.c | 493 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 …]
|
D | sysmodule.c | 140 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()
|
D | codecs.c | 25 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()
|
D | brc.c | 56 PyInterpreterState *interp = _PyInterpreterState_GET(); in _Py_brc_queue_object()
|
D | optimizer_analysis.c | 88 _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), dict, 1); in globals_watcher_callback() 140 PyInterpreterState *interp = _PyInterpreterState_GET(); in remove_globals()
|
D | dynload_win.c | 189 PyInterpreterState *interp = _PyInterpreterState_GET();
|
D | thread_pthread.h | 820 _PyInterpreterState_GET()->threads.stacksize = 0; in _pythread_pthread_set_stacksize() 837 _PyInterpreterState_GET()->threads.stacksize = size; in _pythread_pthread_set_stacksize()
|
D | gc_free_threading.c | 179 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/ |
D | typevarobject.c | 211 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()
|
D | dictobject.c | 158 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 …]
|
D | funcobject.c | 51 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()
|
D | codeobject.c | 35 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 …]
|
D | moduleobject.c | 200 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/ |
D | pycore_weakref.h | 19 _PyInterpreterState_GET() \
|
D | pycore_pystate.h | 209 static inline PyInterpreterState* _PyInterpreterState_GET(void) { in _PyInterpreterState_GET() function
|
D | pycore_object.h | 360 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyObject_GC_TRACK() 619 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyObject_GET_WEAKREFS_LISTPTR()
|