Searched refs:splitdrive (Results 1 - 25 of 53) sorted by relevance

123

/external/python/cpython2/Lib/
H A Dos2emxpath.py12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive, namespace
15 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
115 p = splitdrive(path)[1]
124 prefix, path = splitdrive(path)
H A Dntpath.py17 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
58 s = splitdrive(s)[1]
65 result_drive, result_path = splitdrive(path)
67 p_drive, p_path = splitdrive(p)
96 def splitdrive(p): function
101 result = splitdrive(p)
106 up to and including the colon. e.g. splitdrive("c:/dir") returns ("c:", "/dir")
110 e.g. splitdrive("//host/computer/dir") returns ("//host/computer", "/dir")
180 d, p = splitdrive(p)
237 p = splitdrive(pat
[all...]
H A Dmacpath.py10 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
78 def splitdrive(p): function
/external/python/cpython2/Lib/test/
H A Dtest_py_compile.py16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0]
21 drive = os.path.splitdrive(self.source_path)[0]
H A Dtest_genericpath.py169 'normcase', 'splitdrive', 'expandvars', 'normpath', 'abspath',
181 # splitdrive for non-NT paths
182 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"))
H A Dtest_sysconfig.py41 self.splitdrive = os.path.splitdrive
61 os.path.splitdrive = self.splitdrive
H A Dtest_ntpath.py34 tester('ntpath.splitdrive("c:\\foo\\bar")',
36 tester('ntpath.splitdrive("c:/foo/bar")',
38 tester('ntpath.splitdrive("\\\\conky\\mountpoint\\foo\\bar")',
40 tester('ntpath.splitdrive("//conky/mountpoint/foo/bar")',
42 tester('ntpath.splitdrive("\\\\\\conky\\mountpoint\\foo\\bar")',
44 tester('ntpath.splitdrive("///conky/mountpoint/foo/bar")',
46 tester('ntpath.splitdrive("\\\\conky\\\\mountpoint\\foo\\bar")',
48 tester('ntpath.splitdrive("//conky//mountpoint/foo/bar")',
51 self.assertEqual(ntpath.splitdrive(u'//conky/MOUNTPOİNT/foo/bar'),
53 self.assertEqual(ntpath.splitdrive("//"), ("", "//"))
[all...]
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_util.py30 self.splitdrive = os.path.splitdrive
51 os.path.splitdrive = self.splitdrive
225 os.path.splitdrive = _splitdrive
H A Dtest_archive_util.py7 from os.path import splitdrive namespace
106 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0],
113 make_tarball(splitdrive(base_name)[1], 'dist', **kwargs)
/external/python/cpython3/Lib/
H A Dntpath.py14 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
69 s = splitdrive(s)[1]
87 result_drive, result_path = splitdrive(path)
89 p_drive, p_path = splitdrive(p)
121 def splitdrive(p): function
126 result = splitdrive(p)
131 up to and including the colon. e.g. splitdrive("c:/dir") returns ("c:", "/dir")
135 e.g. splitdrive("//host/computer/dir") returns ("//host/computer", "/dir")
174 """Deprecated since Python 3.1. Please use splitdrive() instead;
185 warnings.warn("ntpath.splitunc is deprecated, use ntpath.splitdrive instea
[all...]
H A Dglob.py166 drive, pathname = os.path.splitdrive(pathname)
H A Dmacpath.py8 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
98 def splitdrive(p): function
/external/python/cpython2/Lib/distutils/tests/
H A Dtest_archive_util.py9 from os.path import splitdrive namespace
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/cpython3/Lib/test/
H A Dtest_genericpath.py297 'normcase', 'splitdrive', 'expandvars', 'normpath', 'abspath',
317 # splitdrive for non-NT paths
318 splitdrive = self.pathmodule.splitdrive
319 self.assertEqual(splitdrive("/foo/bar"), ("", "/foo/bar"))
320 self.assertEqual(splitdrive("foo:bar"), ("", "foo:bar"))
321 self.assertEqual(splitdrive(":foo:bar"), ("", ":foo:bar"))
323 self.assertEqual(splitdrive(b"/foo/bar"), (b"", b"/foo/bar"))
324 self.assertEqual(splitdrive(b"foo:bar"), (b"", b"foo:bar"))
325 self.assertEqual(splitdrive(
[all...]
H A Dtest_sysconfig.py39 self.splitdrive = os.path.splitdrive
62 os.path.splitdrive = self.splitdrive
H A Dtest_py_compile.py20 self.cwd_drive = os.path.splitdrive(os.getcwd())[0]
25 drive = os.path.splitdrive(self.source_path)[0]
H A Dtest_ntpath.py55 tester('ntpath.splitdrive("c:\\foo\\bar")',
57 tester('ntpath.splitdrive("c:/foo/bar")',
59 tester('ntpath.splitdrive("\\\\conky\\mountpoint\\foo\\bar")',
61 tester('ntpath.splitdrive("//conky/mountpoint/foo/bar")',
63 tester('ntpath.splitdrive("\\\\\\conky\\mountpoint\\foo\\bar")',
65 tester('ntpath.splitdrive("///conky/mountpoint/foo/bar")',
67 tester('ntpath.splitdrive("\\\\conky\\\\mountpoint\\foo\\bar")',
69 tester('ntpath.splitdrive("//conky//mountpoint/foo/bar")',
72 self.assertEqual(ntpath.splitdrive('//conky/MOUNTPOİNT/foo/bar'),
439 drive, path = ntpath.splitdrive(sy
[all...]
/external/libyuv/files/
H A Dsync_chromium.py100 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
H A Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
H A Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
H A Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
H A Ddata.py45 drive, path = _os.path.splitdrive(path)
/external/python/cpython3/Lib/distutils/
H A Ddir_util.py207 drive, path = os.path.splitdrive(path)
/external/webrtc/
H A Dsync_chromium.py131 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
/external/python/cpython2/Lib/distutils/
H A Dutil.py151 (drive, path) = os.path.splitdrive(pathname)
157 (drive, path) = os.path.splitdrive(pathname)

Completed in 2468 milliseconds

123