/external/python/cpython3/Include/cpython/ |
D | pystate.h | 11 PyAPI_FUNC(int) _PyInterpreterState_RequiresIDRef(PyInterpreterState *); 12 PyAPI_FUNC(void) _PyInterpreterState_RequireIDRef(PyInterpreterState *, int); 14 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetMainModule(PyInterpreterState *); 56 PyInterpreterState *interp; 146 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); 169 PyAPI_FUNC(PyInterpreterState *) _PyGILState_GetInterpreterStateUnsafe(void); 178 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Main(void); 179 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void); 180 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *); 181 PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *); [all …]
|
D | interpreteridobject.h | 14 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 15 PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
|
D | import.h | 11 PyAPI_FUNC(int) _PyImport_IsInitialized(PyInterpreterState *);
|
/external/python/cpython2/Include/ |
D | pystate.h | 37 } PyInterpreterState; typedef 60 PyInterpreterState *interp; 106 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void); 107 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *); 108 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *); 110 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); 111 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); 187 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void); 188 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *); 189 PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *);
|
/external/python/cpython3/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);
|
/external/python/cpython2/Python/ |
D | pystate.c | 39 static PyInterpreterState *autoInterpreterState = NULL; 47 static PyInterpreterState *interp_head = NULL; 57 PyInterpreterState * 60 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() 61 malloc(sizeof(PyInterpreterState)); in PyInterpreterState_New() 99 PyInterpreterState_Clear(PyInterpreterState *interp) in PyInterpreterState_Clear() 117 zapthreads(PyInterpreterState *interp) in zapthreads() 129 PyInterpreterState_Delete(PyInterpreterState *interp) in PyInterpreterState_Delete() 131 PyInterpreterState **p; in PyInterpreterState_Delete() 157 new_threadstate(PyInterpreterState *interp, int init) in new_threadstate() [all …]
|
D | codecs.c | 31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() 96 PyInterpreterState *interp; in _PyCodec_Lookup() 565 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError() 583 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError() 1001 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
|
D | pythonrun.c | 64 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); 164 PyInterpreterState *interp; in Py_InitializeEx() 413 PyInterpreterState *interp; in Py_Finalize() 587 PyInterpreterState *interp; in Py_NewInterpreter() 663 PyInterpreterState *interp = tstate->interp; in Py_EndInterpreter()
|
/external/python/cpython3/Python/ |
D | pystate.c | 196 PyInterpreterState * 206 PyInterpreterState *interp = PyMem_RawCalloc(1, sizeof(PyInterpreterState)); in PyInterpreterState_New() 277 PyInterpreterState_Clear(PyInterpreterState *interp) in PyInterpreterState_Clear() 323 zapthreads(PyInterpreterState *interp, int check_current) in zapthreads() 335 PyInterpreterState_Delete(PyInterpreterState *interp) in PyInterpreterState_Delete() 347 PyInterpreterState **p; in PyInterpreterState_Delete() 392 PyInterpreterState *interp = interpreters->head; in _PyInterpreterState_DeleteExceptMain() 407 PyInterpreterState *prev_interp = interp; in _PyInterpreterState_DeleteExceptMain() 420 PyInterpreterState * 425 PyInterpreterState *interp = tstate->interp; in PyInterpreterState_Get() [all …]
|
D | pylifecycle.c | 56 static PyStatus add_main_module(PyInterpreterState *interp); 147 PyInterpreterState *interp = tstate->interp; in init_importlib() 457 PyInterpreterState *interp = tstate->interp; in pyinit_core_reconfigure() 550 PyInterpreterState *interp = PyInterpreterState_New(); in pycore_create_interpreter() 646 PyInterpreterState *interp = tstate->interp; in pycore_init_builtins() 971 PyInterpreterState *interp = tstate->interp; in init_interp_main() 1088 PyInterpreterState *interp = tstate->interp; in pyinit_main() 1551 PyInterpreterState *interp = PyInterpreterState_New(); in new_interpreter() 1574 PyInterpreterState *main_interp = PyInterpreterState_Main(); in new_interpreter() 1648 PyInterpreterState *interp = tstate->interp; in Py_EndInterpreter() [all …]
|
D | codecs.c | 36 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_Register() 108 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodec_Lookup() 191 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodec_Forget() 624 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_RegisterError() 642 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_LookupError() 1494 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodecRegistry_Init()
|
D | import.c | 311 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_GetModuleDict() 323 _PyImport_IsInitialized(PyInterpreterState *interp) in _PyImport_IsInitialized() 386 PyInterpreterState *interp = tstate->interp; in import_ensure_initialized() 433 PyInterpreterState *interp = tstate->interp; in _PyImport_Cleanup() 645 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_GetMagicNumber() 984 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyImport_ExecCodeModuleWithPathnames() 1732 PyInterpreterState *interp = tstate->interp; in import_find_and_load() 1822 PyInterpreterState *interp = tstate->interp; in PyImport_ImportModuleLevelObject()
|
D | sysmodule.c | 142 should_audit(PyInterpreterState *is) in should_audit() 175 PyInterpreterState *is = ts->interp; in sys_audit_tstate() 436 PyInterpreterState *is = tstate->interp; in sys_addaudithook_impl() 849 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getfilesystemencoding_impl() 864 PyInterpreterState *interp = _PyInterpreterState_GET(); in sys_getfilesystemencodeerrors_impl() 2458 PyInterpreterState *interp = tstate->interp; in make_flags() 3018 PyInterpreterState *interp = tstate->interp; in _PySys_Create()
|
/external/python/cpython3/Include/internal/ |
D | pycore_runtime.h | 38 PyInterpreterState *autoInterpreterState; 74 PyInterpreterState *head; 75 PyInterpreterState *main;
|
D | pycore_pystate.h | 35 _Py_ThreadCanHandleSignals(PyInterpreterState *interp) in _Py_ThreadCanHandleSignals() 100 static inline PyInterpreterState* _PyInterpreterState_GET(void) { in _PyInterpreterState_GET()
|
D | pycore_interp.h | 160 extern void _PyInterpreterState_ClearModules(PyInterpreterState *interp); 163 PyInterpreterState *interp,
|
D | pycore_ceval.h | 21 PyAPI_FUNC(void) _PyEval_SignalReceived(PyInterpreterState *interp); 23 PyInterpreterState *interp,
|
D | pycore_pylifecycle.h | 85 extern void _PyWarnings_Fini(PyInterpreterState *interp);
|
/external/python/cpython3/Objects/ |
D | interpreteridobject.c | 17 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in newinterpid() 86 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in interpid_dealloc() 268 _PyInterpreterState_GetIDObject(PyInterpreterState *interp) in _PyInterpreterState_GetIDObject() 280 PyInterpreterState *
|
/external/python/cpython3/Parser/ |
D | listnode.c | 23 PyInterpreterState *interp = _PyInterpreterState_GET(); in listnode() 33 PyInterpreterState *interp; in list1node()
|
/external/python/cpython3/Modules/ |
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() 1835 _is_running(PyInterpreterState *interp) in _is_running() 1857 _ensure_not_running(PyInterpreterState *interp) in _ensure_not_running() 1871 _run_script(PyInterpreterState *interp, const char *codestr, in _run_script() 1930 _run_script_in_interpreter(PyInterpreterState *interp, const char *codestr, in _run_script_in_interpreter() 2024 PyInterpreterState *interp = PyThreadState_GetInterpreter(tstate); in interp_create() 2055 PyInterpreterState *interp = _PyInterpreterID_LookUp(id); in interp_destroy() [all …]
|
D | faulthandler.c | 54 PyInterpreterState *interp; 65 PyInterpreterState *interp; 85 PyInterpreterState *interp; 222 PyInterpreterState *interp) in faulthandler_dump_traceback()
|
D | main.c | 158 pymain_sys_path_add_path0(PyInterpreterState *interp, PyObject *path0) in pymain_sys_path_add_path0() 545 PyInterpreterState *interp = _PyInterpreterState_GET(); in pymain_run_python()
|
D | _threadmodule.c | 1020 PyInterpreterState *interp; 1089 PyInterpreterState *interp = _PyInterpreterState_GET(); in thread_PyThread_start_new_thread() 1221 PyInterpreterState *interp = _PyInterpreterState_GET(); in thread__count() 1564 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyInit__thread()
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 803 :c:type:`PyInterpreterState` objects. Due to this and the special 817 .. c:type:: PyInterpreterState 833 data member is :attr:`interp` (:c:type:`PyInterpreterState *`), which points to 1019 .. c:function:: PyInterpreterState* PyInterpreterState_New() 1028 .. c:function:: void PyInterpreterState_Clear(PyInterpreterState *interp) 1036 .. c:function:: void PyInterpreterState_Delete(PyInterpreterState *interp) 1043 .. c:function:: PyThreadState* PyThreadState_New(PyInterpreterState *interp) 1098 .. c:function:: PyInterpreterState* PyThreadState_GetInterpreter(PyThreadState *tstate) 1107 .. c:function:: PyInterpreterState* PyInterpreterState_Get(void) 1119 .. c:function:: int64_t PyInterpreterState_GetID(PyInterpreterState *interp) [all …]
|