Home
last modified time | relevance | path

Searched refs:isabs (Results 1 – 25 of 103) sorted by relevance

12345

/external/python/cpython3/Lib/test/
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(b"xx:yy"))
22 self.assertTrue(isabs(b"xx:yy:"))
[all …]
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(b"foo/bar"), False)
[all …]
Dtest_sysconfig.py38 self.isabs = os.path.isabs
61 os.path.isabs = self.isabs
346 self.assertTrue(os.path.isabs(srcdir), srcdir)
Dtest_site.py354 self.assertFalse(os.path.isabs(os__file__))
355 self.assertFalse(os.path.isabs(os__cached__))
363 self.assertTrue(os.path.isabs(os__file__),
366 self.assertTrue(os.path.isabs(os__cached__),
/external/python/cpython2/Lib/test/
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:"))
Dtest_sysconfig.py40 self.isabs = os.path.isabs
60 os.path.isabs = self.isabs
Dtest_posixpath.py81 self.assertIs(posixpath.isabs(""), False)
82 self.assertIs(posixpath.isabs("/"), True)
83 self.assertIs(posixpath.isabs("/foo"), True)
84 self.assertIs(posixpath.isabs("/foo/bar"), True)
85 self.assertIs(posixpath.isabs("foo/bar"), False)
/external/python/cpython3/Lib/distutils/tests/
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/python/cpython2/Lib/
Dmacpath.py33 def isabs(s): function
46 if (not path) or isabs(t):
94 if not isabs(s):
189 if not isabs(path):
Dos2emxpath.py12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
49 if isabs(b):
149 if not isabs(path):
Dposixpath.py52 def isabs(s): function
360 if not isabs(path):
381 if isabs(rest):
Dmacurl2path.py70 if os.path.isabs(pathname):
/external/python/cpython3/Lib/
Dmacpath.py41 def isabs(s): function
59 if (not path) or isabs(t):
114 if not isabs(s):
183 if not isabs(path):
Dposixpath.py62 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]
Dntpath.py66 def isabs(s): function
529 if not isabs(path):
636 isabs, = set(p[:1] == sep for d, p in drivesplits)
660 prefix = drive + sep if isabs else drive
Dmacurl2path.py70 if os.path.isabs(pathname):
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
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/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
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/autotest/site_utils/
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/autotest/site_utils/lxc/
Dconfig.py146 if not os.path.isabs(target):
149 if not os.path.isabs(source):
/external/v8/tools/foozzie/
Dv8_foozzie.py137 if not os.path.isabs(options.first_d8):
139 if not os.path.isabs(options.second_d8):
/external/python/cpython2/Doc/library/
Dmacpath.rst14 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
/external/tensorflow/tensorflow/python/training/
Dsaver.py923 if not os.path.isabs(save_dir):
924 if not os.path.isabs(model_checkpoint_path):
928 if not os.path.isabs(p):
999 if os.path.isabs(model_checkpoint_path):
1006 if os.path.isabs(p):
1067 if not os.path.isabs(ckpt.model_checkpoint_path):
1072 if not os.path.isabs(p):
/external/python/cpython3/Doc/library/
Dmacpath.rst16 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
/external/python/cpython3/Lib/unittest/
Dmain.py34 if os.path.isabs(name):
36 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):

12345