/third_party/python/Include/internal/ |
D | pycore_pylifecycle.h | 41 extern PyStatus _PyUnicode_InitEncodings(PyThreadState *tstate); 52 extern PyStatus _PyUnicode_Init(PyInterpreterState *interp); 53 extern PyStatus _PyUnicode_InitTypes(void); 54 extern PyStatus _PyBytes_Init(PyInterpreterState *interp); 58 extern PyStatus _PyTuple_Init(PyInterpreterState *interp); 59 extern PyStatus _PyFaulthandler_Init(int enable); 62 extern PyStatus _PySys_Create( 65 extern PyStatus _PySys_ReadPreinitWarnOptions(PyWideStringList *options); 66 extern PyStatus _PySys_ReadPreinitXOptions(PyConfig *config); 68 extern PyStatus _PyExc_Init(PyInterpreterState *interp); [all …]
|
D | pycore_initconfig.h | 25 (PyStatus){._type = _PyStatus_TYPE_OK,} 28 (PyStatus){ \ 35 (PyStatus){ \ 47 PyObject* _PyErr_SetFromPyStatus(PyStatus status); 59 PyAPI_FUNC(PyStatus) _PyWideStringList_Extend(PyWideStringList *list, 73 PyAPI_FUNC(PyStatus) _PyArgv_AsWstrList(const _PyArgv *args, 116 extern PyStatus _PyPreCmdline_SetArgv(_PyPreCmdline *cmdline, 118 extern PyStatus _PyPreCmdline_SetConfig( 121 extern PyStatus _PyPreCmdline_Read(_PyPreCmdline *cmdline, 131 extern PyStatus _PyPreConfig_InitFromPreConfig( [all …]
|
D | pycore_pathconfig.h | 51 extern PyStatus _PyPathConfig_Calculate( 57 extern PyStatus _Py_FindEnvConfigValue( 66 extern PyStatus _PyConfig_WritePathConfig(const PyConfig *config);
|
D | pycore_runtime.h | 130 PyAPI_FUNC(PyStatus) _PyRuntimeState_Init(_PyRuntimeState *runtime); 134 extern PyStatus _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime); 139 PyAPI_FUNC(PyStatus) _PyRuntime_Initialize(void);
|
D | pycore_pystate.h | 133 PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime); 136 extern PyStatus _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime); 137 extern PyStatus _PyGILState_Reinit(_PyRuntimeState *runtime);
|
D | pycore_ceval.h | 28 extern PyStatus _PyEval_ReInitThreads(PyThreadState *tstate); 60 extern PyStatus _PyEval_InitGIL(PyThreadState *tstate);
|
D | pycore_import.h | 9 extern PyStatus _PyImport_ReInitLock(void);
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 19 } PyStatus; typedef 21 PyAPI_FUNC(PyStatus) PyStatus_Ok(void); 22 PyAPI_FUNC(PyStatus) PyStatus_Error(const char *err_msg); 23 PyAPI_FUNC(PyStatus) PyStatus_NoMemory(void); 24 PyAPI_FUNC(PyStatus) PyStatus_Exit(int exitcode); 25 PyAPI_FUNC(int) PyStatus_IsError(PyStatus err); 26 PyAPI_FUNC(int) PyStatus_IsExit(PyStatus err); 27 PyAPI_FUNC(int) PyStatus_Exception(PyStatus err); 38 PyAPI_FUNC(PyStatus) PyWideStringList_Append(PyWideStringList *list, 40 PyAPI_FUNC(PyStatus) PyWideStringList_Insert(PyWideStringList *list, [all …]
|
D | pylifecycle.h | 17 PyAPI_FUNC(PyStatus) Py_PreInitialize( 19 PyAPI_FUNC(PyStatus) Py_PreInitializeFromBytesArgs( 23 PyAPI_FUNC(PyStatus) Py_PreInitializeFromArgs( 33 PyAPI_FUNC(PyStatus) Py_InitializeFromConfig( 35 PyAPI_FUNC(PyStatus) _Py_InitializeMain(void); 40 PyAPI_FUNC(void) _Py_NO_RETURN Py_ExitStatusException(PyStatus err);
|
/third_party/python/Modules/ |
D | getpath.c | 235 static PyStatus 321 static PyStatus 340 PyStatus status = joinpath(abs_path, path, abs_path_len); in copy_absolute() 350 static PyStatus 358 PyStatus status = copy_absolute(abs_path, path, Py_ARRAY_LENGTH(abs_path)); in absolutize() 373 static PyStatus 413 static PyStatus 449 static PyStatus 453 PyStatus status; in search_for_prefix() 569 static PyStatus [all …]
|
D | main.c | 33 static PyStatus 36 PyStatus status; in pymain_init() 649 pymain_exit_error(PyStatus status) in pymain_exit_error() 687 PyStatus status = pymain_init(args); in pymain_main()
|
D | atexitmodule.c | 54 PyStatus
|
/third_party/python/Python/ |
D | pylifecycle.c | 57 static PyStatus add_main_module(PyInterpreterState *interp); 58 static PyStatus init_import_site(void); 59 static PyStatus init_set_builtins_open(void); 60 static PyStatus init_sys_streams(PyThreadState *tstate); 91 PyStatus 203 static PyStatus 449 PyStatus status = _PyConfig_Write(config, tstate->interp->runtime); in interpreter_update_config() 457 PyStatus status = _PyConfig_WritePathConfig(config); in interpreter_update_config() 480 PyStatus status = _PyConfig_Copy(&config, src_config); in _PyInterpreterState_SetConfig() 518 static PyStatus [all …]
|
D | initconfig.c | 251 PyStatus PyStatus_Ok(void) in PyStatus_Ok() 254 PyStatus PyStatus_Error(const char *err_msg) in PyStatus_Error() 257 return (PyStatus){._type = _PyStatus_TYPE_ERROR, in PyStatus_Error() 261 PyStatus PyStatus_NoMemory(void) in PyStatus_NoMemory() 264 PyStatus PyStatus_Exit(int exitcode) in PyStatus_Exit() 268 int PyStatus_IsError(PyStatus status) in PyStatus_IsError() 271 int PyStatus_IsExit(PyStatus status) in PyStatus_IsExit() 274 int PyStatus_Exception(PyStatus status) in PyStatus_Exception() 278 _PyErr_SetFromPyStatus(PyStatus status) in _PyErr_SetFromPyStatus() 361 PyStatus [all …]
|
D | preconfig.c | 74 PyStatus 121 PyStatus 158 PyStatus 164 PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions); in _PyPreCmdline_SetConfig() 180 static PyStatus 208 PyStatus status = PyWideStringList_Append(&cmdline->xoptions, in precmdline_parse_cmdline() 227 PyStatus 233 PyStatus status = precmdline_parse_cmdline(cmdline); in _PyPreCmdline_Read() 356 PyStatus 603 static PyStatus [all …]
|
D | pathconfig.c | 70 static PyStatus 143 static PyStatus 146 PyStatus status; in pathconfig_set_from_config() 264 PyStatus 271 static PyStatus 294 PyStatus status = PyWideStringList_Append(&config->module_search_paths, path); in config_init_module_search_paths() 334 static PyStatus 338 PyStatus status; in pathconfig_init() 363 static PyStatus 367 PyStatus status; in config_init_pathconfig() [all …]
|
D | pystate.c | 48 static PyStatus 101 PyStatus 109 PyStatus status = _PyRuntimeState_Init_impl(runtime); in _PyRuntimeState_Init() 138 PyStatus 180 PyStatus 424 PyStatus 1332 PyStatus 1346 PyStatus 1388 PyStatus 1958 PyStatus status = _PyConfig_Copy(config, &interp->config); in _PyInterpreterState_GetConfigCopy()
|
D | frozenmain.c | 19 PyStatus status = _PyRuntime_Initialize(); in Py_FrozenMain()
|
D | sysmodule.c | 2222 PyStatus 2225 PyStatus status; in _PySys_ReadPreinitWarnOptions() 2240 PyStatus 2243 PyStatus status; in _PySys_ReadPreinitXOptions() 2803 static PyStatus 3056 static PyStatus 3080 PyStatus 3109 PyStatus status = _PySys_SetPreliminaryStderr(sysdict); in _PySys_Create()
|
D | bootstrap_hash.c | 572 PyStatus
|
/third_party/python/Programs/ |
D | _testembed.c | 348 PyStatus status = PyConfig_SetString(config, config_str, str); in config_set_string() 358 PyStatus status = PyConfig_SetArgv(config, argc, argv); in config_set_argv() 370 PyStatus status = PyConfig_SetWideStringList(config, list, length, items); in config_set_wide_string_list() 387 PyStatus status = Py_InitializeFromConfig(config); in init_from_config_clear() 397 PyStatus status; in check_init_compat_config() 494 PyStatus status = Py_PreInitialize(&preconfig); in test_init_from_config() 791 PyStatus status = Py_PreInitialize(&preconfig); in test_preinit_isolated1() 817 PyStatus status = Py_PreInitialize(&preconfig); in test_preinit_isolated2() 853 PyStatus status = Py_PreInitializeFromArgs(&preconfig, in test_preinit_dont_parse_argv() 920 PyStatus status; in check_preinit_isolated_config() [all …]
|
D | _freeze_importlib.c | 84 PyStatus status; in main()
|
/third_party/python/PC/ |
D | getpathp.c | 262 static PyStatus 491 static PyStatus 494 PyStatus status; in get_program_full_path() 546 static PyStatus 550 PyStatus status; in read_pth_file() 687 static PyStatus 705 static PyStatus 734 PyStatus status = _Py_FindEnvConfigValue(env_file, L"home", &home); in calculate_pyvenv_file() 773 static PyStatus 954 static PyStatus [all …]
|
D | python_uwp.cpp | 85 static PyStatus 88 PyStatus status = PyStatus_Ok(); in set_process_name() 167 PyStatus status; in wmain()
|
/third_party/python/Doc/c-api/ |
D | init_config.rst | 43 PyStatus status; 87 .. c:function:: PyStatus PyWideStringList_Append(PyWideStringList *list, const wchar_t *item) 93 ….. c:function:: PyStatus PyWideStringList_Insert(PyWideStringList *list, Py_ssize_t index, const w… 114 PyStatus chapter 117 .. c:type:: PyStatus 140 .. c:function:: PyStatus PyStatus_Ok(void) 144 .. c:function:: PyStatus PyStatus_Error(const char *err_msg) 150 .. c:function:: PyStatus PyStatus_NoMemory(void) 154 .. c:function:: PyStatus PyStatus_Exit(int exitcode) 160 .. c:function:: int PyStatus_Exception(PyStatus status) [all …]
|