Home
last modified time | relevance | path

Searched refs:_Py_INIT_ERR (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Python/
Dpylifecycle.c297 return _Py_INIT_ERR("can't import _frozen_importlib"); in initimport()
304 return _Py_INIT_ERR("couldn't get _frozen_importlib from sys.modules"); in initimport()
311 return _Py_INIT_ERR("__import__ not found"); in initimport()
317 return _Py_INIT_ERR("can't import _imp"); in initimport()
323 return _Py_INIT_ERR("can't save _imp to sys.modules"); in initimport()
330 return _Py_INIT_ERR("importlib install failed"); in initimport()
351 return _Py_INIT_ERR("external importer setup failed"); in initexternalimport()
609 return _Py_INIT_ERR("failed to copy core config"); in _Py_Initialize_ReconfigureCore()
645 return _Py_INIT_ERR("no thread state found"); in _Py_InitializeCore_impl()
650 return _Py_INIT_ERR("no main interpreter found"); in _Py_InitializeCore_impl()
[all …]
Dpystate.c55 return _Py_INIT_ERR("Can't initialize threads for interpreter"); in _PyRuntimeState_Init_impl()
115 return _Py_INIT_ERR("Can't initialize threads for interpreter"); in _PyInterpreterState_Enable()
Dimport.c50 return _Py_INIT_ERR("Can't backup builtins dict"); in _PyImport_Init()
88 return _Py_INIT_ERR("initializing sys.meta_path, sys.path_hooks, " in _PyImportHooks_Init()
141 return _Py_INIT_ERR("initializing zipimport failed"); in _PyImportZip_Init()
Dsysmodule.c2290 return _Py_INIT_ERR("failed to create a module object"); in _PySys_BeginInit()
2443 return _Py_INIT_ERR("failed to initialize a type"); in _PySys_BeginInit()
2446 return _Py_INIT_ERR("can't initialize sys module"); in _PySys_BeginInit()
/external/python/cpython3/PC/
Dgetpathp.c293 return _Py_INIT_ERR("buffer overflow in getpathp.c's canonicalize()"); in canonicalize()
298 return _Py_INIT_ERR("buffer overflow in getpathp.c's canonicalize()"); in canonicalize()
550 return _Py_INIT_ERR("Cannot determine program path"); in get_program_full_path()
745 #define INIT_ERR_BUFFER_OVERFLOW() _Py_INIT_ERR("buffer overflow")
/external/python/cpython3/Include/
Dpylifecycle.h27 #define _Py_INIT_ERR(MSG) \ macro
/external/python/cpython3/Modules/
Dfaulthandler.c1327 return _Py_INIT_ERR("failed to allocate locks for faulthandler"); in _PyFaulthandler_Init()
1334 return _Py_INIT_ERR("failed to enable faulthandler"); in _PyFaulthandler_Init()
Dmain.c1370 pymain->err = _Py_INIT_ERR("can't get sys.path"); in pymain_update_sys_path()
1376 pymain->err = _Py_INIT_ERR("sys.path.insert(0, path0) failed"); in pymain_update_sys_path()
2105 pymain->err = _Py_INIT_ERR("Encoding changed twice while " in pymain_read_conf()