Home
last modified time | relevance | path

Searched refs:PyPreConfig (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Python/
Dpreconfig.c17 preconfig_copy(PyPreConfig *config, const PyPreConfig *config2);
129 precmdline_get_preconfig(_PyPreCmdline *cmdline, const PyPreConfig *config) in precmdline_get_preconfig()
145 precmdline_set_preconfig(const _PyPreCmdline *cmdline, PyPreConfig *config) in precmdline_set_preconfig()
228 _PyPreCmdline_Read(_PyPreCmdline *cmdline, const PyPreConfig *preconfig) in _PyPreCmdline_Read()
281 _PyPreConfig_InitCompatConfig(PyPreConfig *config) in _PyPreConfig_InitCompatConfig()
319 PyPreConfig_InitPythonConfig(PyPreConfig *config) in PyPreConfig_InitPythonConfig()
340 PyPreConfig_InitIsolatedConfig(PyPreConfig *config) in PyPreConfig_InitIsolatedConfig()
357 _PyPreConfig_InitFromPreConfig(PyPreConfig *config, in _PyPreConfig_InitFromPreConfig()
358 const PyPreConfig *config2) in _PyPreConfig_InitFromPreConfig()
367 _PyPreConfig_InitFromConfig(PyPreConfig *preconfig, const PyConfig *config) in _PyPreConfig_InitFromConfig()
[all …]
Dpylifecycle.c273 const PyPreConfig *preconfig = &runtime->preconfig; in emit_stderr_warning_for_legacy_locale()
878 _Py_PreInitializeFromPyArgv(const PyPreConfig *src_config, const _PyArgv *args) in _Py_PreInitializeFromPyArgv()
901 PyPreConfig config; in _Py_PreInitializeFromPyArgv()
925 Py_PreInitializeFromBytesArgs(const PyPreConfig *src_config, Py_ssize_t argc, char **argv) in Py_PreInitializeFromBytesArgs()
933 Py_PreInitializeFromArgs(const PyPreConfig *src_config, Py_ssize_t argc, wchar_t **argv) in Py_PreInitializeFromArgs()
941 Py_PreInitialize(const PyPreConfig *src_config) in Py_PreInitialize()
964 PyPreConfig preconfig; in _Py_PreInitializeFromConfig()
Dinitconfig.c1824 config_get_stdio_errors(const PyPreConfig *preconfig) in config_get_stdio_errors()
1857 config_get_locale_encoding(PyConfig *config, const PyPreConfig *preconfig, in config_get_locale_encoding()
1872 const PyPreConfig *preconfig) in config_init_stdio_encoding()
1976 config_get_fs_encoding(PyConfig *config, const PyPreConfig *preconfig, in config_get_fs_encoding()
2007 config_init_fs_encoding(PyConfig *config, const PyPreConfig *preconfig) in config_init_fs_encoding()
2044 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in config_read()
2201 PyPreConfig *preconfig = &runtime->preconfig; in _PyConfig_Write()
2642 PyPreConfig preconfig; in core_read_precmdline()
2920 const PyPreConfig *pre_config = &interp->runtime->preconfig; in _Py_GetConfigsAsDict()
Dfileutils.c891 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in _Py_GetLocaleEncoding()
Dsysmodule.c2532 const PyPreConfig *preconfig = &interp->runtime->preconfig; in set_flags_from_config()
/third_party/python/Include/internal/
Dpycore_initconfig.h122 const PyPreConfig *preconfig);
127 PyAPI_FUNC(void) _PyPreConfig_InitCompatConfig(PyPreConfig *preconfig);
129 PyPreConfig *preconfig,
132 PyPreConfig *preconfig,
133 const PyPreConfig *config2);
134 extern PyObject* _PyPreConfig_AsDict(const PyPreConfig *preconfig);
135 extern void _PyPreConfig_GetConfig(PyPreConfig *preconfig,
137 extern PyStatus _PyPreConfig_Read(PyPreConfig *preconfig,
139 extern PyStatus _PyPreConfig_Write(const PyPreConfig *preconfig);
Dpycore_runtime.h110 PyPreConfig preconfig;
Dpycore_pylifecycle.h119 const PyPreConfig *src_config,
/third_party/python/Include/cpython/
Dpylifecycle.h18 const PyPreConfig *src_config);
20 const PyPreConfig *src_config,
24 const PyPreConfig *src_config,
Dinitconfig.h47 typedef struct PyPreConfig { struct
125 } PyPreConfig; argument
127 PyAPI_FUNC(void) PyPreConfig_InitPythonConfig(PyPreConfig *config);
128 PyAPI_FUNC(void) PyPreConfig_InitIsolatedConfig(PyPreConfig *config);
/third_party/python/Doc/c-api/
Dinit_config.rst13 :c:func:`Py_PreInitialize` and the :c:type:`PyPreConfig` structure.
206 PyPreConfig chapter
209 .. c:type:: PyPreConfig
215 .. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)
220 .. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)
259 If equals to 0, set :c:member:`~PyPreConfig.coerce_c_locale` and
260 :c:member:`~PyPreConfig.coerce_c_locale_warn` members to 0.
300 * Set :c:member:`PyPreConfig.utf8_mode` to ``0``,
340 Preinitialize Python with PyPreConfig
345 * Set the Python memory allocators (:c:member:`PyPreConfig.allocator`)
[all …]
/third_party/python/Programs/
D_testembed.c400 PyPreConfig preconfig; in check_init_compat_config()
484 PyPreConfig preconfig; in test_init_from_config()
786 PyPreConfig preconfig; in test_preinit_isolated1()
812 PyPreConfig preconfig; in test_preinit_isolated2()
841 PyPreConfig preconfig; in test_preinit_dont_parse_argv()
921 PyPreConfig *rt_preconfig; in check_preinit_isolated_config()
930 PyPreConfig preconfig; in check_preinit_isolated_config()
987 PyPreConfig preconfig; in check_init_python_config()
1022 PyPreConfig preconfig; in test_init_dont_configure_locale()
1432 PyPreConfig preconfig; in test_init_setpath_config()
/third_party/python/PC/
Dpython_uwp.cpp168 PyPreConfig preconfig; in wmain()
/third_party/python/Modules/
Dmain.c43 PyPreConfig preconfig; in pymain_init()
/third_party/python/Doc/whatsnew/
D3.8.rst302 * :c:type:`PyPreConfig`
335 This PEP also adds ``_PyRuntimeState.preconfig`` (:c:type:`PyPreConfig` type)