/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/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/mindspore/tests/ut/python/dataset/ |
D | test_random_crop_and_resize.py | 179 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)
|
D | test_pad.py | 168 filename1 = "pad_01_c_result.npz" 169 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
|
D | test_cut_out.py | 155 filename1 = "cut_out_01_c_result.npz" 156 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
|
D | test_random_rotation.py | 180 filename1 = "random_rotation_01_c_result.npz" 181 save_and_check_md5(data1, filename1, generate_golden=GENERATE_GOLDEN)
|
D | test_normalizeOp.py | 216 filename1 = "normalize_01_c_result.npz" 218 save_and_check_md5(data_c, filename1, generate_golden=GENERATE_GOLDEN)
|
/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/mindspore/tests/ut/cpp/mindrecord/ |
D | ut_shard_writer_test.cc | 1144 string filename1 = "./▒AppendSample.shard01"; in TEST_F() local 1145 ShardWriterImageNetOpenForAppend(filename1); in TEST_F()
|
/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…
|