/external/python/cpython3/Lib/test/ |
D | test_macpath.py | 12 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 …]
|
D | test_posixpath.py | 114 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 …]
|
D | test_sysconfig.py | 38 self.isabs = os.path.isabs 61 os.path.isabs = self.isabs 346 self.assertTrue(os.path.isabs(srcdir), srcdir)
|
D | test_site.py | 354 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/ |
D | test_macpath.py | 12 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:"))
|
D | test_sysconfig.py | 40 self.isabs = os.path.isabs 60 os.path.isabs = self.isabs
|
D | test_posixpath.py | 81 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/ |
D | test_util.py | 29 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/ |
D | macpath.py | 33 def isabs(s): function 46 if (not path) or isabs(t): 94 if not isabs(s): 189 if not isabs(path):
|
D | os2emxpath.py | 12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive, 49 if isabs(b): 149 if not isabs(path):
|
D | posixpath.py | 52 def isabs(s): function 360 if not isabs(path): 381 if isabs(rest):
|
D | macurl2path.py | 70 if os.path.isabs(pathname):
|
/external/python/cpython3/Lib/ |
D | macpath.py | 41 def isabs(s): function 59 if (not path) or isabs(t): 114 if not isabs(s): 183 if not isabs(path):
|
D | posixpath.py | 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]
|
D | ntpath.py | 66 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
|
D | macurl2path.py | 70 if os.path.isabs(pathname):
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 24 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/ |
D | project.py | 36 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/ |
D | acts_lib.py | 95 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/ |
D | config.py | 146 if not os.path.isabs(target): 149 if not os.path.isabs(source):
|
/external/v8/tools/foozzie/ |
D | v8_foozzie.py | 137 if not os.path.isabs(options.first_d8): 139 if not os.path.isabs(options.second_d8):
|
/external/python/cpython2/Doc/library/ |
D | macpath.rst | 14 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
|
/external/tensorflow/tensorflow/python/training/ |
D | saver.py | 923 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/ |
D | macpath.rst | 16 :func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
|
/external/python/cpython3/Lib/unittest/ |
D | main.py | 34 if os.path.isabs(name): 36 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):
|