Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_unicode_file.py57 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 …]
Dtest_compileall.py48 def is_hardlink(filename1, filename2): argument
50 inode1 = os.stat(filename1).st_ino
/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c22 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/
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/mindspore/tests/ut/python/dataset/
Dtest_random_crop_and_resize.py179 filename1 = "random_crop_and_resize_01_c_result.npz"
181 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
215 filename1 = "random_crop_and_resize_02_c_result.npz"
217 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
250 filename1 = "random_crop_and_resize_03_c_result.npz"
252 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
Dtest_pad.py168 filename1 = "pad_01_c_result.npz"
169 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
Dtest_cut_out.py155 filename1 = "cut_out_01_c_result.npz"
156 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
Dtest_random_rotation.py180 filename1 = "random_rotation_01_c_result.npz"
181 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
Dtest_normalizeOp.py216 filename1 = "normalize_01_c_result.npz"
218 save_and_check_md5(data_c, filename1, generate_golden=GENERATE_GOLDEN)
/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/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_writer_test.cc1144 string filename1 = "./▒AppendSample.shard01"; in TEST_F() local
1145 ShardWriterImageNetOpenForAppend(filename1); in TEST_F()
/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…