Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp364 auto tmpDir = dir; in IsDirExist() local
366 tmpDir.erase(tmpDir.begin()); in IsDirExist()
374 tmpDir.pop_back(); in IsDirExist()
383 return IsDirExistNormal(tmpDir); in IsDirExist()
405 auto tmpDir = srcPath; in GetAllFileList() local
407 tmpDir.erase(tmpDir.begin()); in GetAllFileList()
415 tmpDir.pop_back(); in GetAllFileList()
438 auto tmpDir = srcPath; in GetChildNames() local
439 if (!IsRootDir(tmpDir)) { in GetChildNames()
441 tmpDir.erase(tmpDir.begin()); in GetChildNames()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Dexport_json_file_writer.cpp199 std::string tmpDir = context->GetHiViewDirectory(HiviewContext::DirectoryType::WORK_DIRECTORY); in GetHiSysEventJsonTempDir() local
200 tmpDir = FileUtil::IncludeTrailingPathDelimiter(tmpDir.append(SYSEVENT_EXPORT_DIR)); in GetHiSysEventJsonTempDir()
201 tmpDir = FileUtil::IncludeTrailingPathDelimiter(tmpDir.append(SYSEVENT_EXPORT_TMP_DIR)); in GetHiSysEventJsonTempDir()
202 tmpDir = FileUtil::IncludeTrailingPathDelimiter(tmpDir.append(moduleName)); in GetHiSysEventJsonTempDir()
203 tmpDir = FileUtil::IncludeTrailingPathDelimiter(tmpDir.append(version.systemVersion)); in GetHiSysEventJsonTempDir()
204 if (!FileUtil::IsDirectory(tmpDir) && !FileUtil::ForceCreateDirectory(tmpDir)) { in GetHiSysEventJsonTempDir()
205 HIVIEW_LOGE("failed to init directory %{public}s.", tmpDir.c_str()); in GetHiSysEventJsonTempDir()
208 return tmpDir; in GetHiSysEventJsonTempDir()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_manager_host_impl.cpp134 std::string tmpDir = BundleUtil::CreateInstallTempDir(++id_, DirType::QUICK_FIX_DIR); in CreateFd() local
135 if (tmpDir.empty()) { in CreateFd()
139 path = tmpDir + fileName; in CreateFd()
142 BundleUtil::DeleteDir(tmpDir); in CreateFd()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/copy_listener/
H A Dtrans_listener.cpp160 std::string tmpDir; in PrepareCopySession() local
162 tmpDir = CreateDfsCopyPath(); in PrepareCopySession()
163 disSandboxPath = DISTRIBUTED_PATH + tmpDir; in PrepareCopySession()
181 info.copyPath = tmpDir; in PrepareCopySession()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp658 std::string tmpDir = BundleUtil::CreateInstallTempDir( in CreateFd() local
660 if (tmpDir.empty()) { in CreateFd()
664 path = tmpDir + fileName; in CreateFd()
667 BundleUtil::DeleteDir(tmpDir); in CreateFd()