/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | GenerateComparison.java | 118 CLDRFile oldFile = null; in main() local 121 oldFile = oldFactory.make(locale, true, true); in main() 127 oldFile = SimpleFactory.makeFile(locale); // make empty file in main() 150 if (oldFile == null) { in main() 170 oldFile.forEach(paths::add); in main() 172 paths.addAll(oldFile.getExtraPaths()); in main() 221 String oldValue = oldFile.getStringValue(cleanedPath); in main() 517 private static String getStatus(CLDRFile oldFile, CLDRFile oldRoot, String path, in getStatus() argument 519 String oldLocale = oldFile.getSourceLocaleID(path, oldStatus); in getStatus()
|
D | CompareData.java | 78 CLDRFile oldFile = oldFactory.make(locale, false); in main() local 83 String oldValue = oldFile.getStringValue(path); in main() 93 for (Iterator<String> it2 = oldFile.iterator(); it2.hasNext();) { in main()
|
D | GenerateChangeChart.java | 71 CLDRFile oldFile = old.make(locale, true); in main() local 78 for (String path : oldFile) { in main() 83 String oldValue = oldFile.getStringValue(path); in main() 84 String source = oldFile.getSourceLocaleID(path, status); in main()
|
D | CountItems.java | 568 …BufferedReader oldFile = FileUtilities.openUTF8Reader(CLDRPaths.SUPPLEMENTAL_DIRECTORY, "supplemen… in getSubtagVariables2() local 569 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<!-- start of data generated with CountItems.*… in getSubtagVariables2() 585 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s<!-- end of data generated by CountItems.*"), n… in getSubtagVariables2() 586 CldrUtility.copyUpTo(oldFile, null, Log.getLog(), true); in getSubtagVariables2() 589 oldFile.close(); in getSubtagVariables2()
|
D | ConvertLanguageData.java | 123 final BufferedReader oldFile = FileUtilities.openUTF8Reader(oldSupp); in main() argument 128 … CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<languageData>\\s*"), newFile, false); in main() 219 … CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*</territoryInfo>\\s*"), null, false); in main() 220 CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<references>\\s*"), newFile, false); in main() 223 CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*</references>\\s*"), null, false); in main() 224 CldrUtility.copyUpTo(oldFile, null, newFile, false); in main()
|
D | CLDRModify.java | 486 File oldFile = new File(sourceDir, test + ".xml"); in main() local 488 if (!oldFile.equals(newFile) // only skip if the source & target are different. in main() 489 && equalsSkippingCopyright(oldFile, newFile)) { in main() 512 public static boolean equalsSkippingCopyright(File oldFile, File newFile) { in equalsSkippingCopyright() argument 513 Iterator<String> oldIterator = FileUtilities.in(oldFile).iterator(); in equalsSkippingCopyright()
|
D | GenerateMaximalLocales.java | 869 BufferedReader oldFile = FileUtilities.openUTF8Reader(oldSuppMetadataFile);) { in printDefaultContent() 870 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<defaultContent locales=\"\\s*"), genFile, fal… in printDefaultContent() 880 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*/>\\s*(<!--.*)?"), null, true); // skip to mat… in printDefaultContent() 881 CldrUtility.copyUpTo(oldFile, null, genFile, true); // copy the rest in printDefaultContent()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | TempPrintWriter.java | 100 …private static boolean replaceDifferentOrDelete(String oldFile, String newFile, boolean skipCopyri… in replaceDifferentOrDelete() argument 101 final File oldFile2 = new File(oldFile); in replaceDifferentOrDelete() 104 final boolean identical = filesAreIdentical(oldFile, newFile, skipCopyright, lines); in replaceDifferentOrDelete() 109 System.out.println("Found difference in : " + oldFile + ", " + newFile); in replaceDifferentOrDelete()
|
D | FindDTDOrder.java | 422 BufferedReader oldFile = FileUtilities.openUTF8Reader(dir, filename); in writeNewSupplemental() local 433 CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*" + in writeNewSupplemental() 437 CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*" + in writeNewSupplemental() 441 CldrUtility.copyUpTo(oldFile, null, Log.getLog(), false); // copy to end in writeNewSupplemental() 444 oldFile.close(); in writeNewSupplemental()
|
D | CldrUtility.java | 1315 public static void copyUpTo(BufferedReader oldFile, final Pattern readUntilPattern, in copyUpTo() argument 1319 String line = oldFile.readLine(); in copyUpTo()
|
/external/skia/infra/bots/task_drivers/compile_wasm_gm_tests/ |
D | compile_wasm_gm_tests.go | 98 oldFile := filepath.Join(workDir, name) 100 if err := os.Rename(oldFile, newFile); err != nil { 101 return td.FailStep(ctx, skerr.Wrapf(err, "copying %s to %s", oldFile, newFile))
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | FileUtilsTest.java | 1668 final File oldFile = new File(tempDirFile, "FileUtils-old.txt"); 1673 final Path oldPath = oldFile.toPath(); 1712 assertFalse(FileUtils.isFileNewer(oldFile, refFile), "Old File - Newer - File"); 1713 assertFalse(FileUtils.isFileNewer(oldFile, date), "Old File - Newer - Date"); 1714 assertFalse(FileUtils.isFileNewer(oldFile, now), "Old File - Newer - Mili"); 1715 assertFalse(FileUtils.isFileNewer(oldFile, instant), "Old File - Newer - Instant"); 1716 … assertFalse(FileUtils.isFileNewer(oldFile, zonedDateTime), "Old File - Newer - ZonedDateTime"); 1717 … assertFalse(FileUtils.isFileNewer(oldFile, offsetDateTime), "Old File - Newer - OffsetDateTime"); 1718 … assertFalse(FileUtils.isFileNewer(oldFile, localDateTime), "Old File - Newer - LocalDateTime"); 1719 …assertFalse(FileUtils.isFileNewer(oldFile, localDateTime, ZoneId.systemDefault()), "Old File - New… [all …]
|
/external/lzma/CPP/Windows/ |
D | FileDir.cpp | 166 bool MyMoveFile(CFSTR oldFile, CFSTR newFile) in MyMoveFile() argument 171 if (::MoveFile(fs2fas(oldFile), fs2fas(newFile))) in MyMoveFile() 177 IF_USE_MAIN_PATH_2(oldFile, newFile) in MyMoveFile() 178 if (::MoveFileW(fs2us(oldFile), fs2us(newFile))) in MyMoveFile() 184 if (GetSuperPaths(oldFile, newFile, d1, d2, USE_MAIN_PATH_2)) in MyMoveFile()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | ReportAPI.java | 92 String oldFile = null; in main() local 100 oldFile = args[++i]; in main() 112 new ReportAPI(oldFile, newFile, internal).writeReport(outFile, html, internal); in main() 133 ReportAPI(String oldFile, String newFile, boolean internal) { in ReportAPI() argument 134 this(APIData.read(oldFile, internal), APIData.read(newFile, internal)); in ReportAPI()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/ |
D | FileFilterTest.java | 62 final File oldFile = new File(temporaryFolder, "old.txt"); in testAgeFilter() local 63 final Path oldPath = oldFile.toPath(); in testAgeFilter() 68 if (!oldFile.getParentFile().exists()) { in testAgeFilter() 69 fail("Cannot create file " + oldFile + " as the parent directory does not exist"); in testAgeFilter() 71 …try (BufferedOutputStream output1 = new BufferedOutputStream(Files.newOutputStream(oldFile.toPath(… in testAgeFilter() 87 } while (equalsLastModified(oldFile, reference)); in testAgeFilter() 116 assertFiltering(filter1, oldFile, true); in testAgeFilter() 117 assertFiltering(filter2, oldFile, true); in testAgeFilter() 118 assertFiltering(filter3, oldFile, false); in testAgeFilter() 119 assertFiltering(filter4, oldFile, true); in testAgeFilter() [all …]
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestTransforms.java | 210 File oldFile = ids.get(id); in addTransformID() local 211 if (oldFile == null || oldFile.equals(file)) { in addTransformID() 215 "\" already defined in " + oldFile.getName()); in addTransformID() 304 File oldFile = entry.getValue(); in TestTransformIDs() local 306 "\"; the previous CLDR release had defined it in " + oldFile.getName()); in TestTransformIDs()
|
/external/deqp/scripts/ |
D | check_swiftshader_runtime.py | 480 newFile, oldFile = ARGS.files variable 481 compareRuns(str(newFile), str(oldFile))
|