Searched refs:samefile (Results 1 - 17 of 17) sorted by relevance
/third_party/python/Tools/c-analyzer/c_analyzer/ |
H A D | analyze.py | 165 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 D | file_util.py | 135 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 D | test_genericpath.py | 225 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 D | test_pathlib.py | 1446 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 D | test_shutil.py | 2123 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 D | test_tarfile.py | 3381 # we fall back to samefile(). 3383 self.assertTrue(got.samefile(expected))
|
H A D | test_zipfile.py | 1533 self.assertTrue(os.path.samefile(writtenfile, correctfile), (writtenfile, target))
|
H A D | test_os.py | 2798 self.assertTrue(os.path.samefile(target, r'C:\ProgramData'))
|
/third_party/python/Lib/ |
H A D | genericpath.py | 10 'getsize', 'isdir', 'isfile', 'samefile', 'sameopenfile', 94 def samefile(f1, f2): function
|
H A D | zipapp.py | 195 os.path.samefile(args.source, args.output)):
|
H A D | shutil.py | 210 if hasattr(os.path, 'samefile'): 212 return os.path.samefile(src, dst)
|
H A D | pathlib.py | 916 def samefile(self, other_path): member in Path 918 (as returned by os.path.samefile()).
|
H A D | pydoc.py | 2736 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 D | test_c_parser.py | 84 if os.path.samefile(cls.tmp_base, os_helper.SAVEDCWD):
|
/third_party/python/Tools/ssl/ |
H A D | multissltests.py | 482 if not os.path.samefile('python', sys.executable):
|
/third_party/python/Lib/test/support/ |
H A D | os_helper.py | 564 return os.path.samefile(base_path, case_path)
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | libcpuset.c | 434 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