Home
last modified time | relevance | path

Searched refs:inFilePath (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/ability/dmsfwk/common/test/unittest/src/
H A Ddistributed_sched_utils_test.cpp62 std::string inFilePath = "invalid_path"; variable
64 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath));
67 inFilePath = "/data/123_test.json";
68 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath));
85 std::string inFilePath = std::string(cfgPathBuf); variable
87 EXPECT_TRUE(IsValidPath(inFilePath, realFilePath));
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/
H A Dans_image_util_unit_test.cpp389 std::string inFilePath = "testInfile"; variable
391 std::shared_ptr<Media::PixelMap> res = imageUtil->CreatePixelMap(inFilePath, format);
412 std::string inFilePath = ""; variable
414 std::shared_ptr<Media::PixelMap> res = imageUtil->CreatePixelMap(inFilePath, format);
435 std::string inFilePath = "testInfile"; variable
437 std::shared_ptr<Media::PixelMap> res = imageUtil->CreatePixelMap(inFilePath, format);
482 std::string inFilePath = "testInfile"; variable
484 std::shared_ptr<Media::PixelMap> res = imageUtil->CreatePixelMap(inFilePath, format);
505 std::string inFilePath = "testInfile"; variable
527 std::string inFilePath = "testInfile"; variable
[all …]
/ohos5.0/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp60 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath) in IsValidPath() argument
63 …if (inFilePath.empty() || inFilePath.length() > PATH_MAX || inFilePath.length() + 1 > MAX_CONFIG_P… in IsValidPath()
64 realpath(inFilePath.c_str(), path) == nullptr) { in IsValidPath()
65 …et continue config file real path fail, inFilePath %{public}s.", GetAnonymStr(inFilePath).c_str()); in IsValidPath()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_image_util.cpp134 std::shared_ptr<Media::PixelMap> AnsImageUtil::CreatePixelMap(const std::string &inFilePath, const … in CreatePixelMap() argument
136 if (inFilePath.empty() || format.empty()) { in CreatePixelMap()
144 auto imageSource = Media::ImageSource::CreateImageSource(inFilePath, opts, errorCode); in CreatePixelMap()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/
H A Dheif_hw_decoder.cpp247 char inFilePath[MAX_PATH_LEN] = {0}; in DumpSingleInput() local
250 ret = sprintf_s(inFilePath, sizeof(inFilePath), "%s/in_%s_%ux%u_grid_%ux%u_%ux%u.bin", in DumpSingleInput()
254 ret = sprintf_s(inFilePath, sizeof(inFilePath), "%s/in_%s_%ux%u_nogrid.bin", in DumpSingleInput()
262 realpath(inFilePath, realpathRes); in DumpSingleInput()
/ohos5.0/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h29 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_image_util.h73 const std::string &inFilePath, const std::string &format = IMAGE_FORMAT_PNG);
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dmulti_thread_capability.md107 let inFilePath: string = `${filesDir}/${time.toString()}.zip`;
117 filePath: inFilePath
124 zlib.decompressFile(inFilePath, filesDir, options, (errData: BusinessError) => {