| /third_party/python/Include/internal/ |
| D | pycore_pylifecycle.h | 52 extern PyStatus _PyUnicode_Init(PyInterpreterState *interp); 54 extern PyStatus _PyBytes_Init(PyInterpreterState *interp); 56 extern int _PyLong_Init(PyInterpreterState *interp); 58 extern PyStatus _PyTuple_Init(PyInterpreterState *interp); 61 extern PyObject * _PyBuiltin_Init(PyInterpreterState *interp); 68 extern PyStatus _PyExc_Init(PyInterpreterState *interp); 78 extern PyStatus _PyGC_Init(PyInterpreterState *interp); 79 extern PyStatus _PyAtExit_Init(PyInterpreterState *interp); 84 extern void _PyFrame_Fini(PyInterpreterState *interp); 85 extern void _PyDict_Fini(PyInterpreterState *interp); [all …]
|
| D | pycore_gc.h | 170 extern void _PyFrame_ClearFreeList(PyInterpreterState *interp); 171 extern void _PyTuple_ClearFreeList(PyInterpreterState *interp); 172 extern void _PyFloat_ClearFreeList(PyInterpreterState *interp); 173 extern void _PyList_ClearFreeList(PyInterpreterState *interp); 174 extern void _PyDict_ClearFreeList(PyInterpreterState *interp); 175 extern void _PyAsyncGen_ClearFreeLists(PyInterpreterState *interp); 176 extern void _PyContext_ClearFreeList(PyInterpreterState *interp);
|
| D | pycore_ceval.h | 21 PyAPI_FUNC(void) _PyEval_SignalReceived(PyInterpreterState *interp); 23 PyInterpreterState *interp, 26 PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyInterpreterState *interp); 56 extern int _PyEval_ThreadsInitialized(PyInterpreterState *interp); 61 extern void _PyEval_FiniGIL(PyInterpreterState *interp);
|
| D | pycore_runtime.h | 40 PyInterpreterState *autoInterpreterState; 83 PyInterpreterState *head; 84 PyInterpreterState *main;
|
| D | pycore_pystate.h | 25 _Py_IsMainInterpreter(PyInterpreterState *interp) in _Py_IsMainInterpreter() 35 _Py_ThreadCanHandleSignals(PyInterpreterState *interp) in _Py_ThreadCanHandleSignals() 112 static inline PyInterpreterState* _PyInterpreterState_GET(void) { in _PyInterpreterState_GET()
|
| D | pycore_object.h | 30 extern void _PyType_InitCache(PyInterpreterState *interp); 90 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyObject_GC_TRACK()
|
| D | pycore_warnings.h | 20 extern int _PyWarnings_InitState(PyInterpreterState *interp);
|
| D | pycore_context.h | 40 void _PyContext_Fini(PyInterpreterState *interp);
|
| D | pycore_long.h | 52 PyInterpreterState *interp = _PyInterpreterState_GET(); in __PyLong_GetSmallInt_internal()
|
| D | pycore_pyerrors.h | 87 PyAPI_FUNC(void) _Py_DumpExtensionModules(int fd, PyInterpreterState *interp);
|
| /third_party/python/Include/cpython/ |
| D | pystate.h | 5 PyAPI_FUNC(int) _PyInterpreterState_RequiresIDRef(PyInterpreterState *); 6 PyAPI_FUNC(void) _PyInterpreterState_RequireIDRef(PyInterpreterState *, int); 8 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetMainModule(PyInterpreterState *); 65 PyInterpreterState *interp; 157 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); 180 PyAPI_FUNC(PyInterpreterState *) _PyGILState_GetInterpreterStateUnsafe(void); 194 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Main(void); 195 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void); 196 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *); 197 PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *); [all …]
|
| D | interpreteridobject.h | 10 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 11 PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
|
| D | import.h | 7 PyAPI_FUNC(int) _PyImport_IsInitialized(PyInterpreterState *);
|
| /third_party/python/Include/ |
| D | pystate.h | 22 typedef struct _is PyInterpreterState; typedef 24 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void); 25 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *); 26 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *); 36 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Get(void); 41 PyAPI_FUNC(PyObject *) PyInterpreterState_GetDict(PyInterpreterState *); 46 PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *); 58 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); 89 PyAPI_FUNC(PyInterpreterState*) PyThreadState_GetInterpreter(PyThreadState *tstate);
|
| /third_party/python/Python/ |
| D | pystate.c | 206 PyInterpreterState * 216 PyInterpreterState *interp = PyMem_RawCalloc(1, sizeof(PyInterpreterState)); in PyInterpreterState_New() 288 interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate) in interpreter_clear() 347 PyInterpreterState_Clear(PyInterpreterState *interp) in PyInterpreterState_Clear() 366 zapthreads(PyInterpreterState *interp, int check_current) in zapthreads() 378 PyInterpreterState_Delete(PyInterpreterState *interp) in PyInterpreterState_Delete() 390 PyInterpreterState **p; in PyInterpreterState_Delete() 436 PyInterpreterState *interp = interpreters->head; in _PyInterpreterState_DeleteExceptMain() 451 PyInterpreterState *prev_interp = interp; in _PyInterpreterState_DeleteExceptMain() 466 PyInterpreterState * [all …]
|
| D | pylifecycle.c | 57 static PyStatus add_main_module(PyInterpreterState *interp); 160 PyInterpreterState *interp = tstate->interp; in init_importlib() 530 PyInterpreterState *interp = tstate->interp; in pyinit_core_reconfigure() 629 PyInterpreterState *interp = PyInterpreterState_New(); in pycore_create_interpreter() 657 pycore_init_singletons(PyInterpreterState *interp) in pycore_init_singletons() 689 pycore_init_types(PyInterpreterState *interp) in pycore_init_types() 743 PyInterpreterState *interp = tstate->interp; in pycore_init_builtins() 792 PyInterpreterState *interp = tstate->interp; in pycore_interp_init() 1066 PyInterpreterState *interp = tstate->interp; in init_interp_main() 1186 PyInterpreterState *interp = tstate->interp; in pyinit_main() [all …]
|
| D | sysmodule.c | 91 _PySys_GetObject(PyInterpreterState *interp, const char *name) in _PySys_GetObject() 115 sys_set_object(PyInterpreterState *interp, PyObject *key, PyObject *v) in sys_set_object() 135 sys_set_object_id(PyInterpreterState *interp, _Py_Identifier *key, PyObject *v) in sys_set_object_id() 143 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PySys_SetObjectId() 148 sys_set_object_str(PyInterpreterState *interp, const char *name, PyObject *v) in sys_set_object_str() 160 PyInterpreterState *interp = _PyInterpreterState_GET(); in PySys_SetObject() 166 should_audit(PyInterpreterState *interp) in should_audit() 198 PyInterpreterState *is = ts->interp; in sys_audit_tstate() 459 PyInterpreterState *interp = tstate->interp; in sys_addaudithook_impl() 871 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getfilesystemencoding_impl() [all …]
|
| D | ceval_gil.h | 232 PyInterpreterState *interp = tstate->interp; in take_gil() 332 PyInterpreterState *interp = PyInterpreterState_Get(); in _PyEval_SetSwitchInterval() 343 PyInterpreterState *interp = PyInterpreterState_Get(); in _PyEval_GetSwitchInterval()
|
| D | import.c | 273 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_GetModuleDict() 285 _PyImport_IsInitialized(PyInterpreterState *interp) in _PyImport_IsInitialized() 305 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyImport_SetModule() 313 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyImport_SetModuleString() 346 import_ensure_initialized(PyInterpreterState *interp, PyObject *mod, PyObject *name) in import_ensure_initialized() 379 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_GetMagicNumber() 731 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_ExecCodeModuleWithPathnames() 1482 PyInterpreterState *interp = tstate->interp; in import_find_and_load() 1572 PyInterpreterState *interp = tstate->interp; in PyImport_ImportModuleLevelObject()
|
| D | codecs.c | 36 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_Register() 56 PyInterpreterState *interp = PyInterpreterState_Get(); in PyCodec_Unregister() 133 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodec_Lookup() 624 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_RegisterError() 642 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_LookupError() 1495 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodecRegistry_Init()
|
| /third_party/python/Objects/ |
| D | interpreteridobject.c | 17 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in newinterpid() 92 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in interpid_dealloc() 274 _PyInterpreterState_GetIDObject(PyInterpreterState *interp) in _PyInterpreterState_GetIDObject() 286 PyInterpreterState *
|
| D | sliceobject.c | 100 void _PySlice_Fini(PyInterpreterState *interp) in _PySlice_Fini() 126 PyInterpreterState *interp = _PyInterpreterState_GET(); in PySlice_New() 333 PyInterpreterState *interp = _PyInterpreterState_GET(); in slice_dealloc()
|
| /third_party/python/Modules/ |
| D | atexitmodule.c | 20 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_atexit_state() 55 _PyAtExit_Init(PyInterpreterState *interp) in _PyAtExit_Init() 72 _PyAtExit_Fini(PyInterpreterState *interp) in _PyAtExit_Fini() 115 _PyAtExit_Call(PyInterpreterState *interp) in _PyAtExit_Call()
|
| D | _xxsubinterpretersmodule.c | 26 static PyInterpreterState * 1285 PyInterpreterState *interp = _get_current(); in _channel_send() 1331 PyInterpreterState *interp = _get_current(); in _channel_recv() 1365 PyInterpreterState *interp = _get_current(); in _channel_drop() 1827 _is_running(PyInterpreterState *interp) in _is_running() 1849 _ensure_not_running(PyInterpreterState *interp) in _ensure_not_running() 1863 _run_script(PyInterpreterState *interp, const char *codestr, in _run_script() 1922 _run_script_in_interpreter(PyInterpreterState *interp, const char *codestr, in _run_script_in_interpreter() 2031 PyInterpreterState *interp = PyThreadState_GetInterpreter(tstate); in interp_create() 2062 PyInterpreterState *interp = _PyInterpreterID_LookUp(id); in interp_destroy() [all …]
|
| D | faulthandler.c | 56 PyInterpreterState *interp; 67 PyInterpreterState *interp; 87 PyInterpreterState *interp; 224 PyInterpreterState *interp) in faulthandler_dump_traceback()
|