Searched refs:xoptions (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Python/ |
H A D | preconfig.c | 113 _PyWideStringList_Clear(&cmdline->xoptions); in _PyPreCmdline_Clear() 160 PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions); in _PyPreCmdline_SetConfig() 204 PyStatus status = PyWideStringList_Append(&cmdline->xoptions, in precmdline_parse_cmdline() 248 && (_Py_get_xoption(&cmdline->xoptions, L"dev") in _PyPreCmdline_Read() 258 if (_Py_get_xoption(&cmdline->xoptions, L"warn_default_encoding") in _PyPreCmdline_Read() 569 _Py_get_xoption(const PyWideStringList *xoptions, const wchar_t *name) in _Py_get_xoption() argument 571 for (Py_ssize_t i=0; i < xoptions->length; i++) { in _Py_get_xoption() 572 const wchar_t *option = xoptions->items[i]; in _Py_get_xoption() 603 xopt = _Py_get_xoption(&cmdline->xoptions, in preconfig_init_utf8_mode() [all...] |
H A D | sysmodule.c | 2214 status = PyWideStringList_Append(&config->xoptions, entry->value); in _PySys_ReadPreinitXOptions() 2324 PyObject *xoptions = _PySys_GetAttr(tstate, &_Py_ID(_xoptions)); in get_xoptions() local 2325 if (xoptions == NULL || !PyDict_Check(xoptions)) { in get_xoptions() 2326 /* PEP432 TODO: we can reach this if xoptions is NULL in the main in get_xoptions() 2328 * the `xoptions` reference in the main interpreter config as well. in get_xoptions() 2336 xoptions = PyDict_New(); in get_xoptions() 2337 if (xoptions == NULL) { in get_xoptions() 2340 if (sys_set_object(tstate->interp, &_Py_ID(_xoptions), xoptions)) { in get_xoptions() 2341 Py_DECREF(xoptions); in get_xoptions() 3050 wchar_t * const * xoptions = config->xoptions.items; sys_create_xoptions_dict() local [all...] |
H A D | initconfig.c | 69 --help-xoptions : print help about implementation-specific -X options and exit\n\ 668 assert(_PyWideStringList_CheckConsistency(&config->xoptions)); in config_check_consistency() 710 _PyWideStringList_Clear(&config->xoptions); in PyConfig_Clear() 964 COPY_WSTRLIST(xoptions); in _PyConfig_Copy() 1070 SET_ITEM_WSTRLIST(xoptions); in _PyConfig_AsDict() 1351 GET_WSTRLIST(xoptions); in _PyConfig_FromDict() 1543 return _Py_get_xoption(&config->xoptions, name); in config_get_xoption() 2389 // help-xoptions in config_parse_cmdline()
|
/third_party/python/Include/internal/ |
H A D | pycore_initconfig.h | 83 const PyWideStringList *xoptions, 101 PyWideStringList xoptions; /* "-X value" option */ member
|
/third_party/python/Lib/test/ |
H A D | _test_embed_set_config.py | 127 'xoptions', 205 self.set_config(xoptions=[]) 207 self.set_config(xoptions=["dev", "tracemalloc=5"])
|
H A D | test_tracemalloc.py | 956 for xoptions, nframe in ( 961 with self.subTest(xoptions=xoptions, nframe=nframe): 963 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code)
|
H A D | test_embed.py | 461 'xoptions': [], 580 xoptions = {} 584 xoptions[key] = value 586 xoptions[opt] = True 587 return xoptions 857 'xoptions': [ 996 'xoptions': ['dev'], 1088 'xoptions': [ 1639 'xoptions': [optval],
|
/third_party/python/Include/cpython/ |
H A D | initconfig.h | 157 PyWideStringList xoptions; member
|
/third_party/python/Programs/ |
H A D | _testembed.c | 625 wchar_t* xoptions[3] = { in test_init_from_config() local 630 config_set_wide_string_list(&config, &config.xoptions, in test_init_from_config() 631 Py_ARRAY_LENGTH(xoptions), xoptions); in test_init_from_config() 1470 status = PyWideStringList_Append(&config.xoptions, in test_init_sys_add()
|
/third_party/python/Lib/ |
H A D | subprocess.py | 332 xoptions = getattr(sys, '_xoptions', {}) 350 if opt in xoptions: 351 value = xoptions[opt]
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2test.c | 7383 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()
|
Completed in 29 milliseconds