Home
last modified time | relevance | path

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

/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/
DBsPatchTest.java52 private File oldFile; field in BsPatchTest
59 oldFile = File.createTempFile("archive_patcher", "old"); in setUp()
60 oldFile.deleteOnExit(); in setUp()
62 if (oldFile != null) { in setUp()
63 oldFile.delete(); in setUp()
71 if (oldFile != null) { in tearDown()
72 oldFile.delete(); in tearDown()
74 oldFile = null; in tearDown()
84 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes()
98 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes_Error_NotEnoughBytes()
[all …]
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplierTest.java79 private File oldFile; field in FileByFileV1DeltaApplierTest
120 oldFile = File.createTempFile("fbfv1dat", "old"); in setUp()
121 oldFile.deleteOnExit(); in setUp()
129 FileOutputStream out = new FileOutputStream(oldFile); in setUp()
238 oldFile.delete(); in tearDown()
251 fakeApplier.applyDelta(oldFile, new ByteArrayInputStream(patchBytes), actualNewBlobOut); in testApplyDelta()
265 fakeApplier.applyDelta(oldFile, new ByteArrayInputStream(patchBytes), actualNewBlobOut); in testApplyDelta_DoesntCloseStream()
/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.cpp157 bool MyMoveFile(CFSTR oldFile, CFSTR newFile) in MyMoveFile() argument
162 if (::MoveFile(fs2fas(oldFile), fs2fas(newFile))) in MyMoveFile()
168 IF_USE_MAIN_PATH_2(oldFile, newFile) in MyMoveFile()
169 if (::MoveFileW(fs2us(oldFile), fs2us(newFile))) in MyMoveFile()
175 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()