Home
last modified time | relevance | path

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

12345

/external/python/cpython3/Lib/test/
Dtest_macpath.py18 isabs = macpath.isabs
19 self.assertTrue(isabs("xx:yy"))
20 self.assertTrue(isabs("xx:yy:"))
21 self.assertTrue(isabs("xx:"))
22 self.assertFalse(isabs("foo"))
23 self.assertFalse(isabs(":foo"))
24 self.assertFalse(isabs(":foo:bar"))
25 self.assertFalse(isabs(":foo:bar:"))
27 self.assertTrue(isabs(b"xx:yy"))
28 self.assertTrue(isabs(b"xx:yy:"))
[all …]
Dtest_posixpath.py116 self.assertIs(posixpath.isabs(""), False)
117 self.assertIs(posixpath.isabs("/"), True)
118 self.assertIs(posixpath.isabs("/foo"), True)
119 self.assertIs(posixpath.isabs("/foo/bar"), True)
120 self.assertIs(posixpath.isabs("foo/bar"), False)
122 self.assertIs(posixpath.isabs(b""), False)
123 self.assertIs(posixpath.isabs(b"/"), True)
124 self.assertIs(posixpath.isabs(b"/foo"), True)
125 self.assertIs(posixpath.isabs(b"/foo/bar"), True)
126 self.assertIs(posixpath.isabs(b"foo/bar"), False)
[all …]
Dtest_sysconfig.py37 self.isabs = os.path.isabs
60 os.path.isabs = self.isabs
351 self.assertTrue(os.path.isabs(srcdir), srcdir)
Dtest_site.py417 self.assertFalse(os.path.isabs(os__file__))
418 self.assertFalse(os.path.isabs(os__cached__))
426 self.assertTrue(os.path.isabs(os__file__),
429 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.py30 self.isabs = os.path.isabs
51 os.path.isabs = self.isabs
200 os.path.isabs = _isabs
214 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.py46 def isabs(s): function
64 if (not path) or isabs(t):
119 if not isabs(s):
188 if not isabs(path):
Dposixpath.py64 def isabs(s): function
379 if not isabs(path):
410 if isabs(rest):
512 isabs, = set(p[:1] == sep for p in paths)
525 prefix = sep if isabs else sep[:0]
Dntpath.py67 def isabs(s): function
507 if not isabs(path):
613 isabs, = set(p[:1] == sep for d, p in drivesplits)
637 prefix = drive + sep if isabs else drive
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_management.py108 if not os.path.isabs(save_dir):
109 if not os.path.isabs(model_checkpoint_path):
113 if not os.path.isabs(p):
209 if os.path.isabs(model_checkpoint_path):
216 if os.path.isabs(p):
281 if not os.path.isabs(ckpt.model_checkpoint_path):
286 if not os.path.isabs(p):
/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/lxc/
Dconfig.py146 if not os.path.isabs(target):
149 if not os.path.isabs(source):
/external/python/cpython2/Doc/library/
Dmacpath.rst14 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
/external/python/cpython3/Doc/library/
Dmacpath.rst18 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
/external/v8/tools/clusterfuzz/
Dv8_foozzie.py183 if not os.path.isabs(options.first_d8):
185 if not os.path.isabs(options.second_d8):
/external/python/cpython3/Lib/unittest/
Dmain.py35 if os.path.isabs(name):
37 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):
/external/python/cpython3/Lib/distutils/command/
Dinstall_data.py57 if not os.path.isabs(dir):
/external/jsoncpp/devtools/
Dtarball.py22 if os.path.isabs( archive_name ):

12345