Home
last modified time | relevance | path

Searched refs:oldFile (Results 1 – 16 of 16) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateComparison.java118 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()
DCompareData.java79 CLDRFile oldFile = oldFactory.make(locale, false); in main() local
84 String oldValue = oldFile.getStringValue(path); in main()
94 for (Iterator<String> it2 = oldFile.iterator(); it2.hasNext();) { in main()
DGenerateChangeChart.java70 CLDRFile oldFile = old.make(locale, true); in main() local
77 for (String path : oldFile) { in main()
82 String oldValue = oldFile.getStringValue(path); in main()
83 String source = oldFile.getSourceLocaleID(path, status); in main()
DConvertLanguageData.java118 BufferedReader oldFile = null; in main() local
126oldFile = FileUtilities.openUTF8Reader(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY, "supplementalData… in main()
127 … CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<languageData>\\s*"), Log.getLog(), false); in main()
218 … CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*</territoryInfo>\\s*"), null, false); in main()
219 … CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<references>\\s*"), Log.getLog(), false); in main()
222 CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*</references>\\s*"), null, false); in main()
223 CldrUtility.copyUpTo(oldFile, null, Log.getLog(), false); in main()
226 oldFile.close(); in main()
234 if (oldFile != null) { in main()
235 oldFile.close(); in main()
DCountItems.java568 …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()
DGenerateMaximalLocales.java792 …BufferedReader oldFile = FileUtilities.openUTF8Reader(CLDRPaths.SUPPLEMENTAL_DIRECTORY, "supplemen… in printDefaultContent() local
793 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*<defaultContent locales=\"\\s*"), Log.getLog()… in printDefaultContent()
803 …CldrUtility.copyUpTo(oldFile, PatternCache.get("\\s*/>\\s*(<!--.*)?"), null, true); // skip to mat… in printDefaultContent()
804 CldrUtility.copyUpTo(oldFile, null, Log.getLog(), true); // copy the rest in printDefaultContent()
807 oldFile.close(); in printDefaultContent()
/external/cldr/tools/java/org/unicode/cldr/util/
DTempPrintWriter.java100 …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()
DFindDTDOrder.java422 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()
DCldrUtility.java1305 public static void copyUpTo(BufferedReader oldFile, final Pattern readUntilPattern, in copyUpTo() argument
1309 String line = oldFile.readLine(); in copyUpTo()
/external/skia/infra/bots/task_drivers/compile_wasm_gm_tests/
Dcompile_wasm_gm_tests.go98 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DCaptureHolder.java286 File oldFile = new File(mCapturedStates[mIndexToPlace].fileNameBase + suffix); in run() local
287 boolean deleted = oldFile.delete(); in run()
289 Log.d(TAG, "Delete old capture: " + oldFile.toString() + in run()
290 (oldFile.exists() ? " unable to delete" : " was not present")); in run()
/external/lzma/CPP/Windows/
DFileDir.cpp166 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/
DReportAPI.java92 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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestTransforms.java209 File oldFile = ids.get(id); in addTransformID() local
210 if (oldFile == null || oldFile.equals(file)) { in addTransformID()
214 "\" already defined in " + oldFile.getName()); in addTransformID()
297 File oldFile = entry.getValue(); in TestTransformIDs() local
299 "\"; the previous CLDR release had defined it in " + oldFile.getName()); in TestTransformIDs()
/external/skqp/tools/bookmaker/
DparserCommon.cpp50 void ParserCommon::CopyToFile(string oldFile, string newFile) { in CopyToFile() argument
53 FILE* oldOut = fopen(oldFile.c_str(), "wb"); in CopyToFile()
55 SkDebugf("could not open file %s\n", oldFile.c_str()); in CopyToFile()
DparserCommon.h73 static void CopyToFile(string oldFile, string newFile);