Home
last modified time | relevance | path

Searched refs:expanduser (Results 1 – 25 of 97) sorted by relevance

1234

/external/python/cpython2/Lib/test/
Dtest_posixpath.py264 self.assertEqual(posixpath.expanduser("foo"), "foo")
268 self.assertEqual(posixpath.expanduser("~"), "/")
269 self.assertEqual(posixpath.expanduser("~/"), "/")
270 self.assertEqual(posixpath.expanduser("~/foo"), "/foo")
276 self.assertIsInstance(posixpath.expanduser("~/"), basestring)
278 if posixpath.expanduser("~") != '/':
280 posixpath.expanduser("~") + "/",
281 posixpath.expanduser("~/")
283 self.assertIsInstance(posixpath.expanduser("~root/"), basestring)
284 self.assertIsInstance(posixpath.expanduser("~foo/"), basestring)
[all …]
/external/toolchain-utils/crosperf/
Dtranslate_xbuddy.py9 dev_path = os.path.expanduser('~/trunk/src/platform/dev')
23 config_path = os.path.expanduser('~/trunk/src/platform/dev/'
Dlabel.py36 chromeos_root = os.path.expanduser(chromeos_root)
38 chromeos_image = os.path.expanduser(chromeos_image)
/external/toolchain-utils/
Dverify_compiler.py178 filename = os.path.realpath(os.path.expanduser(options.filename))
181 tmp_dir = os.path.realpath(os.path.expanduser(options.tmp_dir))
184 root_dir = os.path.realpath(os.path.expanduser(options.root_dir))
Dtc_enter_chroot.py129 chromeos_root = os.path.expanduser(chromeos_root)
131 options.toolchain_root = os.path.expanduser(options.toolchain_root)
163 version_dir = os.path.realpath(os.path.expanduser(os.path.dirname(__file__)))
Dweekly_report.py203 os.path.expanduser('~/nightly_test_reports'), '%s.%s' % (
242 os.path.exists(os.path.expanduser(MAIL_PROGRAM))):
Dcros_login.py70 chromeos_root = os.path.expanduser(chromeos_root)
Dbuild_tool.py743 options.chromeos_root = os.path.abspath(os.path.expanduser(
751 options.ndk_dir = os.path.expanduser(options.ndk_dir)
793 options.gcc_dir = os.path.abspath(os.path.expanduser(options.gcc_dir))
804 options.binutils_dir = os.path.abspath(os.path.expanduser(
/external/deqp/android/scripts/
Dcommon.py251 os.path.expanduser("~/android-ndk-" + ANDROID_NDK_VERSION_STRING),
284 os.path.expanduser("~/android-sdk-linux"),
285 os.path.expanduser("~/android-sdk-mac_x86"),
/external/python/cpython2/Lib/ctypes/macholib/
Ddyld.py18 os.path.expanduser("~/Library/Frameworks"),
25 os.path.expanduser("~/lib"),
/external/python/cpython2/Lib/distutils/tests/
Dtest_install.py84 self.old_expand = os.path.expanduser
85 os.path.expanduser = _expanduser
92 os.path.expanduser = self.old_expand
Dtest_dist.py222 old_expander = os.path.expanduser
223 os.path.expanduser = _expander
232 os.path.expanduser = old_expander
/external/python/cpython2/Lib/
Duser.py33 home = os.path.expanduser("~/")
/external/python/cpython2/Mac/IDLE/
Didlemain.py8 os.chdir(os.path.expanduser('~/Documents'))
/external/python/cpython2/Demo/tkinter/ttk/
Dplastik_theme.py38 imgdir = os.path.expanduser(imgdir)
/external/python/cpython2/Tools/pybench/
DCommandLine.py132 expandvars=os.path.expandvars,expanduser=os.path.expanduser, argument
146 path = expanduser(path)
/external/python/cpython2/Lib/lib-tk/
DFileDialog.py113 dir_or_file = os.path.expanduser(dir_or_file)
190 filter = os.path.expanduser(filter)
197 file = os.path.expanduser(file)
/external/toolchain-utils/binary_search_tool/
Dcompiler_wrapper.py28 DEFAULT_BISECT_DIR = os.path.expanduser('~/ANDROID_BISECT')
/external/autotest/tko/
Dparse.py108 if os.path.exists(os.path.expanduser('~chromeos-test/%s' %
110 path = os.path.expanduser('~chromeos-test/%s' % export_script)
112 elif os.path.exists(os.path.expanduser('~/%s' % export_script)):
113 path = os.path.expanduser('~/%s' % export_script)
/external/toolchain-utils/automation/common/
Dcommand.py189 from_path = os.path.expanduser(from_path) + '/'
190 to_path = os.path.expanduser(to_path) + '/'
/external/skia/infra/bots/recipes/
Dupdate_meta_config.py44 api.path.expanduser('~'), UPDATE_META_CONFIG_GITCOOKIES_FILE)
/external/toolchain-utils/deprecated/
Dbuild_benchmarks.py212 options.chromeos_root = os.path.expanduser(options.chromeos_root)
213 options.workdir = os.path.expanduser(options.workdir)
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_from_file_agent.py45 self._filename = os.path.expanduser(options.from_file)
/external/autotest/client/bin/
Dos_dep.py13 file = os.path.join(os.path.expandvars(os.path.expanduser(dir)), cmd)
/external/toolchain-utils/cros_utils/
Dfile_utils.py40 chromeos_root = os.path.expanduser(chromeos_root)

1234