Home
last modified time | relevance | path

Searched refs:PyStatus (Results 1 - 25 of 50) sorted by relevance

12

/third_party/python/Include/cpython/
H A Dinitconfig.h8 /* --- PyStatus ----------------------------------------------- */
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_Appen
[all...]
H A Dpylifecycle.h18 PyAPI_FUNC(PyStatus) Py_PreInitialize(
20 PyAPI_FUNC(PyStatus) Py_PreInitializeFromBytesArgs(
24 PyAPI_FUNC(PyStatus) Py_PreInitializeFromArgs(
34 PyAPI_FUNC(PyStatus) Py_InitializeFromConfig(
36 PyAPI_FUNC(PyStatus) _Py_InitializeMain(void);
41 PyAPI_FUNC(void) _Py_NO_RETURN Py_ExitStatusException(PyStatus err);
/third_party/python/Include/internal/
H A Dpycore_initconfig.h14 /* --- PyStatus ----------------------------------------------- */
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_Rea
[all...]
H A Dpycore_pylifecycle.h25 extern PyStatus _PyUnicode_InitEncodings(PyThreadState *tstate);
36 extern PyStatus _PyFaulthandler_Init(int enable);
39 extern PyStatus _PySys_Create(
42 extern PyStatus _PySys_ReadPreinitWarnOptions(PyWideStringList *options);
43 extern PyStatus _PySys_ReadPreinitXOptions(PyConfig *config);
47 extern PyStatus _Py_HashRandomization_Init(const PyConfig *);
49 extern PyStatus _PyImportZip_Init(PyThreadState *tstate);
50 extern PyStatus _PyGC_Init(PyInterpreterState *interp);
51 extern PyStatus _PyAtExit_Init(PyInterpreterState *interp);
73 extern PyStatus _PyGILState_Ini
[all...]
H A Dpycore_typeobject.h14 extern PyStatus _PyTypes_InitState(PyInterpreterState *);
15 extern PyStatus _PyTypes_InitTypes(PyInterpreterState *);
42 extern PyStatus _PyTypes_InitSlotDefs(void);
H A Dpycore_runtime.h154 PyAPI_FUNC(PyStatus) _PyRuntimeState_Init(_PyRuntimeState *runtime);
158 extern PyStatus _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime);
163 PyAPI_FUNC(PyStatus) _PyRuntime_Initialize(void);
H A Dpycore_pystate.h147 PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime);
150 extern PyStatus _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime);
151 extern PyStatus _PyGILState_Reinit(_PyRuntimeState *runtime);
H A Dpycore_pathconfig.h12 extern PyStatus _PyPathConfig_ReadGlobal(PyConfig *config);
13 extern PyStatus _PyPathConfig_UpdateGlobal(const PyConfig *config);
H A Dpycore_exceptions.h14 extern PyStatus _PyExc_InitState(PyInterpreterState *);
15 extern PyStatus _PyExc_InitGlobalObjects(PyInterpreterState *);
H A Dpycore_unicodeobject.h18 extern PyStatus _PyUnicode_InitGlobalObjects(PyInterpreterState *);
19 extern PyStatus _PyUnicode_InitTypes(PyInterpreterState *);
H A Dpycore_tuple.h16 extern PyStatus _PyTuple_InitGlobalObjects(PyInterpreterState *);
17 extern PyStatus _PyTuple_InitTypes(PyInterpreterState *);
H A Dpycore_ceval.h41 extern PyStatus _PyEval_ReInitThreads(PyThreadState *tstate);
85 extern PyStatus _PyEval_InitGIL(PyThreadState *tstate);
H A Dpycore_import.h9 extern PyStatus _PyImport_ReInitLock(void);
H A Dpycore_bytesobject.h14 extern PyStatus _PyBytes_InitTypes(PyInterpreterState *);
H A Dpycore_context.h15 PyStatus _PyContext_Init(PyInterpreterState *);
H A Dpycore_floatobject.h15 extern PyStatus _PyFloat_InitTypes(PyInterpreterState *);
H A Dpycore_long.h52 extern PyStatus _PyLong_InitTypes(PyInterpreterState *);
/third_party/python/Python/
H A Dinitconfig.c292 /* --- PyStatus ----------------------------------------------- */
294 PyStatus PyStatus_Ok(void) in PyStatus_Ok()
297 PyStatus PyStatus_Error(const char *err_msg) in PyStatus_Error()
300 return (PyStatus){._type = _PyStatus_TYPE_ERROR, in PyStatus_Error()
304 PyStatus PyStatus_NoMemory(void) in PyStatus_NoMemory()
307 PyStatus PyStatus_Exit(int exitcode) in PyStatus_Exit()
311 int PyStatus_IsError(PyStatus status) in PyStatus_IsError()
314 int PyStatus_IsExit(PyStatus status) in PyStatus_IsExit()
317 int PyStatus_Exception(PyStatus status) in PyStatus_Exception()
321 _PyErr_SetFromPyStatus(PyStatus statu
[all...]
H A Dpylifecycle.c71 static PyStatus add_main_module(PyInterpreterState *interp);
72 static PyStatus init_import_site(void);
73 static PyStatus init_set_builtins_open(void);
74 static PyStatus init_sys_streams(PyThreadState *tstate);
111 PyStatus
223 static PyStatus
469 PyStatus status = _PyConfig_Write(config, tstate->interp->runtime); in interpreter_update_config()
477 PyStatus status = _PyPathConfig_UpdateGlobal(config); in interpreter_update_config()
500 PyStatus status = _PyConfig_Copy(&config, src_config); in _PyInterpreterState_SetConfig()
538 static PyStatus
[all...]
H A Dpreconfig.c71 PyStatus
117 PyStatus
154 PyStatus
160 PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions); in _PyPreCmdline_SetConfig()
176 static PyStatus
204 PyStatus status = PyWideStringList_Append(&cmdline->xoptions, in precmdline_parse_cmdline()
223 PyStatus
229 PyStatus status = precmdline_parse_cmdline(cmdline); in _PyPreCmdline_Read()
342 PyStatus
589 static PyStatus
[all...]
H A Dfrozenmain.c18 PyStatus status = _PyRuntime_Initialize(); in Py_FrozenMain()
/third_party/python/Programs/
H A D_testembed.c51 PyStatus status = PyConfig_SetString(config, config_str, str); in config_set_string()
68 PyStatus status = Py_InitializeFromConfig(config); in init_from_config_clear()
451 PyStatus status = PyConfig_SetArgv(config, argc, argv); in config_set_argv()
463 PyStatus status = PyConfig_SetWideStringList(config, list, length, items); in config_set_wide_string_list()
473 PyStatus status; in check_init_compat_config()
570 PyStatus status = Py_PreInitialize(&preconfig); in test_init_from_config()
878 PyStatus status = Py_PreInitialize(&preconfig); in test_preinit_isolated1()
904 PyStatus status = Py_PreInitialize(&preconfig); in test_preinit_isolated2()
941 PyStatus status = Py_PreInitializeFromArgs(&preconfig, in test_preinit_dont_parse_argv()
1008 PyStatus statu in check_preinit_isolated_config()
[all...]
/third_party/python/PC/
H A Dpython_uwp.cpp109 static PyStatus
112 PyStatus status = PyStatus_Ok(); in set_process_name()
191 PyStatus status; in wmain()
/third_party/python/Modules/
H A Dgetpath_noop.c6 PyStatus
H A Dmain.c34 static PyStatus
37 PyStatus status; in pymain_init()
663 pymain_exit_error(PyStatus status) in pymain_exit_error()
701 PyStatus status = pymain_init(args); in pymain_main()

Completed in 12 milliseconds

12