/third_party/python/Lib/test/ |
D | test_unicode_file.py | 57 def _do_copyish(self, filename1, filename2): argument 60 os.rename(filename1, filename2 + ".new") 61 self.assertFalse(os.path.isfile(filename2)) 63 os.rename(filename1 + ".new", filename2) 65 self.assertTrue(os.path.isfile(filename2)) 67 shutil.copy(filename1, filename2 + ".new") 70 shutil.move(filename1, filename2 + ".new") 71 self.assertFalse(os.path.exists(filename2)) 73 shutil.move(filename1 + ".new", filename2) 74 self.assertFalse(os.path.exists(filename2 + '.new')) [all …]
|
D | test_exceptions.py | 373 self.assertEqual(w.filename2, None) 381 self.assertEqual(w.filename2, None) 389 self.assertEqual(w.filename2, None)
|
D | test_compileall.py | 48 def is_hardlink(filename1, filename2): argument 51 inode2 = os.stat(filename2).st_ino
|
/third_party/boost/libs/nowide/test/ |
D | test_stdio.cpp | 117 const std::string filename2 = filename + ".1.txt"; in test_main() local 118 TEST(boost::nowide::freopen(filename2.c_str(), "w", f) == f); in test_main() 123 f = boost::nowide::fopen(filename2.c_str(), "r"); in test_main() 129 boost::nowide::remove(filename2.c_str()); in test_main() 134 const std::string filename2 = filename + ".1.txt"; in test_main() local 135 boost::nowide::remove(filename2.c_str()); in test_main() 137 TEST(!file_exists(filename2)); in test_main() 138 TEST(boost::nowide::rename(filename.c_str(), filename2.c_str()) == 0); in test_main() 140 TEST(file_exists(filename2)); in test_main() 142 TEST(boost::nowide::remove(filename2.c_str()) == 0); in test_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() 82 sf2 = sf_open (filename2, SFM_READ, &sfinfo2) ; in compare() 84 { printf ("Error opening %s.\n", filename2) ; in compare() 147 filename2 = argv [argc - 1] ; in main() 149 if (strcmp (filename1, filename2) == 0) in main()
|
/third_party/gettext/gettext-tools/src/ |
D | po-xerror.c | 146 const char *filename2, size_t lineno2, size_t column2, in textmode_xerror2() argument 161 if (message2 != NULL && (filename2 == NULL || lineno2 == (size_t)(-1))) in textmode_xerror2() 163 filename2 = message2->pos.file_name; in textmode_xerror2() 181 xerror (severity, prefix_tail, filename2, lineno2, column2, in textmode_xerror2() 202 const char *filename2, size_t lineno2, size_t column2,
|
D | po-xerror.h | 62 const char *filename2, size_t lineno2, size_t column2, 75 const char *filename2, size_t lineno2, size_t column2,
|
/third_party/node/test/parallel/ |
D | test-fs-append-file-sync.js | 52 const filename2 = join(tmpdir.path, 'append-sync2.txt'); constant 53 fs.writeFileSync(filename2, currentFileData); 55 fs.appendFileSync(filename2, data); 57 const fileData2 = fs.readFileSync(filename2);
|
D | test-fs-write-file.js | 49 const filename2 = join(tmpdir.path, 'test2.txt'); constant 52 fs.writeFile(filename2, buf, common.mustSucceed(() => { 53 fs.readFile(filename2, common.mustSucceed((buffer) => {
|
D | test-fs-write-negativeoffset.js | 39 const filename2 = join(tmpdir.path, 'test2.txt'); constant 43 open(filename2, 'w+', common.mustSucceed((fd) => {
|
/third_party/pulseaudio/src/pulsecore/ |
D | conf-parser.c | 233 char *filename2 = pa_sprintf_malloc("%s\\%s", dir_name, wfd.cFileName); in pa_config_parse() local 234 pa_config_parse(filename2, NULL, t, proplist, false, userdata); in pa_config_parse() 235 pa_xfree(filename2); in pa_config_parse() 273 char *filename2; in pa_config_parse() 275 filename2 = pa_sprintf_malloc("%s" PA_PATH_SEP "%s", dir_name, entries[i]->d_name); in pa_config_parse() 276 pa_config_parse(filename2, NULL, t, proplist, false, userdata); in pa_config_parse() 277 pa_xfree(filename2); in pa_config_parse()
|
/third_party/libwebsockets/plugins/deaddrop/ |
D | protocol_lws_deaddrop.c | 268 char filename2[256]; in file_upload_cb() local 276 lws_urldecode(filename2, filename, sizeof(filename2) - 1); in file_upload_cb() 277 lws_filename_purify_inplace(filename2); in file_upload_cb() 290 pss->user, filename2); in file_upload_cb() 293 "%s/%s~", pss->vhd->upload_dir, filename2); in file_upload_cb() 336 lws_strncpy(filename2, pss->filename, sizeof(filename2)); in file_upload_cb() 337 filename2[strlen(filename2) - 1] = '\0'; in file_upload_cb() 338 if (rename(pss->filename, filename2) < 0) in file_upload_cb()
|
/third_party/gn/src/base/files/ |
D | file_util.cc | 45 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2) { in ContentsEqual() argument 51 std::ifstream file2(filename2.As8Bit().c_str(), in ContentsEqual() 78 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2) { in TextContentsEqual() argument 80 std::ifstream file2(filename2.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/python/Objects/ |
D | exceptions.c | 817 PyObject **filename, PyObject **filename2 in oserror_parse_args() argument 839 filename, winerror, filename2)) in oserror_parse_args() 882 PyObject *filename, PyObject *filename2 in oserror_init() argument 906 if (filename2 && filename2 != Py_None) { in oserror_init() 907 Py_INCREF(filename2); in oserror_init() 908 self->filename2 = filename2; in oserror_init() 972 PyObject *filename = NULL, *filename2 = NULL; in OSError_new() local 984 &filename, &filename2 in OSError_new() 1014 if (oserror_init(self, &args, myerrno, strerror, filename, filename2 in OSError_new() 1040 PyObject *filename = NULL, *filename2 = NULL; in OSError_init() local [all …]
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_random_crop_and_resize.py | 180 filename2 = "random_crop_and_resize_01_py_result.npz" 182 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN) 216 filename2 = "random_crop_and_resize_02_py_result.npz" 218 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN) 251 filename2 = "random_crop_and_resize_03_py_result.npz" 253 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN)
|
D | test_normalizeOp.py | 217 filename2 = "normalize_01_py_result.npz" 219 save_and_check_md5(data_py, filename2, generate_golden=GENERATE_GOLDEN) 231 filename2 = "normalize_02_py_result.npz" 232 save_and_check_md5(data_py, filename2, generate_golden=GENERATE_GOLDEN)
|
D | test_pad.py | 170 filename2 = "pad_01_py_result.npz" 171 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN)
|
D | test_cut_out.py | 157 filename2 = "cut_out_01_py_result.npz" 158 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN)
|
D | test_random_rotation.py | 182 filename2 = "random_rotation_01_py_result.npz" 183 save_and_check_md5(data2, filename2, generate_golden=GENERATE_GOLDEN)
|
/third_party/python/Include/cpython/ |
D | pyerrors.h | 55 PyObject *filename2; member
|
/third_party/gettext/gettext-tools/libgettextpo/ |
D | gettext-po.in.h | 116 const char *filename2, size_t lineno2, size_t column2,
|
/third_party/python/Doc/library/ |
D | exceptions.rst | 296 OSError(errno, strerror[, filename[, winerror[, filename2]]]) 340 filename2 345 :func:`os.rename`), :attr:`filename2` corresponds to the second 358 :term:`filesystem encoding and error handler`. Also, the *filename2*
|
/third_party/python/Lib/ |
D | shutil.py | 98 err.filename2 = fdst.name 146 err.filename2 = fdst.name
|
/third_party/mindspore/tests/ut/cpp/mindrecord/ |
D | ut_shard_writer_test.cc | 1146 string filename2 = "./ä\xA9ü"; in TEST_F() local 1148 ShardWriterImageNetOpenForAppend(filename2); in TEST_F()
|