Searched refs:expanduser (Results 1 – 25 of 178) sorted by relevance
12345678
/external/python/cpython3/Lib/test/ |
D | test_posixpath.py | 232 self.assertEqual(posixpath.expanduser("foo"), "foo") 233 self.assertEqual(posixpath.expanduser(b"foo"), b"foo") 238 self.assertEqual(posixpath.expanduser("~"), "/home/victor") 242 self.assertEqual(posixpath.expanduser("~"), "/home/victor") 247 self.assertEqual(posixpath.expanduser("~"), "/") 248 self.assertEqual(posixpath.expanduser("~/"), "/") 249 self.assertEqual(posixpath.expanduser("~/foo"), "/foo") 254 self.assertIsInstance(posixpath.expanduser("~/"), str) 255 self.assertIsInstance(posixpath.expanduser(b"~/"), bytes) 258 if posixpath.expanduser("~") != '/': [all …]
|
D | test_pathlib.py | 1283 q = self.cls(os.path.expanduser('~')) 1321 self.assertEqual(p.expanduser(), P(os.path.expanduser('~'))) 1323 self.assertEqual(p.expanduser(), p) 1325 self.assertEqual(p.expanduser(), p) 1327 self.assertEqual(p.expanduser(), p) 1329 self.assertEqual(p.expanduser(), p) 2163 self.assertEqual(p1.expanduser(), P(userhome) / 'Documents') 2164 self.assertEqual(p2.expanduser(), P(userhome) / 'Documents') 2165 self.assertEqual(p3.expanduser(), P(otherhome) / 'Documents') 2166 self.assertEqual(p4.expanduser(), p4) [all …]
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | appdirs.py | 88 path = os.path.expanduser('~/Library/Application Support/') 92 path = os.getenv('XDG_DATA_HOME', os.path.expanduser("~/.local/share")) 141 path = os.path.expanduser('/Library/Application Support') 149 pathlist = [os.path.expanduser(x.rstrip(os.sep)) for x in path.split(os.pathsep)] 198 path = os.getenv('XDG_CONFIG_HOME', os.path.expanduser("~/.config")) 244 pathlist = [os.path.expanduser(x.rstrip(os.sep)) for x in path.split(os.pathsep)] 302 path = os.path.expanduser('~/Library/Caches') 306 path = os.getenv('XDG_CACHE_HOME', os.path.expanduser('~/.cache')) 348 os.path.expanduser('~/Library/Logs'),
|
/external/python/cpython2/Lib/test/ |
D | test_posixpath.py | 264 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/ |
D | translate_xbuddy.py | 9 dev_path = os.path.expanduser('~/trunk/src/platform/dev') 23 config_path = os.path.expanduser('~/trunk/src/platform/dev/'
|
D | label.py | 36 chromeos_root = os.path.expanduser(chromeos_root) 38 chromeos_image = os.path.expanduser(chromeos_image)
|
/external/skia/tools/rebaseline/ |
D | toggle_legacy_flag.py | 101 G3_SCRIPT_DIR = os.path.expanduser("~/skia-g3/scripts") 144 args.chromium_dir = os.path.expanduser(args.chromium_dir) 151 args.android_dir = os.path.expanduser(args.android_dir)
|
/external/skqp/tools/rebaseline/ |
D | toggle_legacy_flag.py | 101 G3_SCRIPT_DIR = os.path.expanduser("~/skia-g3/scripts") 144 args.chromium_dir = os.path.expanduser(args.chromium_dir) 151 args.android_dir = os.path.expanduser(args.android_dir)
|
/external/toolchain-utils/ |
D | verify_compiler.py | 178 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))
|
D | tc_enter_chroot.py | 135 chromeos_root = os.path.expanduser(chromeos_root) 137 options.toolchain_root = os.path.expanduser(options.toolchain_root) 171 version_dir = os.path.realpath(os.path.expanduser(os.path.dirname(__file__)))
|
D | weekly_report.py | 204 os.path.expanduser('~/nightly_test_reports'), 243 os.path.exists(os.path.expanduser(MAIL_PROGRAM))):
|
/external/python/cpython3/Lib/ctypes/macholib/ |
D | dyld.py | 18 os.path.expanduser("~/Library/Frameworks"), 25 os.path.expanduser("~/lib"),
|
/external/python/apitools/apitools/gen/ |
D | gen_client.py | 51 infile = os.path.expanduser(args.infile) or '/dev/stdin' 89 outdir = os.path.expanduser(args.outdir) or client_info.default_directory 175 original_outdir = os.path.expanduser(args.outdir)
|
/external/python/cpython3/Lib/idlelib/ |
D | macosx.py | 4 from os.path import expanduser 99 plist_path = expanduser('~/Library/Preferences/.GlobalPreferences.plist')
|
/external/python/cpython2/Lib/ctypes/macholib/ |
D | dyld.py | 18 os.path.expanduser("~/Library/Frameworks"), 25 os.path.expanduser("~/lib"),
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_install.py | 83 self.old_expand = os.path.expanduser 84 os.path.expanduser = _expanduser 91 os.path.expanduser = self.old_expand
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_install.py | 85 self.old_expand = os.path.expanduser 86 os.path.expanduser = _expanduser 93 os.path.expanduser = self.old_expand
|
D | test_dist.py | 222 old_expander = os.path.expanduser 223 os.path.expanduser = _expander 232 os.path.expanduser = old_expander
|
/external/python/cpython2/Lib/lib-tk/ |
D | FileDialog.py | 113 dir_or_file = os.path.expanduser(dir_or_file) 190 filter = os.path.expanduser(filter) 197 file = os.path.expanduser(file)
|
/external/python/cpython2/Tools/pybench/ |
D | CommandLine.py | 132 expandvars=os.path.expandvars,expanduser=os.path.expanduser, argument 146 path = expanduser(path)
|
/external/python/cpython2/Lib/ |
D | user.py | 33 home = os.path.expanduser("~/")
|
/external/python/cpython3/Mac/IDLE/IDLE.app/Contents/Resources/ |
D | idlemain.py | 8 os.chdir(os.path.expanduser('~/Documents'))
|
/external/python/cpython2/Mac/IDLE/ |
D | idlemain.py | 8 os.chdir(os.path.expanduser('~/Documents'))
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | plastik_theme.py | 38 imgdir = os.path.expanduser(imgdir)
|
/external/toolchain-utils/automation/common/ |
D | command.py | 189 from_path = os.path.expanduser(from_path) + '/' 190 to_path = os.path.expanduser(to_path) + '/'
|
12345678