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/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcm_event_process.c110 static int32_t GetNextLayerPath(const char *path, const char *name, char *outPath, uint32_t outPath… in GetNextLayerPath() argument
112 if (strncpy_s(outPath, outPathLen, path, strlen(path)) != EOK) { in GetNextLayerPath()
115 if (outPath[strlen(outPath) - 1] != '/') { in GetNextLayerPath()
116 if (strncat_s(outPath, outPathLen, "/", strlen("/")) != EOK) { in GetNextLayerPath()
120 if (strncat_s(outPath, outPathLen, name, strlen(name)) != EOK) { in GetNextLayerPath()
/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp338 char outPath[PATH_MAX + 1] = {0}; in AddAppOverlay() local
339 Utils::CanonicalizePath(overlayPath.c_str(), outPath, PATH_MAX); in AddAppOverlay()
340 if (outPath[0] == '\0') { in AddAppOverlay()
345 overlayPaths.emplace_back(outPath); in AddAppOverlay()
353 char outPath[PATH_MAX + 1] = {0}; in RemoveAppOverlay() local
354 Utils::CanonicalizePath(overlayPath.c_str(), outPath, PATH_MAX); in RemoveAppOverlay()
355 if (outPath[0] == '\0') { in RemoveAppOverlay()
360 overlayPaths.emplace_back(outPath); in RemoveAppOverlay()
792 char outPath[PATH_MAX + 1] = {0}; in FindRawFileDescriptor() local
793 Utils::CanonicalizePath(paths.c_str(), outPath, PATH_MAX); in FindRawFileDescriptor()
[all …]
Dhap_resource.cpp112 char outPath[PATH_MAX + 1] = {0}; in LoadFromIndex() local
113 Utils::CanonicalizePath(path, outPath, PATH_MAX); in LoadFromIndex()
114 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/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.h73 static void CanonicalizePath(const char *path, char *outPath, size_t len);
/base/global/resource_management/frameworks/resmgr/src/utils/
Dutils.cpp466 void Utils::CanonicalizePath(const char *path, char *outPath, size_t len) in CanonicalizePath() argument
480 if (!PathCanonicalizeA(outPath, path)) { in CanonicalizePath()
485 if (realpath(path, outPath) == nullptr) { in CanonicalizePath()
Dhap_parser.cpp283 char outPath[PATH_MAX + 1] = {0}; in ReadRawFileDescriptor() local
284 Utils::CanonicalizePath(hapPath, outPath, PATH_MAX); in ReadRawFileDescriptor()
285 int zipFd = open(outPath, O_RDONLY); in ReadRawFileDescriptor()
287 HILOG_ERROR("failed open file %{public}s", outPath); in ReadRawFileDescriptor()
291 auto extractor = AbilityBase::ExtractorUtil::GetExtractor(outPath, isNewExtractor); in ReadRawFileDescriptor()
293 … HILOG_ERROR("failed to get extractor in ReadRawFileDescriptor hapPath, %{public}s", outPath); in ReadRawFileDescriptor()
/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/update/sys_installer/frameworks/ipc_server/src/
Dmodule_update_service.cpp131 std::string outPath = hmpDir + "/"; in InstallModulePackage() local
132 ret = ExtraPackageDir(realPath.c_str(), nullptr, nullptr, outPath.c_str()); in InstallModulePackage()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp710 std::string outPath = CanonicalizeSpecPath(outputFileName.c_str()); in DumpTraceLoop() local
711 int outFd = open(outPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0644); in DumpTraceLoop()
720 if (isLimited && GetFileSize(outPath) > fileSizeThreshold) { in DumpTraceLoop()
790 std::string outPath = CanonicalizeSpecPath(outputFileName.c_str()); in ReadRawTrace() local
791 int outFd = open(outPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0644); in ReadRawTrace()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c693 static int32_t MakeSubPath(const char *mainPath, const char *tmpPath, char *outPath, uint32_t outPa… in MakeSubPath() argument
695 if (strncpy_s(outPath, outPathLen, mainPath, strlen(mainPath)) != EOK) { in MakeSubPath()
698 if (strncat_s(outPath, outPathLen, "/", strlen("/")) != EOK) { in MakeSubPath()
701 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,