/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 | 24 typedef struct _is PyInterpreterState; typedef 169 } PyInterpreterState; typedef 217 PyInterpreterState *interp; 308 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void); 309 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *); 310 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *); 313 PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *); 328 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); 330 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); 429 PyAPI_FUNC(PyInterpreterState *) _PyGILState_GetInterpreterStateUnsafe(void); [all …]
|
D | pylifecycle.h | 57 PyInterpreterState **interp_p, 90 PyInterpreterState *interp, 170 PyAPI_FUNC(_PyInitError) _PyImport_Init(PyInterpreterState *interp);
|
D | traceback.h | 81 PyInterpreterState *interp,
|
D | import.h | 45 PyAPI_FUNC(int) _PyImport_IsInitialized(PyInterpreterState *);
|
/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()
|
D | import.c | 389 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear() 399 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() 433 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() 2768 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_ReloadModule()
|
D | modsupport.c | 37 PyInterpreterState *interp = PyThreadState_Get()->interp; in Py_InitModule4()
|
/external/python/cpython3/Python/ |
D | pystate.c | 122 PyInterpreterState * 125 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() 126 PyMem_RawMalloc(sizeof(PyInterpreterState)); in PyInterpreterState_New() 194 PyInterpreterState_Clear(PyInterpreterState *interp) in PyInterpreterState_Clear() 222 zapthreads(PyInterpreterState *interp) in zapthreads() 234 PyInterpreterState_Delete(PyInterpreterState *interp) in PyInterpreterState_Delete() 236 PyInterpreterState **p; in PyInterpreterState_Delete() 263 PyInterpreterState_GetID(PyInterpreterState *interp) in PyInterpreterState_GetID() 273 PyInterpreterState * 279 PyInterpreterState *interp = PyInterpreterState_Head(); in _PyInterpreterState_LookUpID() [all …]
|
D | pylifecycle.c | 56 static _PyInitError add_main_module(PyInterpreterState *interp); 57 static _PyInitError initfsencoding(PyInterpreterState *interp); 59 static _PyInitError init_sys_streams(PyInterpreterState *interp); 61 static void call_py_exitfuncs(PyInterpreterState *); 76 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); 288 initimport(PyInterpreterState *interp, PyObject *sysmod) in initimport() 344 initexternalimport(PyInterpreterState *interp) in initexternalimport() 595 _Py_Initialize_ReconfigureCore(PyInterpreterState *interp, in _Py_Initialize_ReconfigureCore() 634 _Py_InitializeCore_impl(PyInterpreterState **interp_p, in _Py_InitializeCore_impl() 637 PyInterpreterState *interp; in _Py_InitializeCore_impl() [all …]
|
D | import.c | 46 _PyImport_Init(PyInterpreterState *interp) in _PyImport_Init() 308 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() 320 _PyImport_IsInitialized(PyInterpreterState *interp) in _PyImport_IsInitialized() 401 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() 592 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_GetMagicNumber() 891 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ExecCodeModuleWithPathnames() 971 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ExecCodeModuleObject() 1618 PyInterpreterState *interp = PyThreadState_GET()->interp; in import_find_and_load() 1679 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ImportModuleLevelObject()
|
D | codecs.c | 35 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() 102 PyInterpreterState *interp; in _PyCodec_Lookup() 192 PyInterpreterState *interp; in _PyCodec_Forget() 629 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError() 647 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError() 1499 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
|
/external/python/cpython3/Include/internal/ |
D | pystate.h | 28 PyInterpreterState *autoInterpreterState; 70 PyAPI_FUNC(PyInterpreterState *) _PyInterpreterState_LookUpID(PY_INT64_T); 72 PyAPI_FUNC(int) _PyInterpreterState_IDInitref(PyInterpreterState *); 73 PyAPI_FUNC(void) _PyInterpreterState_IDIncref(PyInterpreterState *); 74 PyAPI_FUNC(void) _PyInterpreterState_IDDecref(PyInterpreterState *); 85 PyInterpreterState *head; 86 PyInterpreterState *main;
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 32 PyInterpreterState *interp = ts->interp; in print_subinterp() 318 PyInterpreterState *interp = PyThreadState_Get()->interp; in dump_config_impl()
|
/external/python/cpython3/Modules/ |
D | faulthandler.c | 55 PyInterpreterState *interp; 67 PyInterpreterState *interp; 88 PyInterpreterState *interp; 219 PyInterpreterState *interp) in faulthandler_dump_traceback()
|
/external/python/cpython2/Doc/c-api/ |
D | init.rst | 495 .. c:type:: PyInterpreterState 511 data member is :c:type:`PyInterpreterState \*`:attr:`interp`, which points to 697 .. c:function:: PyInterpreterState* PyInterpreterState_New() 704 .. c:function:: void PyInterpreterState_Clear(PyInterpreterState *interp) 710 .. c:function:: void PyInterpreterState_Delete(PyInterpreterState *interp) 717 .. c:function:: PyThreadState* PyThreadState_New(PyInterpreterState *interp) 1126 .. c:function:: PyInterpreterState* PyInterpreterState_Head() 1133 .. c:function:: PyInterpreterState* PyInterpreterState_Next(PyInterpreterState *interp) 1141 .. c:function:: PyThreadState * PyInterpreterState_ThreadHead(PyInterpreterState *interp) 1152 objects belonging to the same :c:type:`PyInterpreterState` object.
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 788 .. c:type:: PyInterpreterState 804 data member is :c:type:`PyInterpreterState \*`:attr:`interp`, which points to 981 .. c:function:: PyInterpreterState* PyInterpreterState_New() 988 .. c:function:: void PyInterpreterState_Clear(PyInterpreterState *interp) 994 .. c:function:: void PyInterpreterState_Delete(PyInterpreterState *interp) 1001 .. c:function:: PyThreadState* PyThreadState_New(PyInterpreterState *interp) 1021 .. c:function:: PY_INT64_T PyInterpreterState_GetID(PyInterpreterState *interp) 1380 .. c:function:: PyInterpreterState* PyInterpreterState_Head() 1385 .. c:function:: PyInterpreterState* PyInterpreterState_Next(PyInterpreterState *interp) 1391 .. c:function:: PyThreadState * PyInterpreterState_ThreadHead(PyInterpreterState *interp) [all …]
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 216 static PyInterpreterState *the_interp;
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 431 PyInterpreterState *interp = PyThreadState_Get()->interp; in code_dealloc() 867 PyInterpreterState *interp = PyThreadState_Get()->interp; in _PyCode_SetExtra()
|
D | moduleobject.c | 695 PyInterpreterState *interp = tstate->interp; in module_repr()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 564 PyInterpreterState_Clear:PyInterpreterState*:interp:: 567 PyInterpreterState_Delete:PyInterpreterState*:interp:: 569 PyInterpreterState_New:PyInterpreterState*::: 1354 PyThreadState_New:PyInterpreterState*:interp::
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1035 PyInterpreterState_Clear:PyInterpreterState*:interp:: 1038 PyInterpreterState_Delete:PyInterpreterState*:interp:: 1041 PyInterpreterState_GetID:PyInterpreterState*:interp:: 1043 PyInterpreterState_New:PyInterpreterState*::: 2171 PyThreadState_New:PyInterpreterState*:interp::
|
/external/python/cpython2/Modules/ |
D | threadmodule.c | 601 PyInterpreterState *interp;
|