/third_party/python/Lib/test/ |
H A D | test_getpath.py | 99 base_prefix=r"C:\Python", 346 base_prefix="/usr", 378 base_prefix="/usr", 411 base_prefix="/path/to/non-installed", 442 base_prefix="/usr", 569 base_prefix="/Library/Frameworks/Python.framework/Versions/9.8", 616 base_prefix="/Library/Frameworks/DebugPython.framework/Versions/9.8", 659 base_prefix="/Library/Frameworks/Python.framework/Versions/9.8", 704 base_prefix="/Library/Frameworks/DebugPython.framework/Versions/9.8", 741 base_prefix 858 base_prefix=None, global() variable [all...] |
H A D | _test_embed_set_config.py | 116 # 'base_prefix' 214 base_prefix="base_prefix", 228 base_prefix=None, 231 self.assertEqual(sys.base_prefix, "prefix")
|
H A D | test_sysconfig.py | 360 adapt = sys.base_prefix != sys.base_exec_prefix 364 global_path = global_path.replace(sys.exec_prefix, sys.base_prefix) 365 base = base.replace(sys.exec_prefix, sys.base_prefix) 366 elif sys.base_prefix != sys.prefix: 369 global_path = global_path.replace(sys.base_prefix, sys.prefix) 370 base = base.replace(sys.base_prefix, sys.prefix)
|
H A D | test_cmd.py | 253 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
|
H A D | test_doctest.py | 3181 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
|
H A D | test_venv.py | 37 sys.prefix == sys.base_prefix 251 ('base_prefix', sys.base_prefix),
|
H A D | test_trace.py | 387 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
|
H A D | test_sys.py | 605 self.assertIsInstance(sys.base_prefix, str) 780 @unittest.skipIf(sys.base_prefix != sys.prefix,
|
H A D | test_embed.py | 470 'base_prefix': GET_DEFAULT_CONFIG, 1182 'base_prefix': '', 1205 'base_prefix': '', 1298 'base_prefix': prefix, 1339 'base_prefix': prefix, 1364 config.update(prefix=prefix, base_prefix=prefix, 1402 'base_prefix': sysconfig.get_config_var("prefix"), 1440 'base_prefix': prefix, 1494 'base_prefix': sysconfig.get_config_var("prefix"), 1502 config['base_prefix'] [all...] |
H A D | test_subprocess.py | 503 @unittest.skipIf(sys.base_prefix != sys.prefix, 511 @unittest.skipIf(sys.base_prefix != sys.prefix,
|
/third_party/ltp/testcases/lib/ |
H A D | tst_net_vars.c | 446 unsigned int base_prefix = is_ipv6 ? BASE_IPV6_PREFIX : in check_prefix_range() local 450 if (prefix < base_prefix || (is_ipv6 && prefix == 128) || in check_prefix_range() 458 base_prefix, max_prefix); in check_prefix_range() 492 unsigned int base_prefix = is_ipv6 ? BASE_IPV6_PREFIX : in round_down_prefix() local 495 return prefix / base_prefix * base_prefix; in round_down_prefix()
|
/third_party/python/Programs/ |
H A D | _bootstrap_python.c | 98 CLEAR(config.base_prefix); in wmain()
|
/third_party/python/Include/cpython/ |
H A D | initconfig.h | 195 wchar_t *base_prefix; member
|
/third_party/python/Lib/ |
H A D | sysconfig.py | 172 _BASE_PREFIX = os.path.normpath(sys.base_prefix) 300 if key == 'prefix' and sys.prefix != sys.base_prefix:
|
H A D | gettext.py | 61 _default_localedir = os.path.join(sys.base_prefix, 'share', 'locale')
|
/third_party/python/Modules/ |
H A D | getpath.py | 225 base_prefix = config.get('base_prefix') variable 637 # base_prefix = prefix 783 config['base_prefix'] = base_prefix or prefix
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dist.py | 110 with mock.patch.multiple(sys, prefix='/a', base_prefix='/a') as values: 139 with mock.patch.multiple(sys, prefix='/a', base_prefix='/b') as values:
|
/third_party/python/Python/ |
H A D | initconfig.c | 718 CLEAR(config->base_prefix); in PyConfig_Clear() 972 COPY_WSTR_ATTR(base_prefix); in _PyConfig_Copy() 1080 SET_ITEM_WSTR(base_prefix); in _PyConfig_AsDict() 1386 GET_WSTR_OPT(base_prefix); in _PyConfig_FromDict() 3111 DUMP_SYS(base_prefix); in _Py_DumpPathConfig()
|
H A D | sysmodule.c | 3096 COPY_WSTR("base_prefix", config->base_prefix); in _PySys_UpdateConfig()
|
/third_party/python/Lib/distutils/ |
H A D | dist.py | 385 if sys.prefix != sys.base_prefix:
|
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 79 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html') 106 dochome = os.path.join(sys.base_prefix,
|
/third_party/python/ |
H A D | setup.py | 860 os.path.normpath(sys.base_prefix) != '/usr' and
|