Home
last modified time | relevance | path

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

/external/python/cpython3/Programs/
D_testembed.c479 static wchar_t* xoptions[3] = { in test_init_from_config() local
484 config.nxoption = Py_ARRAY_LENGTH(xoptions); in test_init_from_config()
485 config.xoptions = xoptions; in test_init_from_config()
/external/python/cpython3/Lib/test/
Dtest_embed.py363 xoptions = {}
367 xoptions[key] = value
369 xoptions[opt] = True
370 return xoptions
Dtest_tracemalloc.py869 for xoptions, nframe in (
874 with self.subTest(xoptions=xoptions, nframe=nframe):
876 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code)
/external/python/cpython3/Modules/
Dmain.c873 &config->xoptions, in pymain_parse_cmdline_impl()
948 wchar_t **xoptions = config->xoptions; in config_create_xoptions_dict() local
955 wchar_t *option = xoptions[i]; in config_create_xoptions_dict()
1685 wchar_t **xoptions = config->xoptions; in config_get_xoption() local
1687 wchar_t *option = xoptions[i]; in config_get_xoption()
2457 CLEAR_WSTRLIST(config->nxoption, config->xoptions); in _PyCoreConfig_Clear()
2523 COPY_WSTRLIST(nxoption, xoptions); in _PyCoreConfig_Copy()
2599 SET_ITEM_WSTRLIST(nxoption, xoptions); in _PyCoreConfig_AsDict()
2638 Py_CLEAR(config->xoptions); in _PyMainInterpreterConfig_Clear()
2692 COPY_OBJ_ATTR(xoptions); in _PyMainInterpreterConfig_Copy()
[all …]
/external/python/cpython3/Python/
Dsysmodule.c1844 PyObject *xoptions = _PySys_GetObjectId(&PyId__xoptions); in get_xoptions() local
1845 if (xoptions == NULL || !PyDict_Check(xoptions)) { in get_xoptions()
1856 xoptions = PyDict_New(); in get_xoptions()
1857 if (xoptions == NULL) in get_xoptions()
1859 if (_PySys_SetObjectId(&PyId__xoptions, xoptions)) { in get_xoptions()
1860 Py_DECREF(xoptions); in get_xoptions()
1863 Py_DECREF(xoptions); in get_xoptions()
1865 return xoptions; in get_xoptions()
2490 if (config->xoptions != NULL) { in _PySys_EndInit()
2491 SET_SYS_FROM_STRING_BORROW("_xoptions", config->xoptions); in _PySys_EndInit()
/external/python/cpython3/Include/
Dpystate.h55 wchar_t **xoptions; /* -X options */ member
105 PyObject *xoptions; /* sys._xoptions dict, can be NULL */ member
/external/python/cpython3/Lib/
Dsubprocess.py287 xoptions = getattr(sys, '_xoptions', {})
288 dev_mode = ('dev' in xoptions)
304 if opt in xoptions:
305 value = xoptions[opt]
/external/pcre/dist2/src/
Dpcre2test.c6976 uint32_t xoptions; in process_data() local
6996 xoptions = (((dat_datctl.control & CTL_GLOBAL) == 0)? 0 : in process_data()
7093 dat_datctl.options|xoptions, match_data, dat_context, in process_data()
7104 (xoptions & PCRE2_SUBSTITUTE_OVERFLOW_LENGTH) != 0) in process_data()