Home
last modified time | relevance | path

Searched refs:splitdrive (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython3/Lib/
Dntpath.py70 s = splitdrive(s)[1]
88 result_drive, result_path = splitdrive(path)
90 p_drive, p_path = splitdrive(p)
122 def splitdrive(p): function
185 d, p = splitdrive(p)
266 root, rest = splitdrive(path)
472 prefix, path = splitdrive(path)
558 start_drive, start_rest = splitdrive(start_abs)
559 path_drive, path_rest = splitdrive(path_abs)
609 drivesplits = [splitdrive(p.replace(altsep, sep).lower()) for p in paths]
[all …]
Dglob.py166 drive, pathname = os.path.splitdrive(pathname)
Dmacpath.py103 def splitdrive(p): function
/external/python/cpython2/Lib/
Dntpath.py58 s = splitdrive(s)[1]
65 result_drive, result_path = splitdrive(path)
67 p_drive, p_path = splitdrive(p)
96 def splitdrive(p): function
180 d, p = splitdrive(p)
237 p = splitdrive(path)[1]
426 prefix, path = splitdrive(path)
508 prefix, rest = splitdrive(abs)
Dos2emxpath.py12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
115 p = splitdrive(path)[1]
124 prefix, path = splitdrive(path)
Dmacpath.py78 def splitdrive(p): function
/external/python/cpython3/Lib/distutils/tests/
Dtest_util.py31 self.splitdrive = os.path.splitdrive
52 os.path.splitdrive = self.splitdrive
219 os.path.splitdrive = _splitdrive
Dtest_archive_util.py7 from os.path import splitdrive
106 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0],
113 make_tarball(splitdrive(base_name)[1], 'dist', **kwargs)
/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py9 from os.path import splitdrive
68 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0],
77 make_tarball(splitdrive(base_name)[1], '.')
90 make_tarball(splitdrive(base_name)[1], '.', compress=None)
/external/python/cpython2/Lib/test/
Dtest_genericpath.py182 splitdrive = self.pathmodule.splitdrive
183 self.assertEqual(splitdrive("/foo/bar"), ("", "/foo/bar"))
184 self.assertEqual(splitdrive("foo:bar"), ("", "foo:bar"))
185 self.assertEqual(splitdrive(":foo:bar"), ("", ":foo:bar"))
Dtest_py_compile.py16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0]
21 drive = os.path.splitdrive(self.source_path)[0]
Dtest_sysconfig.py41 self.splitdrive = os.path.splitdrive
61 os.path.splitdrive = self.splitdrive
Dtest_ntpath.py51 self.assertEqual(ntpath.splitdrive(u'//conky/MOUNTPOİNT/foo/bar'),
53 self.assertEqual(ntpath.splitdrive("//"), ("", "//"))
/external/python/cpython3/Lib/test/
Dtest_genericpath.py344 splitdrive = self.pathmodule.splitdrive
345 self.assertEqual(splitdrive("/foo/bar"), ("", "/foo/bar"))
346 self.assertEqual(splitdrive("foo:bar"), ("", "foo:bar"))
347 self.assertEqual(splitdrive(":foo:bar"), ("", ":foo:bar"))
349 self.assertEqual(splitdrive(b"/foo/bar"), (b"", b"/foo/bar"))
350 self.assertEqual(splitdrive(b"foo:bar"), (b"", b"foo:bar"))
351 self.assertEqual(splitdrive(b":foo:bar"), (b"", b":foo:bar"))
Dtest_ntpath.py78 self.assertEqual(ntpath.splitdrive('//conky/MOUNTPOİNT/foo/bar'),
287 drive, _ = ntpath.splitdrive(cwd_dir)
420 drive, path = ntpath.splitdrive(sys.executable)
436 drive, path = ntpath.splitdrive(sys.executable)
495 self.assertPathEqual(self.path.splitdrive)
Dtest_sysconfig.py38 self.splitdrive = os.path.splitdrive
61 os.path.splitdrive = self.splitdrive
Dtest_py_compile.py58 self.cwd_drive = os.path.splitdrive(os.getcwd())[0]
63 drive = os.path.splitdrive(self.source_path)[0]
/external/python/cpython2/Lib/distutils/
Dutil.py151 (drive, path) = os.path.splitdrive(pathname)
157 (drive, path) = os.path.splitdrive(pathname)
/external/libyuv/files/
Dsync_chromium.py100 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
/external/python/setuptools/setuptools/
Dglob.py171 drive, pathname = os.path.splitdrive(pathname)
/external/webrtc/
Dsync_chromium.py131 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py45 drive, path = _os.path.splitdrive(path)

123