/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_uri_utils.cpp | 45 string &outPath, string &outTableName) in ParseThumbnailInfo() argument 71 outPath = queryKey[THUMBNAIL_PATH]; in ParseThumbnailInfo() 74 if (!CheckSize(outSize, outPath)) { in ParseThumbnailInfo() 81 bool ThumbnailUriUtils::IsOriginalImg(const Size &outSize, const string &outPath) in IsOriginalImg() argument 86 bool ThumbnailUriUtils::CheckSize(Size &outSize, const string &outPath) in CheckSize() argument 88 if (IsOriginalImg(outSize, outPath)) { in CheckSize() 98 if ((outSize.width <= 0 || outSize.height <= 0) && !IsOriginalImg(outSize, outPath)) { in CheckSize()
|
/ohos5.0/base/hiviewdfx/hiview_lite/ |
H A D | hiview_file.c | 160 ProcFile(fp, fp->outPath, HIVIEW_FILE_RENAME); in WriteToFile() 162 fp->pFunc(fp->outPath, h->common.type, HIVIEW_FILE_FULL); in WriteToFile() 310 fp->outPath = tmp; in RegisterFileWatcher() 317 if (IsValidPath(fp->outPath) == 0) { in UnRegisterFileWatcher() 318 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, fp->outPath); in UnRegisterFileWatcher() 322 fp->outPath = HIVIEW_FILE_OUT_PATH_FAULT_EVENT; in UnRegisterFileWatcher() 325 fp->outPath = HIVIEW_FILE_OUT_PATH_UE_EVENT; in UnRegisterFileWatcher() 328 fp->outPath = HIVIEW_FILE_OUT_PATH_STAT_EVENT; in UnRegisterFileWatcher() 332 fp->outPath = HIVIEW_FILE_OUT_PATH_LOG; in UnRegisterFileWatcher()
|
H A D | hiview_file.h | 89 char *outPath; member
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_dump.cpp | 976 if (access(outPath.c_str(), F_OK) == 0) { in GenerateNewFile() 1018 WriteEventsFormat(outFd, outPath); in DumpTraceLoop() 1024 if (!WriteCpuRaw(outFd, outPath)) { in DumpTraceLoop() 1028 WriteCmdlines(outFd, outPath); in DumpTraceLoop() 1029 WriteTgids(outFd, outPath); in DumpTraceLoop() 1030 WriteHeaderPage(outFd, outPath); in DumpTraceLoop() 1031 WritePrintkFormats(outFd, outPath); in DumpTraceLoop() 1035 outPath.c_str(), errno); in DumpTraceLoop() 1130 if (WriteEventsFormat(outFd, outPath) && WriteCpuRaw(outFd, outPath) && in ReadRawTrace() 1131 WriteCmdlines(outFd, outPath) && WriteTgids(outFd, outPath) && in ReadRawTrace() [all …]
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_manager.cpp | 417 char outPath[PATH_MAX + 1] = {0}; in AddAppOverlay() local 419 if (outPath[0] == '\0') { in AddAppOverlay() 424 overlayPaths.emplace_back(outPath); in AddAppOverlay() 432 char outPath[PATH_MAX + 1] = {0}; in RemoveAppOverlay() local 434 if (outPath[0] == '\0') { in RemoveAppOverlay() 439 overlayPaths.emplace_back(outPath); in RemoveAppOverlay() 884 char outPath[PATH_MAX + 1] = {0}; in FindRawFileDescriptor() local 886 int fd = open(outPath, O_RDONLY); in FindRawFileDescriptor() 937 char outPath[PATH_MAX] = {0}; in RemoveResource() local 940 if (outPath[0] == '\0') { in RemoveResource() [all …]
|
H A D | hap_resource.cpp | 90 char outPath[PATH_MAX + 1] = {0}; in LoadFromIndex() local 91 Utils::CanonicalizePath(path, outPath, PATH_MAX); in LoadFromIndex() 92 std::ifstream inFile(outPath, std::ios::binary | std::ios::in); in LoadFromIndex()
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cm_event_process.c | 112 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()
|
/ohos5.0/base/update/updater/interfaces/kits/packages/ |
H A D | package.cpp | 221 const char *outPath) 223 if (packagePath == nullptr || outPath == nullptr) { 246 …manager->CreatePkgStream(outStream, std::string(outPath) + components[i], 0, PkgStream::PkgStreamT… 260 const char *outPath) 262 if (packagePath == nullptr || outPath == nullptr || file == nullptr) { 282 …manager->CreatePkgStream(outStream, std::string(outPath) + file, 0, PkgStream::PkgStreamType_Write…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/symbol_animation/ |
H A D | symbol_node_build.cpp | 35 RSPath outPath; in MergePath() local 36 auto isOk = outPath.Op(pathTemp, pathLayers[h], RSPathOp::DIFFERENCE); in MergePath() 38 pathTemp = outPath; in MergePath()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/ |
H A D | thumbnail_uri_utils.h | 37 static bool IsOriginalImg(const Size &outSize, const std::string &outPath); 38 static bool CheckSize(Size &outSize, const std::string &outPath);
|
/ohos5.0/base/update/updater/interfaces/kits/include/package/ |
H A D | package.h | 147 const char *outPath); 159 const char *outPath);
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 318 char outPath[PATH_MAX + 1] = {0}; in ReadRawFileDescriptor() local 319 Utils::CanonicalizePath(hapPath, outPath, PATH_MAX); in ReadRawFileDescriptor() 321 auto extractor = AbilityBase::ExtractorUtil::GetExtractor(outPath, isNewExtractor); in ReadRawFileDescriptor() 323 …ILOGE(RESMGR_TAG, "failed to get extractor in ReadRawFileDescriptor hapPath, %{public}s", outPath); in ReadRawFileDescriptor() 338 int zipFd = open(outPath, O_RDONLY); in ReadRawFileDescriptor() 340 RESMGR_HILOGE(RESMGR_TAG, "failed open file %{public}s", outPath); in ReadRawFileDescriptor() 966 char outPath[PATH_MAX + 1] = {0}; in IsRawDirUnCompressed() local 967 Utils::CanonicalizePath(pathName.c_str(), outPath, PATH_MAX); in IsRawDirUnCompressed() 969 if (stat(outPath, &fileStat) != 0) { in IsRawDirUnCompressed() 970 RESMGR_HILOGE(RESMGR_TAG, "failed to get rawfile file info, %{public}s", outPath); in IsRawDirUnCompressed() [all …]
|
H A D | utils.cpp | 476 void Utils::CanonicalizePath(const char *path, char *outPath, size_t len) in CanonicalizePath() argument 490 if (!PathCanonicalizeA(outPath, path)) { in CanonicalizePath() 495 if (realpath(path, outPath) == nullptr) { in CanonicalizePath() 505 char outPath[PATH_MAX + 1] = {0}; in GetFiles() local 506 Utils::CanonicalizePath(strCurrentDir.c_str(), outPath, PATH_MAX); in GetFiles() 507 if (outPath[0] == '\0') { in GetFiles()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | query_expression.cpp | 47 FieldPath outPath; in AssemblyQueryInfo() local 49 if (SchemaUtils::ParseAndCheckFieldPath(field, outPath) != E_OK) { in AssemblyQueryInfo() 57 for (auto it = outPath.begin(); it < outPath.end(); ++it) { in AssemblyQueryInfo() 58 if (it != outPath.begin()) { in AssemblyQueryInfo()
|
H A D | schema_utils.cpp | 383 int SchemaUtils::ParseAndCheckFieldPath(const std::string &inPathString, FieldPath &outPath, bool p… in ParseAndCheckFieldPath() argument 409 outPath.push_back(tempInPathString.substr(curPos + 1, nextPointPos - curPos - 1)); in ParseAndCheckFieldPath() 413 if (outPath.size() > SchemaConstant::SCHEMA_FEILD_PATH_DEPTH_MAX) { in ParseAndCheckFieldPath() 418 for (const auto &iter : outPath) { in ParseAndCheckFieldPath()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/parseckeck_fuzzer/ |
H A D | parseckeck_fuzzer.cpp | 75 FieldPath outPath; in ParseFieldPath() local 76 SchemaUtils::ParseAndCheckFieldPath(schemaAttrString, outPath); in ParseFieldPath()
|
/ohos5.0/base/update/updater/test/unittest/package/ |
H A 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()
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/ |
H A D | code_emitter.cpp | 62 …std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - … in GetFileParentPath() local 66 return File::AdapterPath(StringHelper::Format("%s/", outPath.c_str(), subPath.c_str())); in GetFileParentPath() 68 return File::AdapterPath(StringHelper::Format("%s/%s/", outPath.c_str(), subPath.c_str())); in GetFileParentPath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/ |
H A D | hm_symbol_node_build.cpp | 66 Drawing::Path outPath; in MergeMaskPath() local 67 bool isOk = outPath.Op(pathsColor[j].path, maskPath, Drawing::PathOp::DIFFERENCE); in MergeMaskPath() 68 pathsColor[j].path = isOk ? outPath : pathsColor[j].path; in MergeMaskPath()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | code_emitter.cpp | 120 …std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - … in GetFileParentPath() local 124 return File::AdapterPath(StringHelper::Format("%s/", outPath.c_str(), subPath.c_str())); in GetFileParentPath() 126 return File::AdapterPath(StringHelper::Format("%s/%s/", outPath.c_str(), subPath.c_str())); in GetFileParentPath()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_media_library.h | 53 EXPORT int32_t GetPathById(const int32_t id, std::string &outPath); 66 EXPORT int32_t GetRealPath(const std::string &path, std::string &outPath);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | schema_utils.h | 37 …static int ParseAndCheckFieldPath(const std::string &inPathString, FieldPath &outPath, bool permit…
|
/ohos5.0/base/hiviewdfx/hievent_lite/frameworks/ |
H A 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,
|
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | thermal_hdf_config.h | 46 std::string outPath; member
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/utils/ |
H A D | utils.h | 109 static void CanonicalizePath(const char *path, char *outPath, size_t len);
|