Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpreconfig.c288 config->utf8_mode = 0; in _PyPreConfig_InitCompatConfig()
314 config->utf8_mode = -1; in PyPreConfig_InitPythonConfig()
330 config->utf8_mode = 0; in PyPreConfig_InitIsolatedConfig()
381 COPY_ATTR(utf8_mode); in preconfig_copy()
421 SET_ITEM_INT(utf8_mode); in _PyPreConfig_AsDict()
474 config->utf8_mode = Py_UTF8Mode; in preconfig_get_global_vars()
502 COPY_FLAG(utf8_mode, Py_UTF8Mode); in preconfig_set_global_vars()
590 config->utf8_mode = 0; in preconfig_init_utf8_mode()
594 if (config->utf8_mode >= 0) { in preconfig_init_utf8_mode()
605 config->utf8_mode = 1; in preconfig_init_utf8_mode()
[all …]
Dinitconfig.c1542 if (preconfig->utf8_mode) { in config_init_stdio_encoding()
1598 if (preconfig->utf8_mode) { in config_init_fs_encoding()
Dsysmodule.c2449 SetFlag(preconfig->utf8_mode); in make_flags()
/external/python/cpython3/Lib/
D_bootlocale.py12 if sys.flags.utf8_mode:
26 if sys.flags.utf8_mode:
35 if sys.flags.utf8_mode:
Dlocale.py624 if sys.flags.utf8_mode:
643 if sys.flags.utf8_mode:
654 if sys.flags.utf8_mode:
/external/python/cpython3/Include/cpython/
Dinitconfig.h114 int utf8_mode; member
/external/python/cpython3/Lib/test/
Dtest_embed.py328 utf8_mode=GET_DEFAULT_CONFIG,
335 utf8_mode=0,
Dtest_sys.py565 self.assertIn(sys.flags.utf8_mode, {0, 1, 2})
Dtest_builtin.py1108 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
Dtest_io.py2674 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
2694 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
/external/python/cpython3/Programs/
D_testembed.c479 preconfig.utf8_mode = 1; in test_init_from_config()
/external/python/cpython3/Doc/c-api/
Dinit_config.rst274 .. c:member:: int utf8_mode
323 preconfig.utf8_mode = 1;
/external/python/cpython3/Doc/library/
Dsys.rst448 :const:`utf8_mode` :option:`-X` ``utf8``
465 and ``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag.