Home
last modified time | relevance | path

Searched refs:expanduser (Results 1 - 25 of 43) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_posixpath.py248 self.assertEqual(posixpath.expanduser("foo"), "foo")
249 self.assertEqual(posixpath.expanduser(b"foo"), b"foo")
254 self.assertEqual(posixpath.expanduser("~"), "/home/victor")
256 # expanduser() strips trailing slash
258 self.assertEqual(posixpath.expanduser("~"), "/home/victor")
263 self.assertEqual(posixpath.expanduser("~"), "/")
264 self.assertEqual(posixpath.expanduser("~/"), "/")
265 self.assertEqual(posixpath.expanduser("~/foo"), "/foo")
272 self.assertIsInstance(posixpath.expanduser("~/"), str)
273 self.assertIsInstance(posixpath.expanduser(
[all...]
H A Dtest_pathlib.py1492 q = self.cls(os.path.expanduser('~'))
1542 self.assertEqual(p.expanduser(), P(os.path.expanduser('~')))
1544 self.assertEqual(p.expanduser(), p)
1546 self.assertEqual(p.expanduser(), p)
1548 self.assertEqual(p.expanduser(), p)
1550 self.assertEqual(p.expanduser(), p)
2676 self.assertEqual(p1.expanduser(), P(userhome) / 'Documents')
2677 self.assertEqual(p2.expanduser(), P(userhome) / 'Documents')
2678 self.assertEqual(p3.expanduser(),
[all...]
/third_party/skia/tools/rebaseline/
H A Dtoggle_legacy_flag.py102 G3_SCRIPT_DIR = os.path.expanduser("~/skia-g3/scripts")
145 args.chromium_dir = os.path.expanduser(args.chromium_dir)
152 args.android_dir = os.path.expanduser(args.android_dir)
/third_party/lame/test/
H A Dlametest.py123 options_file = os.path.normpath(os.path.expanduser(args[0]))
124 input_file = os.path.normpath(os.path.expanduser(args[1]))
125 lame1 = os.path.normpath(os.path.expanduser(args[2]))
127 lame2 = os.path.normpath(os.path.expanduser(args[3]))
/third_party/python/Lib/ctypes/macholib/
H A Ddyld.py23 os.path.expanduser("~/Library/Frameworks"),
30 os.path.expanduser("~/lib"),
/third_party/python/Lib/idlelib/
H A Dmacosx.py4 from os.path import expanduser namespace
92 plist_path = expanduser('~/Library/Preferences/.GlobalPreferences.plist')
H A Dautocomplete.py208 expandedpath = os.path.expanduser(what)
/third_party/python/Lib/distutils/tests/
H A Dtest_install.py94 self.old_expand = os.path.expanduser
95 os.path.expanduser = _expanduser
102 os.path.expanduser = self.old_expand
H A Dtest_dist.py242 old_expander = os.path.expanduser
243 os.path.expanduser = _expander
251 os.path.expanduser = old_expander
/third_party/node/deps/v8/third_party/inspector_protocol/
H A Droll.py139 upstream = os.path.normpath(os.path.expanduser(args.ip_src_upstream))
140 downstream = os.path.normpath(os.path.expanduser(
/third_party/node/tools/inspector_protocol/
H A Droll.py107 upstream = os.path.normpath(os.path.expanduser(args.ip_src_upstream))
108 downstream = os.path.normpath(os.path.expanduser(
/third_party/python/Mac/IDLE/IDLE.app/Contents/Resources/
H A Didlemain.py8 os.chdir(os.path.expanduser('~/Documents'))
/third_party/python/Lib/tkinter/
H A Dfiledialog.py126 dir_or_file = os.path.expanduser(dir_or_file)
203 filter = os.path.expanduser(filter)
210 file = os.path.expanduser(file)
/third_party/notofonts/scripts/
H A Dversionator.py26 ANDROID_PATH = Path("~/Downloads/android_fonts-master/api_level/").expanduser()
/third_party/python/Lib/distutils/
H A Dconfig.py41 return os.path.join(os.path.expanduser('~'), '.pypirc')
/third_party/node/tools/gyp/pylib/gyp/
H A D__init__.py477 home_dot_gyp = os.path.expanduser(home_dot_gyp)
492 home_dot_gyp = os.path.expanduser(options.config_dir)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A D__init__.py491 home_dot_gyp = os.path.expanduser(home_dot_gyp)
506 home_dot_gyp = os.path.expanduser(options.config_dir)
/third_party/python/Lib/
H A Dsysconfig.py119 return os.path.expanduser(os.path.join(*args))
274 value = os.path.expanduser(value)
H A Dsite.py274 return os.path.expanduser(os.path.join(*args))
473 history = os.path.join(os.path.expanduser('~'),
H A Dnetrc.py70 file = os.path.join(os.path.expanduser("~"), ".netrc")
H A Dpathlib.py912 returned by os.path.expanduser('~')).
914 return cls("~").expanduser()
1377 def expanduser(self): member in Path
1379 (as returned by os.path.expanduser)
1383 homedir = os.path.expanduser(self._parts[0])
/third_party/python/Lib/distutils/command/
H A Dinstall.py491 val = os.path.expanduser(val)
496 """Calls `os.path.expanduser` on install_base, install_platbase and
501 """Calls `os.path.expanduser` on install dirs."""
556 home = convert_path(os.path.expanduser("~"))
/third_party/mesa3d/.gitlab-ci/bin/
H A Dci_run_n_monitor.py266 open(os.path.expanduser("~/.config/gitlab-token"), encoding="utf-8")
/third_party/node/deps/v8/tools/dev/
H A Dv8gen.py51 GOMA_DEFAULT = os.path.join(os.path.expanduser("~"), 'goma')
H A Dgm.py140 goma_auth = os.path.expanduser("~/.goma_client_oauth2_config")

Completed in 20 milliseconds

12