Home
last modified time | relevance | path

Searched refs:_PyInterpreterState_GET_UNSAFE (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Python/
Ddynload_hpux.c24 int verbose = _PyInterpreterState_GET_UNSAFE()->config.verbose; in _PyImport_FindSharedFuncptr()
Dthread_nt.h361 _PyInterpreterState_GET_UNSAFE()->pythread_stacksize = 0; in _pythread_nt_set_stacksize()
367 _PyInterpreterState_GET_UNSAFE()->pythread_stacksize = size; in _pythread_nt_set_stacksize()
Dpystate.c648 PyInterpreterState *state = _PyInterpreterState_GET_UNSAFE(); in PyState_FindModule()
676 state = _PyInterpreterState_GET_UNSAFE(); in _PyState_AddModule()
694 PyInterpreterState *state = _PyInterpreterState_GET_UNSAFE(); in PyState_AddModule()
719 state = _PyInterpreterState_GET_UNSAFE(); in PyState_RemoveModule()
740 PyInterpreterState *state = _PyInterpreterState_GET_UNSAFE(); in _PyState_ClearModules()
Dthread_pthread.h715 _PyInterpreterState_GET_UNSAFE()->pythread_stacksize = 0; in _pythread_pthread_set_stacksize()
732 _PyInterpreterState_GET_UNSAFE()->pythread_stacksize = size; in _pythread_pthread_set_stacksize()
Dsysmodule.c65 PyObject *sd = _PyInterpreterState_GET_UNSAFE()->sysdict; in _PySys_GetObjectId()
75 PyObject *sd = _PyInterpreterState_GET_UNSAFE()->sysdict; in PySys_GetObject()
85 PyObject *sd = _PyInterpreterState_GET_UNSAFE()->sysdict; in _PySys_SetObjectId()
102 PyObject *sd = _PyInterpreterState_GET_UNSAFE()->sysdict; in PySys_SetObject()
753 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in sys_getfilesystemencoding_impl()
768 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in sys_getfilesystemencodeerrors_impl()
Dimport.c312 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyImport_GetModuleDict()
916 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyImport_ExecCodeModuleWithPathnames()
998 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyImport_ExecCodeModuleObject()
1658 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in import_find_and_load()
1730 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyImport_ImportModuleLevelObject()
D_warnings.c209 if (!_PyInterpreterState_GET_UNSAFE()->modules) { in get_warnings_attr()
838 globals = _PyInterpreterState_GET_UNSAFE()->sysdict; in setup_context()
Dcodecs.c110 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in _PyCodec_Lookup()
649 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyCodec_LookupError()
Dpythonrun.c585 int inspect = _PyInterpreterState_GET_UNSAFE()->config.inspect; in _Py_HandleSystemExit()
Dbltinmodule.c2773 const PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in _PyBuiltin_Init()
Dceval.c740 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyEval_EvalFrameEx()
5572 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in _PyEval_RequestCodeExtraIndex()
Dcompile.c319 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in PyAST_CompileObject()
/external/python/cpython3/Include/internal/
Dpycore_pystate.h299 #define _PyInterpreterState_GET_UNSAFE() (_PyThreadState_GET()->interp) macro
/external/python/cpython3/Objects/
Dmoduleobject.c593 int verbose = _PyInterpreterState_GET_UNSAFE()->config.verbose; in _PyModule_ClearDict()
680 int verbose = _PyInterpreterState_GET_UNSAFE()->config.verbose; in module_dealloc()
Dcodeobject.c537 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in code_dealloc()
1056 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in _PyCode_SetExtra()
Dbytearrayobject.c1002 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in bytearray_str()
1028 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in bytearray_richcompare()
Dbytesobject.c1413 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in bytes_str()
1571 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in bytes_richcompare()
Dunicodeobject.c3550 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyUnicode_EncodeFSDefault()
3787 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in PyUnicode_DecodeFSDefaultAndSize()
15827 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in _PyUnicode_EnableLegacyWindowsFSEncoding()
15874 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in _PyUnicode_Fini()
/external/python/cpython3/Modules/
Dmain.c512 PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); in pymain_run_python()
/external/python/cpython3/Modules/_io/
D_iomodule.c380 PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in _io_open_impl()
Diobase.c291 const PyConfig *config = &_PyInterpreterState_GET_UNSAFE()->config; in iobase_finalize()