Searched refs:utf8_mode (Results 1 - 15 of 15) sorted by relevance
/third_party/python/Python/ |
H A D | preconfig.c | 292 config->utf8_mode = 0; in _PyPreConfig_InitCompatConfig() 318 config->utf8_mode = -1; in PyPreConfig_InitPythonConfig() 334 config->utf8_mode = 0; in PyPreConfig_InitIsolatedConfig() 385 COPY_ATTR(utf8_mode); in preconfig_copy() 425 SET_ITEM_INT(utf8_mode); in _PyPreConfig_AsDict() 478 config->utf8_mode = Py_UTF8Mode; in preconfig_get_global_vars() 506 COPY_FLAG(utf8_mode, Py_UTF8Mode); in preconfig_set_global_vars() 594 config->utf8_mode = 0; in preconfig_init_utf8_mode() 598 if (config->utf8_mode >= 0) { in preconfig_init_utf8_mode() 609 config->utf8_mode in preconfig_init_utf8_mode() 829 int utf8_mode = config->utf8_mode; _PyPreConfig_Read() local [all...] |
H A D | initconfig.c | 1854 if (preconfig->utf8_mode) { in config_get_stdio_errors() 1889 if (preconfig->utf8_mode) { in config_get_locale_encoding() 2027 if (preconfig->utf8_mode) { in config_get_fs_encoding()
|
H A D | sysmodule.c | 2530 {"utf8_mode", "-X utf8"}, 2579 SetFlag(preconfig->utf8_mode); in set_flags_from_config()
|
H A D | fileutils.c | 96 if (_PyRuntime.preconfig.utf8_mode) { in _Py_device_encoding()
|
/third_party/python/Include/cpython/ |
H A D | initconfig.h | 114 int utf8_mode; member
|
/third_party/python/Lib/ |
H A D | locale.py | 673 if sys.flags.utf8_mode: 687 if sys.flags.utf8_mode:
|
H A D | _pyio.py | 59 if sys.flags.utf8_mode:
|
H A D | subprocess.py | 375 if sys.flags.utf8_mode:
|
/third_party/python/Modules/_io/ |
H A D | _iomodule.c | 485 if (preconfig->utf8_mode) { in _io_text_encoding_impl()
|
H A D | textio.c | 1122 if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) { in _io_TextIOWrapper___init___impl()
|
/third_party/python/Lib/test/ |
H A D | test_embed.py | 407 'utf8_mode': 0, 417 utf8_mode=GET_DEFAULT_CONFIG, variable in InitConfigTests 424 utf8_mode=0, variable in InitConfigTests 542 ('Py_UTF8Mode', 'utf8_mode'), 656 expected_preconfig['utf8_mode'] = self.IGNORE_CONFIG 658 if expected_preconfig['utf8_mode'] == 1: 809 'utf8_mode': 1, 833 'utf8_mode': 1, 927 'utf8_mode': 1,
|
H A D | test_sys.py | 685 "hash_randomization", "isolated", "dev_mode", "utf8_mode", 694 self.assertIn(sys.flags.utf8_mode, {0, 1, 2})
|
H A D | test_builtin.py | 1320 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
|
H A D | test_io.py | 2727 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled") 4311 # based on sys.flags.utf8_mode
|
/third_party/python/Programs/ |
H A D | _testembed.c | 568 preconfig.utf8_mode = 1; in test_init_from_config()
|
Completed in 41 milliseconds