Home
last modified time | relevance | path

Searched refs:is_hardlink (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_compileall.py43 def is_hardlink(filename1, filename2): function
873 self.assertEqual(is_hardlink(pycs[0], pycs[1]), dedup)
874 self.assertEqual(is_hardlink(pycs[1], pycs[2]), dedup)
875 self.assertEqual(is_hardlink(pycs[0], pycs[2]), dedup)
950 self.assertFalse(is_hardlink(pycs[0], pycs[1]))
951 self.assertFalse(is_hardlink(pycs[0], pycs[2]))
952 self.assertFalse(is_hardlink(pycs[1], pycs[2]))
956 self.assertEqual(is_hardlink(pycs[0], pycs[1]),
958 self.assertEqual(is_hardlink(pycs[0], pycs[2]),
960 self.assertEqual(is_hardlink(pycs[1], pycs[2]),
[all …]
/external/e2fsprogs/misc/
Dcreate_inode.c602 static int is_hardlink(struct hdlinks_s *hdlinks, dev_t dev, ino_t ino) in is_hardlink() function
834 hdlink = is_hardlink(hdlinks, st.st_dev, st.st_ino); in __populate_fs()