/base/hiviewdfx/hiview_lite/ |
D | hiview_file.c | 162 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()
|
D | hiview_file.h | 89 char *outPath; member
|
/base/update/updater/interfaces/kits/include/package/ |
D | package.h | 147 const char *outPath); 159 const char *outPath);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cm_event_process.c | 110 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/ |
D | hap_manager.cpp | 338 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 …]
|
D | hap_resource.cpp | 112 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/ |
D | package.cpp | 208 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/ |
D | pkg_verify_unittest.cpp | 61 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/ |
D | utils.h | 73 static void CanonicalizePath(const char *path, char *outPath, size_t len);
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | utils.cpp | 466 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()
|
D | hap_parser.cpp | 283 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/ |
D | hiview_output_event.c | 49 .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/ |
D | module_update_service.cpp | 131 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/ |
D | hitrace_dump.cpp | 710 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/ |
D | hks_storage.c | 693 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/ |
D | hiview_output_log.c | 52 .outPath = HIVIEW_FILE_OUT_PATH_LOG,
|