Home
last modified time | relevance | path

Searched refs:islink (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
Dtest_zipio.py122 self.assertTrue(zipio.islink(fn))
127 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'test.txt')))
128 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'subdir')))
129 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'zipped.egg')))
130 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'zipped.egg/subdir')))
131 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'zipped.egg/subdir4')))
132 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'zipped.egg/test.txt')))
133 self.assertFalse(zipio.islink(os.path.join(TESTDATA, 'zipped.egg/subdir/file1.txt')))
135 self.assertRaises(IOError, zipio.islink, os.path.join(TESTDATA, 'no-such-file'))
136 … self.assertRaises(IOError, zipio.islink, os.path.join(TESTDATA, 'zipped.egg', 'no-such-file'))
/external/chromium-trace/catapult/hooks/
Dinstall.py34 if os.path.exists(full_dst_path) or os.path.islink(full_dst_path):
35 if not os.path.islink(full_dst_path):
65 if (os.path.islink(old_precommit) and
/external/autotest/client/bin/
Dharness_standalone.py51 if os.path.islink(service):
53 if os.path.islink(service_link):
Dlocal_host.py84 if os.path.islink(path):
113 if preserve_symlinks and os.path.islink(source):
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dzipio.rst47 .. function:: islink(path)
53 Based on :func:`os.path.islink`
/external/webrtc/
Dsetup_links.py357 if os.path.islink(link_path) or sys.platform.startswith('win'):
416 if os.path.exists(link_path) or os.path.islink(link_path):
417 if os.path.islink(link_path):
/external/libyuv/files/
Dsetup_links.py336 if os.path.islink(link_path) or sys.platform.startswith('win'):
395 if os.path.exists(link_path) or os.path.islink(link_path):
396 if os.path.islink(link_path):
/external/autotest/utils/
Dreindent.py95 if os.path.isdir(file) and not os.path.islink(file):
102 not os.path.islink(fullname))
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dfile.py42 if os.path.islink(self._filename):
Dlocked_file.py57 if os.path.islink(filename):
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py374 join, isdir, islink = _os.path.join, _os.path.isdir, _os.path.islink
395 if not islink(path):
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/
Dshell.py374 join, isdir, islink = _os.path.join, _os.path.isdir, _os.path.islink
395 if not islink(path):
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dzipio.py277 def islink(path): function
281 return _os.path.islink(path)
/external/jsoncpp/devtools/
Dantglob.py137 link = os.path.islink( full_path )
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_window.py285 if os.path.islink(symlink):
352 if os.path.islink(self.gtk_symlink):
Dfirmware_utils.py171 if os.path.islink(latest_symlink):
/external/autotest/client/cros/
Dnetwork_chroot.py227 elif os.path.islink(src_path):
/external/autotest/client/tests/kvm/tests/
Denospc.py93 if os.path.islink(self.qcow_file_path):
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_vs_real_test.py403 if os.path.islink(real_path):
415 if self.fake_os.path.islink(fake_path):
Dfake_filesystem.py1019 return self.exists(path) or self.islink(path)
1074 def islink(self, path): member in FakePathModule
1531 if self.path.isdir(path) and not self.path.islink(path):
Dfake_filesystem_test.py1964 self.assertFalse(self.path.islink('foo'))
1968 self.assertTrue(self.path.islink('foo/link_to_file'))
1972 self.assertFalse(self.path.islink('foo/regular_file'))
1974 self.assertFalse(self.path.islink('it_dont_exist'))
2711 self.assertTrue(os_module.path.islink('/foo/bar'))
2714 self.assertTrue(os_module.path.islink('bar'))
2730 self.assertTrue(os_module.path.islink('/foo/bar'))
2733 self.assertTrue(os_module.path.islink('bar'))
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Drsync.py393 if exp_src_url.IsFileUrl() and os.path.islink(exp_src_url.object_name):
544 and os.path.islink(url.object_name)):
/external/mesa3d/scons/
Dgallium.py48 if os.path.islink(target) or os.path.exists(target):
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py1037 return self.exists(path) or self.islink(path)
1092 def islink(self, path): member in FakePathModule
1549 if self.path.isdir(path) and not self.path.islink(path):
/external/autotest/client/virt/
Dvirt_env_process.py339 if os.path.isdir(d) and not os.path.islink(d):

12