Home
last modified time | relevance | path

Searched refs:destFile (Results 1 – 8 of 8) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DUncompress.java93 File destFile = new File(utility.getOutPath()); in unpackageProcess() local
95 if (!destFile.exists()) { in unpackageProcess()
96 if (!destFile.mkdirs()) { in unpackageProcess()
565 File destFile = new File(tempPath); in unzipFromFile() local
566 dataTransfer(zipFile, entry, destFile); in unzipFromFile()
590 …private static void dataTransfer(ZipFile zipFile, ZipEntry entry, File destFile) throws BundleExce… in dataTransfer() argument
594 if (!FileUtils.matchPattern(destFile.getCanonicalPath())) { in dataTransfer()
595 LOG.error("Input invalid file " + destFile); in dataTransfer()
596 throw new BundleException("Input invalid file" + destFile.getCanonicalPath()); in dataTransfer()
599 fileOutStream = new FileOutputStream(destFile); in dataTransfer()
[all …]
DFileUtils.java342 … public static void copyFile(File sourceFile, File destFile) throws IOException, BundleException { in copyFile() argument
343 if (sourceFile == null || destFile == null) { in copyFile()
352 outputStream = new FileOutputStream(destFile); in copyFile()
DCompressor.java253 File destFile = new File(utility.getOutPath()); in compressProcess() local
256 File outParentFile = destFile.getParentFile(); in compressProcess()
267 fileOut = new FileOutputStream(destFile); in compressProcess()
286 if (!destFile.delete()) { in compressProcess()
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp302 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument
311 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile()
313 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/
DVerifyHap.java149 …private void writeCertificate(String destFile, List<X509Certificate> certificates) throws IOExcept… in writeCertificate() argument
150 try (JcaPEMWriter writer = new JcaPEMWriter(new FileWriter(destFile))) { in writeCertificate()
/developtools/hiperf/src/
Dutilities.cpp378 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument
388 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile()
390 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile()
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h171 bool CompressFile(const std::string &dataFile, const std::string &destFile);
/developtools/hiperf/include/
Dutilities.h187 bool CompressFile(const std::string &dataFile, const std::string &destFile);