/external/python/cpython3/Python/ |
D | pystate.c | 514 for (PyInterpreterState *interp = runtime->interpreters.head; in _PyRuntimeState_ReInitThreads() local 576 free_interpreter(PyInterpreterState *interp) in free_interpreter() 612 init_interpreter(PyInterpreterState *interp, in init_interpreter() 700 PyInterpreterState *interp; in _PyInterpreterState_New() local 763 PyInterpreterState *interp; in PyInterpreterState_New() local 773 interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate) in interpreter_clear() 916 PyInterpreterState_Clear(PyInterpreterState *interp) in PyInterpreterState_Clear() 940 PyInterpreterState_Delete(PyInterpreterState *interp) in PyInterpreterState_Delete() 1013 PyInterpreterState *interp = interpreters->head; in _PyInterpreterState_DeleteExceptMain() local 1045 set_main_thread(PyInterpreterState *interp, PyThreadState *tstate) in set_main_thread() [all …]
|
D | crossinterp_exceptions.h | 31 _init_not_shareable_error_type(PyInterpreterState *interp) in _init_not_shareable_error_type() 46 _fini_not_shareable_error_type(PyInterpreterState *interp) in _fini_not_shareable_error_type() 52 _get_not_shareable_error_type(PyInterpreterState *interp) in _get_not_shareable_error_type() 62 init_exceptions(PyInterpreterState *interp) in init_exceptions() 90 fini_exceptions(PyInterpreterState *interp) in fini_exceptions()
|
D | ceval_gil.c | 79 update_eval_breaker_for_thread(PyInterpreterState *interp, PyThreadState *tstate) in update_eval_breaker_for_thread() 222 drop_gil(PyInterpreterState *interp, PyThreadState *tstate, int final_release) in drop_gil() 312 PyInterpreterState *interp = tstate->interp; in take_gil() local 419 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyEval_SetSwitchInterval() local 427 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyEval_GetSwitchInterval() local 440 PyInterpreterState *interp = _PyInterpreterState_Main(); in _PyEval_ThreadsInitialized() local 474 init_shared_gil(PyInterpreterState *interp, struct _gil_runtime_state *gil) in init_shared_gil() 482 init_own_gil(PyInterpreterState *interp, struct _gil_runtime_state *gil) in init_own_gil() 517 _PyEval_FiniGIL(PyInterpreterState *interp) in _PyEval_FiniGIL() 589 _PyEval_ReleaseLock(PyInterpreterState *interp, in _PyEval_ReleaseLock() [all …]
|
D | import.c | 40 is_interpreter_isolated(PyInterpreterState *interp) in is_interpreter_isolated() 79 #define MODULES(interp) \ argument 81 #define MODULES_BY_INDEX(interp) \ argument 83 #define IMPORTLIB(interp) \ argument 85 #define OVERRIDE_MULTI_INTERP_EXTENSIONS_CHECK(interp) \ argument 87 #define OVERRIDE_FROZEN_MODULES(interp) \ argument 90 # define DLOPENFLAGS(interp) \ argument 93 #define IMPORT_FUNC(interp) \ argument 96 #define IMPORT_LOCK(interp) \ argument 99 #define FIND_AND_LOAD(interp) \ argument [all …]
|
D | _warnings.c | 27 check_interp(PyInterpreterState *interp) in check_interp() 41 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_current_interp() local 58 warnings_get_state(PyInterpreterState *interp) in warnings_get_state() 97 init_filters(PyInterpreterState *interp) in init_filters() 132 _PyWarnings_InitState(PyInterpreterState *interp) in _PyWarnings_InitState() 165 check_matched(PyInterpreterState *interp, PyObject *obj, PyObject *arg) in check_matched() 193 #define GET_WARNINGS_ATTR(interp, ATTR, try_import) \ argument 201 get_warnings_attr(PyInterpreterState *interp, PyObject *attr, int try_import) in get_warnings_attr() 237 get_once_registry(PyInterpreterState *interp) in get_once_registry() 265 get_default_action(PyInterpreterState *interp) in get_default_action() [all …]
|
D | crossinterp.c | 30 _Py_CallInInterpreter(PyInterpreterState *interp, in _Py_CallInInterpreter() 42 _Py_CallInInterpreterAndRawFree(PyInterpreterState *interp, in _Py_CallInInterpreterAndRawFree() 88 PyInterpreterState *interp = PyInterpreterState_Get(); in _PyCrossInterpreterData_Free() local 125 PyInterpreterState *interp, in _PyCrossInterpreterData_Init() 149 PyInterpreterState *interp, in _PyCrossInterpreterData_InitWithSize() 167 _PyCrossInterpreterData_Clear(PyInterpreterState *interp, in _PyCrossInterpreterData_Clear() 204 _set_xid_lookup_failure(PyInterpreterState *interp, in _set_xid_lookup_failure() 226 PyInterpreterState *interp = PyInterpreterState_Get(); in _PyObject_CheckCrossInterpreterData() local 241 PyInterpreterState *interp = tstate->interp; in _PyObject_GetCrossInterpreterData() local 301 PyInterpreterState *interp = _PyInterpreterState_LookUpID( in _xidata_release() local [all …]
|
D | brc.c | 30 get_bucket(PyInterpreterState *interp, uintptr_t tid) in get_bucket() 56 PyInterpreterState *interp = _PyInterpreterState_GET(); in _Py_brc_queue_object() local 135 _Py_brc_init_state(PyInterpreterState *interp) in _Py_brc_init_state() 196 _Py_brc_after_fork(PyInterpreterState *interp) in _Py_brc_after_fork()
|
D | pylifecycle.c | 479 PyInterpreterState *interp = tstate->interp; in pyinit_core_reconfigure() local 551 init_interp_settings(PyInterpreterState *interp, in init_interp_settings() 626 PyInterpreterState *interp = _PyInterpreterState_GET(); in builtins_dict_watcher() local 642 PyInterpreterState *interp; in pycore_create_interpreter() local 703 pycore_init_global_objects(PyInterpreterState *interp) in pycore_init_global_objects() 725 pycore_init_types(PyInterpreterState *interp) in pycore_init_types() 784 PyInterpreterState *interp = tstate->interp; in pycore_init_builtins() local 852 PyInterpreterState *interp = tstate->interp; in pycore_interp_init() local 1135 PyInterpreterState *interp = tstate->interp; in run_presite() local 1169 PyInterpreterState *interp = tstate->interp; in init_interp_main() local [all …]
|
D | crossinterp_data_lookup.h | 6 lookup_getdata(PyInterpreterState *interp, PyObject *obj) in lookup_getdata() 17 PyInterpreterState *interp = PyInterpreterState_Get(); in _PyCrossInterpreterData_Lookup() local 67 xid_lookup_init(PyInterpreterState *interp) in xid_lookup_init() 76 xid_lookup_fini(PyInterpreterState *interp) in xid_lookup_fini() 114 _get_xidregistry(PyInterpreterState *interp) in _get_xidregistry() 120 _get_xidregistry_for_type(PyInterpreterState *interp, PyTypeObject *cls) in _get_xidregistry_for_type() 159 _lookup_getdata_from_registry(PyInterpreterState *interp, PyObject *obj) in _lookup_getdata_from_registry() 254 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCrossInterpreterData_RegisterClass() local 276 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCrossInterpreterData_UnregisterClass() local
|
D | gc_free_threading.c | 54 PyInterpreterState *interp; member 245 gc_visit_heaps_lock_held(PyInterpreterState *interp, mi_block_visit_fun *visitor, in gc_visit_heaps_lock_held() 297 gc_visit_heaps(PyInterpreterState *interp, mi_block_visit_fun *visitor, in gc_visit_heaps() 337 merge_all_queued_objects(PyInterpreterState *interp, struct collection_state *state) in merge_all_queued_objects() 347 process_delayed_frees(PyInterpreterState *interp) in process_delayed_frees() 601 deduce_unreachable_heap(PyInterpreterState *interp, in deduce_unreachable_heap() 753 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_gc_state() local 767 _PyGC_Init(PyInterpreterState *interp) in _PyGC_Init() 1108 gc_collect_internal(PyInterpreterState *interp, struct collection_state *state, int generation) in gc_collect_internal() 1231 PyInterpreterState *interp = tstate->interp; in gc_collect_main() local [all …]
|
D | instrumentation.c | 895 PyInterpreterState *interp, PyThreadState *tstate, PyObject **args, in call_one_instrument() 936 global_version(PyInterpreterState *interp) in global_version() 966 PyInterpreterState *interp = tstate->interp; in set_global_version() local 986 is_version_up_to_date(PyCodeObject *code, PyInterpreterState *interp) in is_version_up_to_date() 994 instrumentation_cross_checks(PyInterpreterState *interp, PyCodeObject *code) in instrumentation_cross_checks() 1004 debug_check_sanity(PyInterpreterState *interp, PyCodeObject *code) in debug_check_sanity() 1017 get_tools_for_instruction(PyCodeObject *code, PyInterpreterState *interp, int i, int event) in get_tools_for_instruction() 1085 PyInterpreterState *interp = tstate->interp; in call_instrumentation_vector() local 1232 PyInterpreterState *interp = tstate->interp; in _Py_call_instrumentation_line() local 1355 PyInterpreterState *interp = tstate->interp; in _Py_call_instrumentation_instruction() local [all …]
|
D | qsbr.c | 191 _Py_qsbr_reserve(PyInterpreterState *interp) in _Py_qsbr_reserve() 220 _Py_qsbr_register(_PyThreadStateImpl *tstate, PyInterpreterState *interp, in _Py_qsbr_register() 263 _Py_qsbr_fini(PyInterpreterState *interp) in _Py_qsbr_fini()
|
/external/pytorch/aten/src/ATen/xpu/ |
D | XPUEvent.h | 27 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in ~XPUEvent() local 90 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in record() local 107 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in record() local 121 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in block() local 149 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in synchronize() local
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_interp.c | 72 struct lp_linear_interp *interp = (struct lp_linear_interp *)elem; in interp_0_8() local 98 struct lp_linear_interp *interp = (struct lp_linear_interp *)elem; in interp_noop() local 106 struct lp_linear_interp *interp = (struct lp_linear_interp *)elem; in interp_check() local 116 lp_linear_init_noop_interp(struct lp_linear_interp *interp) in lp_linear_init_noop_interp() 124 lp_linear_init_interp(struct lp_linear_interp *interp, in lp_linear_init_interp() 234 lp_linear_init_interp(struct lp_linear_interp *interp, in lp_linear_init_interp()
|
/external/python/cpython3/Modules/ |
D | _interpretersmodule.c | 60 is_running_main(PyInterpreterState *interp) in is_running_main() 106 PyInterpreterState *interp = _PyInterpreterState_LookUpID(self->interpid); in xibufferview_dealloc() local 455 _run_in_interpreter(PyInterpreterState *interp, in _run_in_interpreter() 499 get_whence(PyInterpreterState *interp) in get_whence() 508 PyInterpreterState *interp; in resolve_interp() local 548 get_summary(PyInterpreterState *interp) in get_summary() 628 PyInterpreterState *interp = \ in interp_create() local 685 PyInterpreterState *interp = \ in interp_destroy() local 742 PyInterpreterState *interp = PyInterpreterState_Head(); in interp_list_all() local 774 PyInterpreterState *interp =_get_current_interp(); in interp_get_current() local [all …]
|
D | gcmodule.c | 17 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_gc_state() local 236 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_referrers_impl() local 283 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_referents_impl() local 333 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_objects_impl() local 433 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_freeze_impl() local 450 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_unfreeze_impl() local 465 PyInterpreterState *interp = _PyInterpreterState_GET(); in gc_get_freeze_count_impl() local
|
D | atexitmodule.c | 21 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_atexit_state() local 27 PyUnstable_AtExit(PyInterpreterState *interp, in PyUnstable_AtExit() 82 _PyAtExit_Init(PyInterpreterState *interp) in _PyAtExit_Init() 99 _PyAtExit_Fini(PyInterpreterState *interp) in _PyAtExit_Fini() 155 _PyAtExit_Call(PyInterpreterState *interp) in _PyAtExit_Call()
|
D | _testinternalcapi.c | 857 PyInterpreterState *interp = NULL; in get_interp_settings() local 1048 PyInterpreterState *interp = PyInterpreterState_Get(); in invalidate_executors() local 1083 PyInterpreterState *interp = _PyInterpreterState_GET(); in pending_threadfunc() local 1147 PyInterpreterState *interp = _PyInterpreterState_LookUpIDObject(interpid); in pending_identify() local 1442 PyInterpreterState *interp = NULL; in _new_interpreter() local 1528 PyInterpreterState *interp = _new_interpreter(config, whence); in create_interpreter() local 1557 PyInterpreterState *interp = _PyInterpreterState_LookUpIDObject(idobj); in destroy_interpreter() local 1582 PyInterpreterState *interp = _PyInterpreterState_LookUpIDObject(idobj); in exec_interpreter() local 1654 PyInterpreterState *interp = \ in run_in_subinterp_with_config() local 1725 PyInterpreterState *interp = _PyInterpreterState_LookUpIDObject(idobj); in interpreter_exists() local [all …]
|
/external/python/cpython3/Include/internal/ |
D | pycore_pystate.h | 64 _Py_IsMainInterpreter(PyInterpreterState *interp) in _Py_IsMainInterpreter() 70 _Py_IsMainInterpreterFinalizing(PyInterpreterState *interp) in _Py_IsMainInterpreterFinalizing() 96 PyInterpreterState *interp = _PyInterpreterState_Main(); in _Py_GetMainConfig() local 106 _Py_ThreadCanHandleSignals(PyInterpreterState *interp) in _Py_ThreadCanHandleSignals()
|
/external/pytorch/aten/src/ATen/cuda/ |
D | CUDAEvent.h | 48 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in ~CUDAEvent() local 122 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in record() local 138 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in block() local 165 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in synchronize() local 195 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in createEvent() local
|
/external/pytorch/c10/cuda/impl/ |
D | CUDAGuardImpl.h | 99 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in createEvent() local 114 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in destroyEvent() local 149 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in record() local 172 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in block() local 213 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in synchronizeEvent() local
|
/external/pytorch/c10/xpu/impl/ |
D | XPUGuardImpl.h | 78 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in destroyEvent() local 109 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in record() local 125 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in block() local 158 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in synchronizeEvent() local
|
/external/python/cpython3/Objects/ |
D | object.c | 75 # define REFTOTAL(interp) \ argument 107 _PyInterpreterState_FinalizeRefTotal(PyInterpreterState *interp) in _PyInterpreterState_FinalizeRefTotal() 114 get_reftotal(PyInterpreterState *interp) in get_reftotal() 136 PyInterpreterState *interp = PyInterpreterState_Head(); in get_global_reftotal() local 169 #define REFCHAIN(interp) interp->object_state.refchain argument 173 has_own_refchain(PyInterpreterState *interp) in has_own_refchain() 183 refchain_init(PyInterpreterState *interp) in refchain_init() 206 refchain_fini(PyInterpreterState *interp) in refchain_fini() 215 _PyRefchain_IsTraced(PyInterpreterState *interp, PyObject *obj) in _PyRefchain_IsTraced() 222 _PyRefchain_Trace(PyInterpreterState *interp, PyObject *obj) in _PyRefchain_Trace() [all …]
|
/external/pytorch/c10/cuda/ |
D | CUDAFunctions.h | 87 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in memcpy_and_sync() local 105 const c10::impl::PyInterpreter* interp = c10::impl::GPUTrace::get_trace(); in stream_synchronize() local
|
/external/python/cpython3/Modules/_testcapi/ |
D | code.c | 5 get_code_extra_index(PyInterpreterState* interp) { in get_code_extra_index() 54 PyInterpreterState *interp = PyInterpreterState_Get(); in test_code_extra() local
|