Home
last modified time | relevance | path

Searched refs:xoptions (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Python/
Dpreconfig.c117 _PyWideStringList_Clear(&cmdline->xoptions); in _PyPreCmdline_Clear()
164 PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions); in _PyPreCmdline_SetConfig()
208 PyStatus status = PyWideStringList_Append(&cmdline->xoptions, in precmdline_parse_cmdline()
252 && (_Py_get_xoption(&cmdline->xoptions, L"dev") in _PyPreCmdline_Read()
262 if (_Py_get_xoption(&cmdline->xoptions, L"warn_default_encoding") in _PyPreCmdline_Read()
583 _Py_get_xoption(const PyWideStringList *xoptions, const wchar_t *name) in _Py_get_xoption() argument
585 for (Py_ssize_t i=0; i < xoptions->length; i++) { in _Py_get_xoption()
586 const wchar_t *option = xoptions->items[i]; in _Py_get_xoption()
617 xopt = _Py_get_xoption(&cmdline->xoptions, L"utf8"); in preconfig_init_utf8_mode()
Dsysmodule.c2247 status = PyWideStringList_Append(&config->xoptions, entry->value); in _PySys_ReadPreinitXOptions()
2354 PyObject *xoptions = sys_get_object_id(tstate, &PyId__xoptions); in get_xoptions() local
2355 if (xoptions == NULL || !PyDict_Check(xoptions)) { in get_xoptions()
2366 xoptions = PyDict_New(); in get_xoptions()
2367 if (xoptions == NULL) { in get_xoptions()
2370 if (sys_set_object_id(tstate->interp, &PyId__xoptions, xoptions)) { in get_xoptions()
2371 Py_DECREF(xoptions); in get_xoptions()
2374 Py_DECREF(xoptions); in get_xoptions()
2376 return xoptions; in get_xoptions()
2959 Py_ssize_t nxoption = config->xoptions.length; in sys_create_xoptions_dict()
[all …]
Dinitconfig.c630 assert(_PyWideStringList_CheckConsistency(&config->xoptions)); in config_check_consistency()
669 _PyWideStringList_Clear(&config->xoptions); in PyConfig_Clear()
911 COPY_WSTRLIST(xoptions); in _PyConfig_Copy()
1012 SET_ITEM_WSTRLIST(xoptions); in _PyConfig_AsDict()
1288 GET_WSTRLIST(xoptions); in _PyConfig_FromDict()
1587 return _Py_get_xoption(&config->xoptions, name); in config_get_xoption()
/third_party/python/Include/internal/
Dpycore_initconfig.h83 const PyWideStringList *xoptions,
101 PyWideStringList xoptions; /* "-X value" option */ member
/third_party/python/Lib/test/
D_test_embed_set_config.py203 self.set_config(xoptions=[])
205 self.set_config(xoptions=["dev", "tracemalloc=5"])
Dtest_tracemalloc.py942 for xoptions, nframe in (
947 with self.subTest(xoptions=xoptions, nframe=nframe):
949 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code)
Dtest_embed.py532 xoptions = {}
536 xoptions[key] = value
538 xoptions[opt] = True
539 return xoptions
/third_party/python/Programs/
D_testembed.c546 wchar_t* xoptions[3] = { in test_init_from_config() local
551 config_set_wide_string_list(&config, &config.xoptions, in test_init_from_config()
552 Py_ARRAY_LENGTH(xoptions), xoptions); in test_init_from_config()
1382 status = PyWideStringList_Append(&config.xoptions, in test_init_sys_add()
/third_party/python/Include/cpython/
Dinitconfig.h155 PyWideStringList xoptions; member
/third_party/python/Lib/
Dsubprocess.py309 xoptions = getattr(sys, '_xoptions', {})
310 dev_mode = ('dev' in xoptions)
326 if opt in xoptions:
327 value = xoptions[opt]
/third_party/python/Doc/c-api/
Dinit_config.rst1163 .. c:member:: PyWideStringList xoptions
1174 The :c:member:`~PyConfig.xoptions` options are parsed to set other options: see
/third_party/pcre2/pcre2/src/
Dpcre2test.c7383 uint32_t xoptions; in process_data() local
7422 xoptions = emoption | in process_data()
7539 dat_datctl.options|xoptions, match_data, use_dat_context, in process_data()
7550 (xoptions & PCRE2_SUBSTITUTE_OVERFLOW_LENGTH) != 0) in process_data()
/third_party/python/Misc/NEWS.d/
D3.9.0a1.rst5591 ``PyConfig.xoptions`` and command line ``-X`` options.