Home
last modified time | relevance | path

Searched refs:outPath (Results 1 – 16 of 16) sorted by relevance

/base/hiviewdfx/hiview_lite/
Dhiview_file.c162 ProcFile(fp, fp->outPath, HIVIEW_FILE_RENAME); in WriteToFile()
164 fp->pFunc(fp->outPath, h->common.type, HIVIEW_FILE_FULL); in WriteToFile()
312 fp->outPath = tmp; in RegisterFileWatcher()
319 if (IsValidPath(fp->outPath) == 0) { in UnRegisterFileWatcher()
320 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, fp->outPath); in UnRegisterFileWatcher()
324 fp->outPath = HIVIEW_FILE_OUT_PATH_FAULT_EVENT; in UnRegisterFileWatcher()
327 fp->outPath = HIVIEW_FILE_OUT_PATH_UE_EVENT; in UnRegisterFileWatcher()
330 fp->outPath = HIVIEW_FILE_OUT_PATH_STAT_EVENT; in UnRegisterFileWatcher()
334 fp->outPath = HIVIEW_FILE_OUT_PATH_LOG; in UnRegisterFileWatcher()
Dhiview_file.h89 char *outPath; member
/base/update/updater/interfaces/kits/include/package/
Dpackage.h147 const char *outPath);
159 const char *outPath);
/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp342 char outPath[PATH_MAX + 1] = {0}; in AddAppOverlay() local
343 Utils::CanonicalizePath(overlayPath.c_str(), outPath, PATH_MAX); in AddAppOverlay()
344 if (outPath[0] == '\0') { in AddAppOverlay()
349 overlayPaths.emplace_back(outPath); in AddAppOverlay()
357 char outPath[PATH_MAX + 1] = {0}; in RemoveAppOverlay() local
358 Utils::CanonicalizePath(overlayPath.c_str(), outPath, PATH_MAX); in RemoveAppOverlay()
359 if (outPath[0] == '\0') { in RemoveAppOverlay()
364 overlayPaths.emplace_back(outPath); in RemoveAppOverlay()
821 char outPath[PATH_MAX + 1] = {0}; in FindRawFileDescriptor() local
822 Utils::CanonicalizePath(paths.c_str(), outPath, PATH_MAX); in FindRawFileDescriptor()
[all …]
Dhap_resource.cpp114 char outPath[PATH_MAX + 1] = {0}; in LoadFromIndex() local
115 Utils::CanonicalizePath(path, outPath, PATH_MAX); in LoadFromIndex()
116 std::ifstream inFile(outPath, std::ios::binary | std::ios::in); in LoadFromIndex()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp208 const char *outPath) in ExtraPackageDir() argument
211 if (packagePath == nullptr || outPath == nullptr || manager == nullptr) { in ExtraPackageDir()
229 …manager->CreatePkgStream(outStream, std::string(outPath) + components[i], 0, PkgStream::PkgStreamT… in ExtraPackageDir()
243 const char *outPath) in ExtraPackageFile() argument
246 if (packagePath == nullptr || outPath == nullptr || file == nullptr || manager == nullptr) { in ExtraPackageFile()
260 …manager->CreatePkgStream(outStream, std::string(outPath) + file, 0, PkgStream::PkgStreamType_Write… in ExtraPackageFile()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcm_event_process.c112 static int32_t GetNextLayerPath(const char *path, const char *name, char *outPath, uint32_t outPath… in GetNextLayerPath() argument
114 if (strncpy_s(outPath, outPathLen, path, strlen(path)) != EOK) { in GetNextLayerPath()
117 if (outPath[strlen(outPath) - 1] != '/') { in GetNextLayerPath()
118 if (strncat_s(outPath, outPathLen, "/", strlen("/")) != EOK) { in GetNextLayerPath()
122 if (strncat_s(outPath, outPathLen, name, strlen(name)) != EOK) { in GetNextLayerPath()
/base/global/resource_management/frameworks/resmgr/src/utils/
Dutils.cpp465 void Utils::CanonicalizePath(const char *path, char *outPath, size_t len) in CanonicalizePath() argument
479 if (!PathCanonicalizeA(outPath, path)) { in CanonicalizePath()
484 if (realpath(path, outPath) == nullptr) { in CanonicalizePath()
499 char outPath[PATH_MAX + 1] = {0}; in GetFiles() local
500 Utils::CanonicalizePath(strCurrentDir.c_str(), outPath, PATH_MAX); in GetFiles()
501 if (outPath[0] == '\0') { in GetFiles()
Dhap_parser.cpp289 char outPath[PATH_MAX + 1] = {0}; in ReadRawFileDescriptor() local
290 Utils::CanonicalizePath(hapPath, outPath, PATH_MAX); in ReadRawFileDescriptor()
292 auto extractor = AbilityBase::ExtractorUtil::GetExtractor(outPath, isNewExtractor); in ReadRawFileDescriptor()
294 … HILOG_ERROR("failed to get extractor in ReadRawFileDescriptor hapPath, %{public}s", outPath); in ReadRawFileDescriptor()
308 int zipFd = open(outPath, O_RDONLY); in ReadRawFileDescriptor()
310 HILOG_ERROR("failed open file %{public}s", outPath); in ReadRawFileDescriptor()
/base/update/updater/test/unittest/package/
Dpkg_verify_unittest.cpp61 std::string outPath = "invalid_path"; in TestExtraPackageFile() local
62 ret = ExtraPackageFile(packagePath.c_str(), keyPath.c_str(), file.c_str(), outPath.c_str()); in TestExtraPackageFile()
80 std::string outPath = "invalid_path"; in TestExtraPackageDir() local
81 ret = ExtraPackageDir(packagePath.c_str(), keyPath.c_str(), nullptr, outPath.c_str()); in TestExtraPackageDir()
/base/global/resource_management/frameworks/resmgr/include/utils/
Dutils.h75 static void CanonicalizePath(const char *path, char *outPath, size_t len);
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_output_event.c49 .outPath = HIVIEW_FILE_OUT_PATH_FAULT_EVENT,
57 .outPath = HIVIEW_FILE_OUT_PATH_UE_EVENT,
65 .outPath = HIVIEW_FILE_OUT_PATH_STAT_EVENT,
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp711 std::string outPath = CanonicalizeSpecPath(outputFileName.c_str()); in DumpTraceLoop() local
712 int outFd = open(outPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0644); in DumpTraceLoop()
714 HILOG_ERROR(LOG_CORE, "open %{public}s failed, errno: %{public}d.", outPath.c_str(), errno); in DumpTraceLoop()
848 std::string outPath = CanonicalizeSpecPath(outputFileName.c_str()); in ReadRawTrace() local
849 int outFd = open(outPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0644); in ReadRawTrace()
/base/update/sys_installer/frameworks/ipc_server/src/
Dmodule_update_service.cpp155 std::string outPath = hmpDir + "/"; in ReallyInstallModulePackage() local
156 ret = ExtraPackageDir(pkgPath.c_str(), nullptr, nullptr, outPath.c_str()); in ReallyInstallModulePackage()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c756 static int32_t MakeSubPath(const char *mainPath, const char *tmpPath, char *outPath, uint32_t outPa… in MakeSubPath() argument
758 if (strncpy_s(outPath, outPathLen, mainPath, strlen(mainPath)) != EOK) { in MakeSubPath()
761 if (strncat_s(outPath, outPathLen, "/", strlen("/")) != EOK) { in MakeSubPath()
764 if (strncat_s(outPath, outPathLen, tmpPath, strlen(tmpPath)) != EOK) { in MakeSubPath()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_output_log.c52 .outPath = HIVIEW_FILE_OUT_PATH_LOG,