Home
last modified time | relevance | path

Searched refs:_PyStatus_ERR (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Python/
H A Dpylifecycle.c231 return _PyStatus_ERR("external importer setup failed"); in init_importlib_external()
546 return _PyStatus_ERR("failed to read thread state"); in pyinit_core_reconfigure()
552 return _PyStatus_ERR("can't make main interpreter"); in pyinit_core_reconfigure()
581 return _PyStatus_ERR("main interpreter already initialized"); in pycore_init_runtime()
651 return _PyStatus_ERR("can't make main interpreter"); in pycore_create_interpreter()
662 return _PyStatus_ERR("can't make first thread"); in pycore_create_interpreter()
735 return _PyStatus_ERR("failed to initialize an exception type"); in pycore_init_types()
793 return _PyStatus_ERR("failed to add exceptions to builtins"); in pycore_init_builtins()
815 return _PyStatus_ERR("can't initialize builtins module"); in pycore_init_builtins()
842 return _PyStatus_ERR("faile in pycore_interp_init()
[all...]
H A Dpreconfig.c615 return _PyStatus_ERR("invalid -X utf8 option value"); in preconfig_init_utf8_mode()
633 return _PyStatus_ERR("invalid PYTHONUTF8 environment " in preconfig_init_utf8_mode()
719 return _PyStatus_ERR("PYTHONMALLOC: unknown allocator"); in preconfig_init_allocator()
799 return _PyStatus_ERR("failed to LC_CTYPE locale"); in _PyPreConfig_Read()
834 status = _PyStatus_ERR("Encoding changed twice while " in _PyPreConfig_Read()
951 return _PyStatus_ERR("Unknown PYTHONMALLOC allocator"); in _PyPreConfig_Write()
H A Dinitconfig.c414 return _PyStatus_ERR("PyWideStringList_Insert index must be >= 0"); in PyWideStringList_Insert()
886 return _PyStatus_ERR(decode_err_msg); in config_set_bytes_string()
1576 return _PyStatus_ERR("PYTHONHASHSEED must be \"random\" " in config_init_hash_seed()
1706 return _PyStatus_ERR("PYTHONTRACEMALLOC: invalid number of frames"); in config_init_tracemalloc()
1722 return _PyStatus_ERR("-X tracemalloc=NFRAME: " in config_init_tracemalloc()
1749 return _PyStatus_ERR( in config_init_int_max_str_digits()
1767 return _PyStatus_ERR( in config_init_int_max_str_digits()
H A Dsysmodule.c3008 return _PyStatus_ERR("failed to initialize a type"); in _PySys_InitCore()
3011 return _PyStatus_ERR("can't initialize sys module"); in _PySys_InitCore()
3172 return _PyStatus_ERR("can't set preliminary stderr"); in _PySys_SetPreliminaryStderr()
3193 return _PyStatus_ERR("failed to create a module object"); in _PySys_Create()
3227 return _PyStatus_ERR("can't initialize sys module"); in _PySys_Create()
H A Dpystate.c209 return _PyStatus_ERR("Failed to reinitialize runtime locks"); in _PyRuntimeState_ReInitThreads()
244 return _PyStatus_ERR("Can't initialize threads for interpreter"); in _PyInterpreterState_Enable()
543 return _PyStatus_ERR("not main interpreter"); in _PyInterpreterState_DeleteExceptMain()
569 return _PyStatus_ERR("missing main interpreter"); in _PyInterpreterState_DeleteExceptMain()
1595 return _PyStatus_ERR("failed to set autoTSSkey"); in _PyGILState_Reinit()
H A Dbootstrap_hash.c579 return _PyStatus_ERR("failed to get random numbers " in _Py_HashRandomization_Init()
H A Dcontext.c1339 return _PyStatus_ERR("can't init context types"); in _PyContext_Init()
H A Dimport.c99 return _PyStatus_ERR("initializing zipimport failed"); in _PyImportZip_Init()
164 return _PyStatus_ERR("failed to create a new lock"); in _PyImport_ReInitLock()
H A Derrors.c6 #include "pycore_initconfig.h" // _PyStatus_ERR()
1250 return _PyStatus_ERR("failed to initialize UnraisableHookArgs type"); in _PyErr_InitTypes()
H A Dceval.c498 return _PyStatus_ERR("Can't reinitialize pending calls lock"); in _PyEval_ReInitThreads()
/third_party/python/Include/internal/
H A Dpycore_initconfig.h27 #define _PyStatus_ERR(ERR_MSG) \ macro
33 #define _PyStatus_NO_MEMORY() _PyStatus_ERR("memory allocation failed")
H A Dpycore_fileutils.h175 ? _PyStatus_ERR("cannot decode " NAME) \
/third_party/python/Objects/
H A Dtupleobject.c990 return _PyStatus_ERR("Can't initialize tuple type"); in _PyTuple_InitTypes()
994 return _PyStatus_ERR("Can't initialize tuple iterator type"); in _PyTuple_InitTypes()
H A Dfloatobject.c1997 return _PyStatus_ERR("Can't initialize float type"); in _PyFloat_InitTypes()
2003 return _PyStatus_ERR("can't init float info type"); in _PyFloat_InitTypes()
H A Dbytesobject.c3120 return _PyStatus_ERR("Can't initialize bytes type"); in _PyBytes_InitTypes()
3124 return _PyStatus_ERR("Can't initialize bytes iterator type"); in _PyBytes_InitTypes()
H A Dobject.c1987 return _PyStatus_ERR("Can't initialize types"); in _PyTypes_InitTypes()
H A Dlongobject.c6166 return _PyStatus_ERR("Can't initialize int type"); in _PyLong_InitTypes()
6172 return _PyStatus_ERR("can't init int info type"); in _PyLong_InitTypes()
H A Dunicodeobject.c15524 return _PyStatus_ERR("Can't initialize unicode types"); in _PyUnicode_InitTypes()
15948 return _PyStatus_ERR("failed to get the Python codec name " in init_stdio_encoding()
16020 return _PyStatus_ERR("failed to get the Python codec " in init_fs_encoding()
16025 return _PyStatus_ERR("cannot initialize filesystem codec"); in init_fs_encoding()
H A Dexceptions.c3648 return _PyStatus_ERR("errmap insertion problem."); \ in _PyExc_InitState()
/third_party/python/Modules/
H A Dfaulthandler.c2 #include "pycore_initconfig.h" // _PyStatus_ERR
1394 return _PyStatus_ERR("failed to enable faulthandler"); in _PyFaulthandler_Init()

Completed in 73 milliseconds