/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/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/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 | 48 const filename2 = join(tmpdir.path, 'test2.txt'); constant 51 fs.writeFile(filename2, buf, common.mustSucceed(() => { 52 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/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/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/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/cups-filters/filter/ |
D | imagetopdf.c | 1159 char filename2[1024]; in main() local 1162 if ((fd2 = cupsTempFd(filename2, sizeof(filename2))) < 0) in main() 1170 " %s png:%s",filename, filename2); in main() 1172 unlink(filename2); in main() 1176 img = cupsImageOpen(filename2, colorspace, in main() 1178 unlink(filename2); in main()
|
/third_party/python/Include/cpython/ |
D | pyerrors.h | 55 PyObject *filename2; member
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | pytracediff.py | 341 stack2 = pkk_parse_trace(options.filename2, options, TraceStateData())
|
/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/python/Doc/c-api/ |
D | exceptions.rst | 228 …romWindowsErrWithFilenameObjects(PyObject *type, int ierr, PyObject *filename, PyObject *filename2)
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 667 PyErr_SetExcFromWindowsErrWithFilenameObjects:PyObject*:filename2:+1:
|