/external/python/cpython2/Lib/test/ |
D | test_unicode_file.py | 78 def _do_equivalent(self, filename1, filename2): argument 82 self.assertTrue(type(filename1)!=type(filename2), 86 os.stat(filename2)) 88 os.lstat(filename2)) 90 self._do_copyish(filename1, filename2) 93 def _do_copyish(self, filename1, filename2): argument 96 os.rename(filename1, filename2 + ".new") 98 os.rename(filename1 + ".new", filename2) 99 self.assertTrue(os.path.isfile(filename2)) 101 shutil.copy(filename1, filename2 + ".new") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_unicode_file.py | 55 def _do_copyish(self, filename1, filename2): argument 58 os.rename(filename1, filename2 + ".new") 59 self.assertFalse(os.path.isfile(filename2)) 61 os.rename(filename1 + ".new", filename2) 63 self.assertTrue(os.path.isfile(filename2)) 65 shutil.copy(filename1, filename2 + ".new") 68 shutil.move(filename1, filename2 + ".new") 69 self.assertFalse(os.path.exists(filename2)) 71 shutil.move(filename1 + ".new", filename2) 72 self.assertFalse(os.path.exists(filename2 + '.new')) [all …]
|
D | test_exceptions.py | 269 self.assertEqual(w.filename2, None) 277 self.assertEqual(w.filename2, None) 285 self.assertEqual(w.filename2, None)
|
/external/libbrillo/brillo/http/ |
D | http_form_data_unittest.cc | 78 base::FilePath filename2 = dir.GetPath().Append("test.bin"); in TEST() local 81 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST() 91 filename2, in TEST() 153 base::FilePath filename2 = dir.GetPath().Append("test.bin"); in TEST() local 156 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST() 165 filename2, in TEST()
|
/external/pdfium/testing/tools/ |
D | text_diff.py | 14 filename2 = argv[2] 18 with open(filename2, "r") as f2: 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/autotest/client/site_tests/platform_TabletMode/ |
D | platform_TabletMode.py | 96 filename2 = screenshot2.split('/')[-1] 101 % (diff, filename1, filename2)) 117 filename2 = screenshot2.split('/')[-1] 122 % (diff, filename1, filename2))
|
/external/perf_data_converter/src/quipper/ |
D | test_utils.h | 38 bool CompareFileContents(const string& filename1, const string& filename2); 41 void CompareTextProtoFiles(const string& filename1, const string& filename2) { in CompareTextProtoFiles() argument 45 ASSERT_TRUE(FileToBuffer(filename2, &file2_contents)); in CompareTextProtoFiles()
|
D | test_utils.cc | 130 bool CompareFileContents(const string& filename1, const string& filename2) { in CompareFileContents() argument 134 !FileToBuffer(filename2, &file2_contents)) { in CompareFileContents()
|
/external/pdfium/testing/image_diff/ |
D | image_diff.cpp | 305 std::string filename2; in main() local 322 filename2 = argv[i++]; in main() 328 return DiffImages(filename1, filename2, diff_filename); in main() 330 } else if (!filename2.empty()) { in main() 331 return CompareImages(filename1, filename2, histograms); in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XMLValidator.java | 210 final String filename2 = filename; in parse() local 213 System.err.println(filename2 + ": Warning: " + e.getMessage()); in parse() 219 System.err.println(filename2 + ":" + e.getLineNumber() + (col >= 0 ? ":" + col : "") in parse() 225 System.err.println(filename2 + ": ERROR "); in parse()
|
D | LDMLUtilities.java | 1857 …private static ErrorHandler getNullErrorHandler(final String filename2, final boolean ignoreError)… in getNullErrorHandler() argument 1863 String msg = (filename2 + ":" + e.getLineNumber() in getNullErrorHandler() 1875 String msg = (filename2 + ":" + e.getLineNumber() in getNullErrorHandler()
|
/external/libchrome/base/files/ |
D | file_util.cc | 52 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2) { in ContentsEqual() argument 58 std::ifstream file2(filename2.value().c_str(), in ContentsEqual() 86 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2) { in TextContentsEqual() argument 88 std::ifstream file2(filename2.value().c_str(), std::ios::in); in TextContentsEqual()
|
D | file_util.h | 152 const FilePath& filename2); 157 const FilePath& filename2);
|
/external/python/cpython3/Objects/ |
D | exceptions.c | 793 PyObject **filename, PyObject **filename2 in oserror_parse_args() argument 815 filename, winerror, filename2)) in oserror_parse_args() 858 PyObject *filename, PyObject *filename2 in oserror_init() argument 882 if (filename2 && filename2 != Py_None) { in oserror_init() 883 Py_INCREF(filename2); in oserror_init() 884 self->filename2 = filename2; in oserror_init() 948 PyObject *filename = NULL, *filename2 = NULL; in OSError_new() local 960 &filename, &filename2 in OSError_new() 989 if (oserror_init(self, &args, myerrno, strerror, filename, filename2 in OSError_new() 1015 PyObject *filename = NULL, *filename2 = NULL; in OSError_init() local [all …]
|
/external/jdiff/src/jdiff/ |
D | CommentsHandler.java | 72 String filename2 = JDiff.oldFileName.substring(0, idx1) + in startElement() local 74 if (filename2.compareTo(commentsName) != 0) { in startElement() 75 …System.out.println("Warning: API identifier in the comments XML file (" + filename2 + ") differs f… in startElement()
|
D | XMLToAPI.java | 212 String filename2 = name.replace(' ','_'); in nameAPI() local 213 filename2 += ".xml"; in nameAPI() 214 if (filename2.compareTo(api_.name_) != 0) { in nameAPI()
|
/external/tensorflow/tensorflow/contrib/session_bundle/example/ |
D | export_half_plus_two.py | 111 filename2 = tf.Variable(original_filename2, 115 assign_filename2 = filename2.assign(original_filename2)
|
/external/tensorflow/tensorflow/core/grappler/ |
D | grappler_item_builder_test.cc | 135 string filename2 = in TEST_F() local 137 env->DeleteFile(filename2).IgnoreError(); in TEST_F() 138 EXPECT_FALSE(env->FileExists(filename2).ok()); in TEST_F()
|
/external/python/cpython3/Doc/library/ |
D | exceptions.rst | 254 OSError(errno, strerror[, filename[, winerror[, filename2]]]) 298 filename2 303 :func:`os.rename`), :attr:`filename2` corresponds to the second 316 filesystem encoding. Also, the *filename2* constructor argument and
|
/external/python/cpython3/Include/ |
D | pyerrors.h | 56 PyObject *filename2; member
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 223 …romWindowsErrWithFilenameObjects(PyObject *type, int ierr, PyObject *filename, PyObject *filename2)
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 639 PyErr_SetExcFromWindowsErrWithFilenameObjects:PyObject*:filename2:+1:
|