Searched refs:filename1 (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/test/ |
D | test_unicode_file.py | 57 def _do_copyish(self, filename1, filename2): argument 59 self.assertTrue(os.path.isfile(filename1)) # must exist. 60 os.rename(filename1, filename2 + ".new") 62 self.assertTrue(os.path.isfile(filename1 + '.new')) 63 os.rename(filename1 + ".new", filename2) 64 self.assertFalse(os.path.isfile(filename1 + '.new')) 67 shutil.copy(filename1, filename2 + ".new") 68 os.unlink(filename1 + ".new") # remove using equiv name. 70 shutil.move(filename1, filename2 + ".new") 72 self.assertTrue(os.path.exists(filename1 + '.new')) [all …]
|
D | test_compileall.py | 48 def is_hardlink(filename1, filename2): argument 50 inode1 = os.stat(filename1).st_ino
|
/third_party/ltp/testcases/kernel/syscalls/dup2/ |
D | dup203.c | 22 static char filename0[40], filename1[40]; variable 46 fd1 = SAFE_CREAT(filename1, 0666); in run() 47 SAFE_WRITE(1, fd1, filename1, strlen(filename1)); in run() 86 SAFE_UNLINK(filename1); in run() 95 sprintf(filename1, "dup203.file1.%d\n", pid); in setup()
|
/third_party/libsnd/programs/ |
D | sndfile-cmp.c | 49 static char * filename1 = NULL, * filename2 = NULL ; variable 60 printf ("%s: %s of files %s and %s differ%s.\n", progname, what, filename1, filename2, buffer) ; in comparison_error() 74 sf1 = sf_open (filename1, SFM_READ, &sfinfo1) ; in compare() 76 { printf ("Error opening %s.\n", filename1) ; in compare() 146 filename1 = argv [argc - 2] ; in main() 149 if (strcmp (filename1, filename2) == 0) in main()
|
/third_party/gn/src/base/files/ |
D | file_util.cc | 45 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2) { in ContentsEqual() argument 49 std::ifstream file1(filename1.As8Bit().c_str(), in ContentsEqual() 78 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2) { in TextContentsEqual() argument 79 std::ifstream file1(filename1.As8Bit().c_str(), std::ios::in); in TextContentsEqual()
|
D | file_util.h | 99 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2); 103 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2);
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | pytracediff.py | 340 stack1 = pkk_parse_trace(options.filename1, options, TraceStateData())
|