/third_party/ltp/testcases/lib/ |
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/Lib/test/ |
D | test_sysconfig.py | 286 adapt = sys.base_prefix != sys.base_exec_prefix 290 global_path = global_path.replace(sys.exec_prefix, sys.base_prefix) 291 base = base.replace(sys.exec_prefix, sys.base_prefix) 292 elif sys.base_prefix != sys.prefix: 295 global_path = global_path.replace(sys.base_prefix, sys.prefix) 296 base = base.replace(sys.base_prefix, sys.prefix)
|
D | _test_embed_set_config.py | 212 base_prefix="base_prefix", 226 base_prefix=None, 229 self.assertEqual(sys.base_prefix, "prefix")
|
D | test_cmd.py | 229 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
|
D | test_doctest.py | 3137 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
|
D | test_venv.py | 32 sys.prefix == sys.base_prefix 193 ('base_prefix', sys.base_prefix),
|
D | test_trace.py | 381 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
|
D | test_sys.py | 530 self.assertIsInstance(sys.base_prefix, str) 687 @unittest.skipIf(sys.base_prefix != sys.prefix,
|
D | test_subprocess.py | 485 @unittest.skipIf(sys.base_prefix != sys.prefix, 493 @unittest.skipIf(sys.base_prefix != sys.prefix,
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 190 wchar_t *base_prefix; member
|
/third_party/python/Lib/distutils/tests/ |
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/ |
D | pathconfig.c | 444 if (config->base_prefix == NULL && config->prefix != NULL) { in _PyConfig_InitPathConfig() 445 if (copy_wstr(&config->base_prefix, config->prefix) < 0) { in _PyConfig_InitPathConfig()
|
D | initconfig.c | 668 CLEAR(config->base_prefix); in PyConfig_Clear() 906 COPY_WSTR_ATTR(base_prefix); in _PyConfig_Copy() 1009 SET_ITEM_WSTR(base_prefix); in _PyConfig_AsDict() 1310 GET_WSTR_OPT(base_prefix); in _PyConfig_FromDict() 3033 DUMP_SYS(base_prefix); in _Py_DumpPathConfig()
|
D | sysmodule.c | 2962 COPY_WSTR("base_prefix", config->base_prefix); in _PySys_UpdateConfig()
|
/third_party/python/Doc/library/ |
D | venv.rst | 58 environment, whereas :attr:`sys.base_prefix` and 62 :attr:`sys.base_prefix` and :attr:`sys.exec_prefix` is the same as 414 elif not hasattr(sys, 'base_prefix'):
|
D | site.rst | 45 it is also checked for site-packages (sys.base_prefix and
|
D | gettext.rst | 727 defaults; instead its default is :file:`{sys.base_prefix}/share/locale` (see 728 :data:`sys.base_prefix`). For this reason, it is always best to call
|
D | sys.rst | 127 virtual environment, whereas :data:`base_prefix` and 134 .. data:: base_prefix 140 point to the virtual environment, whereas :data:`base_prefix` and 1227 available, via :data:`base_prefix`.
|
/third_party/python/Lib/ |
D | sysconfig.py | 127 _BASE_PREFIX = os.path.normpath(sys.base_prefix)
|
D | gettext.py | 62 _default_localedir = os.path.join(sys.base_prefix, 'share', 'locale')
|
/third_party/python/Lib/idlelib/ |
D | editor.py | 77 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html') 88 chmfile = os.path.join(sys.base_prefix, 'Doc', 94 dochome = os.path.join(sys.base_prefix,
|
/third_party/python/Doc/c-api/ |
D | init_config.rst | 557 .. c:member:: wchar_t* base_prefix 559 :data:`sys.base_prefix`. 1345 * :c:member:`PyConfig.base_prefix` 1368 If :c:member:`~PyConfig.base_prefix` or :c:member:`~PyConfig.base_exec_prefix`
|
/third_party/python/Lib/distutils/ |
D | dist.py | 385 if sys.prefix != sys.base_prefix:
|
/third_party/python/Doc/tutorial/ |
D | modules.rst | 315 'api_version', 'argv', 'audit', 'base_exec_prefix', 'base_prefix',
|
/third_party/python/ |
D | setup.py | 838 os.path.normpath(sys.base_prefix) != '/usr' and
|