Searched refs:destFile (Results 1 - 12 of 12) sorted by relevance
/developtools/packing_tool/adapter/ohos/ |
H A D | Uncompress.java | 91 File destFile = new File(utility.getOutPath()); in unpackageProcess() 93 if (!destFile.exists()) { in unpackageProcess() 94 if (!destFile.mkdirs()) { in unpackageProcess() 578 File destFile = new File(tempPath); in unzipFromFile() 579 dataTransfer(zipFile, entry, destFile); in unzipFromFile() 600 * @param destFile output file path 603 private static void dataTransfer(ZipFile zipFile, ZipEntry entry, File destFile) throws BundleException { in dataTransfer() argument 607 if (!FileUtils.matchPattern(destFile.getCanonicalPath())) { in dataTransfer() 608 LOG.error("Input invalid file " + destFile.getCanonicalPath()); in dataTransfer() 609 throw new BundleException("Input invalid file" + destFile in dataTransfer() [all...] |
H A D | Scan.java | 75 File destFile = new File(utility.getOutPath()); in scanProcess() 76 File outParentFile = destFile.getParentFile(); in scanProcess() 95 if (!destFile.delete()) { in scanProcess()
|
H A D | FileUtils.java | 340 * @param destFile is the destination file 343 public static void copyFile(File sourceFile, File destFile) throws IOException, BundleException { in copyFile() argument 344 if (sourceFile == null || destFile == null) { in copyFile() 353 outputStream = new FileOutputStream(destFile); in copyFile()
|
H A D | Compressor.java | 346 File destFile = new File(utility.getOutPath()); in defaultProcess() 348 File outParentFile = destFile.getParentFile(); in defaultProcess() 359 fileOut = new FileOutputStream(destFile); in defaultProcess() 385 if (!destFile.delete()) { in defaultProcess() 712 File destFile = new File(utility.getOutPath()); in checkAppAtomicServiceCompressedSizeValid() 714 try (ZipFile zipApp = new ZipFile(destFile)) { in checkAppAtomicServiceCompressedSizeValid() 1401 File destFile = new File(utility.getOutPath() + LINUX_FILE_SEPARATOR + hapFileName); in hapAddition() 1402 File outParentFile = destFile.getParentFile(); in hapAddition() 1416 fileOut = new FileOutputStream(destFile); in hapAddition() 1447 File destFile in copyFileSafely() [all...] |
H A D | CompressVerify.java | 1050 File destFile = new File(destPath); in isVerifyValidInHapAdditionMode() 1051 if ("false".equals(utility.getForceRewrite()) && destFile.exists()) { in isVerifyValidInHapAdditionMode()
|
/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | packager.cpp | 412 std::ofstream destFile(realDestFilePath, std::ios::binary | std::ios::trunc); in CompressPackinfoIntoHap() 413 destFile << packInfoFile.rdbuf(); in CompressPackinfoIntoHap() 414 destFile.close(); in CompressPackinfoIntoHap()
|
/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | utilities.cpp | 322 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument 331 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile() 333 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
H A D | VerifyHap.java | 178 private void writeCertificate(String destFile, List<X509Certificate> certificates) throws IOException { in writeCertificate() argument 179 try (JcaPEMWriter writer = new JcaPEMWriter(new FileWriter(destFile))) { in writeCertificate()
|
H A D | VerifyElf.java | 154 private void writeCertificate(String destFile, List<X509Certificate> certificates) throws IOException { in writeCertificate() argument 155 try (JcaPEMWriter writer = new JcaPEMWriter(new FileWriter(destFile))) { in writeCertificate()
|
/developtools/hiperf/src/ |
H A D | utilities.cpp | 368 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument 378 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile() 380 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | utilities.h | 187 bool CompressFile(const std::string &dataFile, const std::string &destFile);
|
/developtools/hiperf/include/ |
H A D | utilities.h | 187 bool CompressFile(const std::string &dataFile, const std::string &destFile);
|
Completed in 13 milliseconds