/third_party/python/Lib/test/ |
D | test_unicode_file.py | 55 def _do_copyish(self, filename1, filename2): argument 57 self.assertTrue(os.path.isfile(filename1)) # must exist. 58 os.rename(filename1, filename2 + ".new") 60 self.assertTrue(os.path.isfile(filename1 + '.new')) 61 os.rename(filename1 + ".new", filename2) 62 self.assertFalse(os.path.isfile(filename1 + '.new')) 65 shutil.copy(filename1, filename2 + ".new") 66 os.unlink(filename1 + ".new") # remove using equiv name. 68 shutil.move(filename1, filename2 + ".new") 70 self.assertTrue(os.path.exists(filename1 + '.new')) [all …]
|
D | test_compileall.py | 43 def is_hardlink(filename1, filename2): argument 45 inode1 = os.stat(filename1).st_ino
|
/third_party/ltp/testcases/kernel/syscalls/dup2/ |
D | dup203.c | 63 char filename0[40], filename1[40]; in main() local 80 sprintf(filename1, "dup202.file1.%d\n", getpid()); in main() 82 unlink(filename1); in main() 89 if ((fd1 = creat(filename1, 0666)) == -1) in main() 91 if (write(fd1, filename1, strlen(filename1)) == -1) in main() 99 if ((fd1 = open(filename1, O_RDONLY)) == -1) in main() 124 unlink(filename1); in main() 143 if ((fd2 = creat(filename1, 0666)) == -1) { in main() 180 unlink(filename1); in main()
|
/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/gettext/gettext-tools/src/ |
D | po-xerror.c | 143 const char *filename1, size_t lineno1, size_t column1, in textmode_xerror2() argument 154 if (message1 != NULL && (filename1 == NULL || lineno1 == (size_t)(-1))) in textmode_xerror2() 156 filename1 = message1->pos.file_name; in textmode_xerror2() 169 xerror (severity1, prefix_tail, filename1, lineno1, column1, multiline_p1, in textmode_xerror2() 174 xerror (severity1, prefix_tail, filename1, lineno1, column1, in textmode_xerror2() 199 const char *filename1, size_t lineno1, size_t column1,
|
D | po-xerror.h | 59 const char *filename1, size_t lineno1, size_t column1, 72 const char *filename1, size_t lineno1, size_t column1,
|
/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/curl/tests/unit/ |
D | unit1304.c | 53 static const char * const filename1 = "log/netrc1304"; variable 54 memcpy(filename, filename1, strlen(filename1));
|
/third_party/gettext/gettext-tools/libgettextpo/ |
D | gettext-po.in.h | 113 const char *filename1, size_t lineno1, size_t column1,
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | crawl.go | 251 filename1 := filepath.Join(*outdirFlag, "manifest.tsv") 274 return os.Rename(filename0, filename1)
|
/third_party/gettext/gettext-tools/tests/ |
D | gettextpo-1-prg.c | 81 const char *filename1, size_t lineno1, size_t column1, in my_xerror2() argument
|
/third_party/gettext/gettext-tools/doc/ |
D | gettext.texi | 5437 …severity}, po_message_t@tie{}@var{message1}, const@tie{}char@tie{}*@var{filename1}, size_t@tie{}@v…
|