/external/python/cpython2/Lib/ |
H A D | os2emxpath.py | 12 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 D | ntpath.py | 17 __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 D | macpath.py | 10 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 78 def splitdrive(p): function
|
/external/python/cpython2/Lib/test/ |
H A D | test_py_compile.py | 16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 21 drive = os.path.splitdrive(self.source_path)[0]
|
H A D | test_genericpath.py | 169 '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 D | test_sysconfig.py | 41 self.splitdrive = os.path.splitdrive 61 os.path.splitdrive = self.splitdrive
|
H A D | test_ntpath.py | 34 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 D | test_util.py | 30 self.splitdrive = os.path.splitdrive 51 os.path.splitdrive = self.splitdrive 225 os.path.splitdrive = _splitdrive
|
H A D | test_archive_util.py | 7 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 D | ntpath.py | 14 __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 D | glob.py | 166 drive, pathname = os.path.splitdrive(pathname)
|
H A D | macpath.py | 8 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 98 def splitdrive(p): function
|
/external/python/cpython2/Lib/distutils/tests/ |
H A D | test_archive_util.py | 9 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 D | test_genericpath.py | 297 '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 D | test_sysconfig.py | 39 self.splitdrive = os.path.splitdrive 62 os.path.splitdrive = self.splitdrive
|
H A D | test_py_compile.py | 20 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 25 drive = os.path.splitdrive(self.source_path)[0]
|
H A D | test_ntpath.py | 55 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 D | sync_chromium.py | 100 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 D | data.py | 45 drive, path = _os.path.splitdrive(path)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/ |
H A D | data.py | 45 drive, path = _os.path.splitdrive(path)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
H A D | data.py | 45 drive, path = _os.path.splitdrive(path)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/ |
H A D | data.py | 45 drive, path = _os.path.splitdrive(path)
|
/external/python/cpython3/Lib/distutils/ |
H A D | dir_util.py | 207 drive, path = os.path.splitdrive(path)
|
/external/webrtc/ |
H A D | sync_chromium.py | 131 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
|
/external/python/cpython2/Lib/distutils/ |
H A D | util.py | 151 (drive, path) = os.path.splitdrive(pathname) 157 (drive, path) = os.path.splitdrive(pathname)
|