Home
last modified time | relevance | path

Searched refs:samefile (Results 1 - 17 of 17) sorted by relevance

/third_party/python/Tools/c-analyzer/c_analyzer/
H A Danalyze.py165 samefile = None
169 if samefile is not None:
171 raise NotImplementedError((decl, samefile, typedecl))
172 samefile = typedecl
185 winner = samefile
186 elif samefile is not None:
188 winner = samefile
/third_party/python/Lib/distutils/
H A Dfile_util.py135 if not (os.path.exists(dst) and os.path.samefile(src, dst)):
145 if not (os.path.exists(dst) and os.path.samefile(src, dst)):
/third_party/python/Lib/test/
H A Dtest_genericpath.py225 self.assertTrue(self.pathmodule.samefile(file1, file1))
228 self.assertFalse(self.pathmodule.samefile(file1, file2))
230 self.assertRaises(TypeError, self.pathmodule.samefile)
241 self.assertTrue(self.pathmodule.samefile(test_fn1, test_fn2))
245 self.assertFalse(self.pathmodule.samefile(test_fn1, test_fn2))
577 self.assertTrue(os.path.samefile(self.file_path, self.file_name))
H A Dtest_pathlib.py1446 self.assertTrue(os.path.samefile(str(path_a), str(path_b)),
1519 self.assertTrue(p.samefile(fileA_path))
1520 self.assertTrue(p.samefile(pp))
1521 self.assertFalse(p.samefile(fileB_path))
1522 self.assertFalse(p.samefile(q))
1526 self.assertRaises(FileNotFoundError, p.samefile, r)
1527 self.assertRaises(FileNotFoundError, p.samefile, non_existent)
1528 self.assertRaises(FileNotFoundError, r.samefile, p)
1529 self.assertRaises(FileNotFoundError, r.samefile, non_existent)
1530 self.assertRaises(FileNotFoundError, r.samefile,
[all...]
H A Dtest_shutil.py2123 self.assertTrue(os.path.samefile(self.src_file, self.dst_file))
2134 self.assertTrue(os.path.samefile(self.src_file, final_link))
2157 self.assertTrue(os.path.samefile(src, dst_link))
H A Dtest_tarfile.py3381 # we fall back to samefile().
3383 self.assertTrue(got.samefile(expected))
H A Dtest_zipfile.py1533 self.assertTrue(os.path.samefile(writtenfile, correctfile), (writtenfile, target))
H A Dtest_os.py2798 self.assertTrue(os.path.samefile(target, r'C:\ProgramData'))
/third_party/python/Lib/
H A Dgenericpath.py10 'getsize', 'isdir', 'isfile', 'samefile', 'sameopenfile',
94 def samefile(f1, f2): function
H A Dzipapp.py195 os.path.samefile(args.source, args.output)):
H A Dshutil.py210 if hasattr(os.path, 'samefile'):
212 return os.path.samefile(src, dst)
H A Dpathlib.py916 def samefile(self, other_path): member in Path
918 (as returned by os.path.samefile()).
H A Dpydoc.py2736 if script_dir in given_path and not os.path.samefile(script_dir, stdlib_dir):
/third_party/python/Lib/test/test_peg_generator/
H A Dtest_c_parser.py84 if os.path.samefile(cls.tmp_base, os_helper.SAVEDCWD):
/third_party/python/Tools/ssl/
H A Dmultissltests.py482 if not os.path.samefile('python', sys.executable):
/third_party/python/Lib/test/support/
H A Dos_helper.py564 return os.path.samefile(base_path, case_path)
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibcpuset.c434 static int samefile(const char *path1, const char *path2) in samefile() function
2821 if (samefile(fromfullpath, tofullpath)) in cpuset_move_cpuset_tasks()

Completed in 57 milliseconds