Searched refs:tmpDir (Results 1 – 5 of 5) sorted by relevance
364 auto tmpDir = dir; in IsDirExist() local366 tmpDir.erase(tmpDir.begin()); in IsDirExist()374 tmpDir.pop_back(); in IsDirExist()383 return IsDirExistNormal(tmpDir); in IsDirExist()405 auto tmpDir = srcPath; in GetAllFileList() local407 tmpDir.erase(tmpDir.begin()); in GetAllFileList()415 tmpDir.pop_back(); in GetAllFileList()438 auto tmpDir = srcPath; in GetChildNames() local439 if (!IsRootDir(tmpDir)) { in GetChildNames()441 tmpDir.erase(tmpDir.begin()); in GetChildNames()[all …]
199 std::string tmpDir = context->GetHiViewDirectory(HiviewContext::DirectoryType::WORK_DIRECTORY); in GetHiSysEventJsonTempDir() local200 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()
134 std::string tmpDir = BundleUtil::CreateInstallTempDir(++id_, DirType::QUICK_FIX_DIR); in CreateFd() local135 if (tmpDir.empty()) { in CreateFd()139 path = tmpDir + fileName; in CreateFd()142 BundleUtil::DeleteDir(tmpDir); in CreateFd()
160 std::string tmpDir; in PrepareCopySession() local162 tmpDir = CreateDfsCopyPath(); in PrepareCopySession()163 disSandboxPath = DISTRIBUTED_PATH + tmpDir; in PrepareCopySession()181 info.copyPath = tmpDir; in PrepareCopySession()
658 std::string tmpDir = BundleUtil::CreateInstallTempDir( in CreateFd() local660 if (tmpDir.empty()) { in CreateFd()664 path = tmpDir + fileName; in CreateFd()667 BundleUtil::DeleteDir(tmpDir); in CreateFd()