Home
last modified time | relevance | path

Searched refs:filename1 (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/test/
Dtest_unicode_file.py55 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 …]
Dtest_compileall.py43 def is_hardlink(filename1, filename2): argument
45 inode1 = os.stat(filename1).st_ino
/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c63 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/
Dsndfile-cmp.c49 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/
Dpo-xerror.c143 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,
Dpo-xerror.h59 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/
Dfile_util.cc45 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()
Dfile_util.h99 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2);
103 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2);
/third_party/curl/tests/unit/
Dunit1304.c53 static const char * const filename1 = "log/netrc1304"; variable
54 memcpy(filename, filename1, strlen(filename1));
/third_party/gettext/gettext-tools/libgettextpo/
Dgettext-po.in.h113 const char *filename1, size_t lineno1, size_t column1,
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dcrawl.go251 filename1 := filepath.Join(*outdirFlag, "manifest.tsv")
274 return os.Rename(filename0, filename1)
/third_party/gettext/gettext-tools/tests/
Dgettextpo-1-prg.c81 const char *filename1, size_t lineno1, size_t column1, in my_xerror2() argument
/third_party/gettext/gettext-tools/doc/
Dgettext.texi5437 …severity}, po_message_t@tie{}@var{message1}, const@tie{}char@tie{}*@var{filename1}, size_t@tie{}@v…