Home
last modified time | relevance | path

Searched refs:base_prefix (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/talk/build/
Dmerge_ios_libs85 base_prefix = library[:-2].split('_')[0]
88 if valid_lib[:len(base_prefix)] == base_prefix:
/external/ltp/testcases/lib/
Dtst_net_vars.c457 unsigned int base_prefix = is_ipv6 ? BASE_IPV6_PREFIX : in check_prefix_range() local
461 if (prefix < base_prefix || (is_ipv6 && prefix == 128) || in check_prefix_range()
469 base_prefix, max_prefix); in check_prefix_range()
507 unsigned int base_prefix = is_ipv6 ? BASE_IPV6_PREFIX : in round_down_prefix() local
510 return prefix / base_prefix * base_prefix; in round_down_prefix()
/external/python/cpython3/Lib/test/
Dtest_sysconfig.py277 adapt = sys.base_prefix != sys.base_exec_prefix
281 global_path = global_path.replace(sys.exec_prefix, sys.base_prefix)
282 base = base.replace(sys.exec_prefix, sys.base_prefix)
283 elif sys.base_prefix != sys.prefix:
286 global_path = global_path.replace(sys.base_prefix, sys.prefix)
287 base = base.replace(sys.base_prefix, sys.prefix)
Dtest_cmd.py229 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
Dtest_doctest.py3018 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
Dtest_venv.py27 skipInVenv = unittest.skipIf(sys.prefix != sys.base_prefix,
127 self.assertEqual(sys.base_prefix, sys.prefix)
Dtest_trace.py325 tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
Dtest_sys.py467 self.assertIsInstance(sys.base_prefix, str)
621 @unittest.skipIf(sys.base_prefix != sys.prefix,
Dtest_subprocess.py415 @unittest.skipIf(sys.base_prefix != sys.prefix,
423 @unittest.skipIf(sys.base_prefix != sys.prefix,
/external/python/cpython3/Include/
Dpystate.h71 wchar_t *base_prefix; /* sys.base_prefix */ member
101 PyObject *base_prefix; /* sys.base_prefix str, can be NULL */ member
/external/python/cpython3/Modules/
Dmain.c2301 if (config->base_prefix == NULL) { in config_init_path_config()
2302 config->base_prefix = _PyMem_RawWcsdup(config->prefix); in config_init_path_config()
2303 if (config->base_prefix == NULL) { in config_init_path_config()
2463 CLEAR(config->base_prefix); in _PyCoreConfig_Clear()
2528 COPY_STR_ATTR(base_prefix); in _PyCoreConfig_Copy()
2606 SET_ITEM_WSTR(base_prefix); in _PyCoreConfig_AsDict()
2634 Py_CLEAR(config->base_prefix); in _PyMainInterpreterConfig_Clear()
2688 COPY_OBJ_ATTR(base_prefix); in _PyMainInterpreterConfig_Copy()
2740 SET_ITEM_OBJ(base_prefix); in _PyMainInterpreterConfig_AsDict()
2801 COPY_WSTR(base_prefix); in _PyMainInterpreterConfig_Read()
/external/python/setuptools/setuptools/
Dpy36compat.py19 if sys.prefix != sys.base_prefix:
/external/python/setuptools/setuptools/tests/
Dtest_develop.py63 in_venv = hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py109 with mock.patch.multiple(sys, prefix='/a', base_prefix='/a') as values:
138 with mock.patch.multiple(sys, prefix='/a', base_prefix='/b') as values:
/external/python/cpython3/Doc/library/
Dvenv.rst63 environment, whereas :attr:`sys.base_prefix` and
67 :attr:`sys.base_prefix` and :attr:`sys.exec_prefix` is the same as
395 elif not hasattr(sys, 'base_prefix'):
Dsite.rst45 it is also checked for site-packages (sys.base_prefix and
Dsys.rst41 virtual environment, whereas :data:`base_prefix` and
48 .. data:: base_prefix
54 point to the virtual environment, whereas :data:`base_prefix` and
1038 available, via :data:`base_prefix`.
/external/python/cpython3/Lib/distutils/
Dsysconfig.py22 BASE_PREFIX = os.path.normpath(sys.base_prefix)
Ddist.py385 if sys.prefix != sys.base_prefix:
/external/python/cpython3/Lib/
Dsysconfig.py93 _BASE_PREFIX = os.path.normpath(sys.base_prefix)
Dgettext.py62 _default_localedir = os.path.join(sys.base_prefix, 'share', 'locale')
Dtrace.py663 _prefix = os.path.join(sys.base_prefix, *rel_path)
/external/python/cpython3/Lib/idlelib/
Deditor.py70 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html')
81 chmfile = os.path.join(sys.base_prefix, 'Doc',
87 dochome = os.path.join(sys.base_prefix,
/external/python/cpython3/Python/
Dsysmodule.c2473 assert(config->base_prefix != NULL); in _PySys_EndInit()
2480 SET_SYS_FROM_STRING_BORROW("base_prefix", config->base_prefix); in _PySys_EndInit()
/external/python/cpython3/Doc/tutorial/
Dmodules.rst313 'base_exec_prefix', 'base_prefix', 'builtin_module_names', 'byteorder',

12