Home
last modified time | relevance | path

Searched refs:base_prefix (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_getpath.py99 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.py116 # 'base_prefix'
214 base_prefix="base_prefix",
228 base_prefix=None,
231 self.assertEqual(sys.base_prefix, "prefix")
H A Dtest_sysconfig.py360 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 Dtest_cmd.py253 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
H A Dtest_doctest.py3181 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
H A Dtest_venv.py37 sys.prefix == sys.base_prefix
251 ('base_prefix', sys.base_prefix),
H A Dtest_trace.py387 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
H A Dtest_sys.py605 self.assertIsInstance(sys.base_prefix, str)
780 @unittest.skipIf(sys.base_prefix != sys.prefix,
H A Dtest_embed.py470 '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 Dtest_subprocess.py503 @unittest.skipIf(sys.base_prefix != sys.prefix,
511 @unittest.skipIf(sys.base_prefix != sys.prefix,
/third_party/ltp/testcases/lib/
H A Dtst_net_vars.c446 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.c98 CLEAR(config.base_prefix); in wmain()
/third_party/python/Include/cpython/
H A Dinitconfig.h195 wchar_t *base_prefix; member
/third_party/python/Lib/
H A Dsysconfig.py172 _BASE_PREFIX = os.path.normpath(sys.base_prefix)
300 if key == 'prefix' and sys.prefix != sys.base_prefix:
H A Dgettext.py61 _default_localedir = os.path.join(sys.base_prefix, 'share', 'locale')
/third_party/python/Modules/
H A Dgetpath.py225 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 Dtest_dist.py110 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 Dinitconfig.c718 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 Dsysmodule.c3096 COPY_WSTR("base_prefix", config->base_prefix); in _PySys_UpdateConfig()
/third_party/python/Lib/distutils/
H A Ddist.py385 if sys.prefix != sys.base_prefix:
/third_party/python/Lib/idlelib/
H A Deditor.py79 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html')
106 dochome = os.path.join(sys.base_prefix,
/third_party/python/
H A Dsetup.py860 os.path.normpath(sys.base_prefix) != '/usr' and

Completed in 36 milliseconds