Searched refs:isabs (Results 1 - 25 of 97) sorted by relevance

1234

/external/python/cpython2/Lib/test/
H A Dtest_macpath.py12 isabs = macpath.isabs
13 self.assertTrue(isabs("xx:yy"))
14 self.assertTrue(isabs("xx:yy:"))
15 self.assertTrue(isabs("xx:"))
16 self.assertFalse(isabs("foo"))
17 self.assertFalse(isabs(":foo"))
18 self.assertFalse(isabs(":foo:bar"))
19 self.assertFalse(isabs(":foo:bar:"))
H A Dtest_sysconfig.py40 self.isabs = os.path.isabs
60 os.path.isabs = self.isabs
/external/python/cpython3/Lib/test/
H A Dtest_macpath.py12 isabs = macpath.isabs
13 self.assertTrue(isabs("xx:yy"))
14 self.assertTrue(isabs("xx:yy:"))
15 self.assertTrue(isabs("xx:"))
16 self.assertFalse(isabs("foo"))
17 self.assertFalse(isabs(":foo"))
18 self.assertFalse(isabs(":foo:bar"))
19 self.assertFalse(isabs(":foo:bar:"))
21 self.assertTrue(isabs(
[all...]
H A Dtest_sysconfig.py38 self.isabs = os.path.isabs
61 os.path.isabs = self.isabs
346 self.assertTrue(os.path.isabs(srcdir), srcdir)
H A Dtest_posixpath.py114 self.assertIs(posixpath.isabs(""), False)
115 self.assertIs(posixpath.isabs("/"), True)
116 self.assertIs(posixpath.isabs("/foo"), True)
117 self.assertIs(posixpath.isabs("/foo/bar"), True)
118 self.assertIs(posixpath.isabs("foo/bar"), False)
120 self.assertIs(posixpath.isabs(b""), False)
121 self.assertIs(posixpath.isabs(b"/"), True)
122 self.assertIs(posixpath.isabs(b"/foo"), True)
123 self.assertIs(posixpath.isabs(b"/foo/bar"), True)
124 self.assertIs(posixpath.isabs(
[all...]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Ddependency_manager_util.py24 assert os.path.isabs(dir_path)
94 assert os.path.isabs(unzip_path)
103 assert os.path.isabs(unzip_path)
/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",
49 if isabs(b):
149 if not isabs(path):
H A Dmacpath.py10 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
33 def isabs(s): function
46 if (not path) or isabs(t):
94 if not isabs(s):
189 if not isabs(path):
H A Dmacurl2path.py70 if os.path.isabs(pathname):
H A Dlinecache.py112 if os.path.isabs(filename):
H A Dposixpath.py21 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
52 def isabs(s): function
360 if not isabs(path):
381 if isabs(rest):
/external/python/cpython3/Lib/
H A Dmacpath.py8 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
41 def isabs(s): function
59 if (not path) or isabs(t):
114 if not isabs(s):
183 if not isabs(path):
H A Dmacurl2path.py70 if os.path.isabs(pathname):
H A Dposixpath.py19 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
62 def isabs(s): function
370 if not isabs(path):
401 if isabs(rest):
503 isabs, = set(p[:1] == sep for p in paths)
516 prefix = sep if isabs else sep[:0]
H A Dlinecache.py119 if os.path.isabs(filename):
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_util.py29 self.isabs = os.path.isabs
50 os.path.isabs = self.isabs
206 os.path.isabs = _isabs
220 os.path.isabs = _isabs
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dproject.py36 assert os.path.isabs(filename)
44 assert os.path.isabs(filename)
49 assert os.path.isabs(basedir)
57 assert os.path.isabs(basedir)
/external/jsoncpp/devtools/
H A Dtarball.py22 if os.path.isabs( archive_name ):
/external/python/cpython2/Lib/distutils/command/
H A Dinstall_data.py59 if not os.path.isabs(dir):
/external/python/cpython3/Lib/distutils/command/
H A Dinstall_data.py57 if not os.path.isabs(dir):
/external/autotest/client/bin/
H A Dos_dep.py31 if not os.path.isabs(glob_pattern):
/external/autotest/site_utils/
H A Dacts_lib.py95 if not os.path.isabs(zip_location):
229 if not os.path.isabs(acts_directory):
308 if not os.path.isabs(src):
311 if not os.path.isabs(dst):
/external/toolchain-utils/binary_search_tool/
H A Dcommon.py26 if os.path.isabs(sys.argv[0]):
/external/autotest/site_utils/lxc/
H A Dconfig.py146 if not os.path.isabs(target):
149 if not os.path.isabs(source):
/external/python/cpython3/Lib/unittest/
H A Dmain.py34 if os.path.isabs(name):
36 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):

Completed in 3537 milliseconds

1234