/foundation/distributeddatamgr/relational_store/frameworks/cj/src/ |
H A D | relational_store_impl_rdbstore.cpp | 627 LOGE("Parameter error. The StoreConfig.name must be a file name without path."); in GetRealPath() 661 LOGE("Parameter error. The database path must be a valid path."); in GetRealPath() 664 rdbConfig.path = realPath; in GetRealPath() 693 NativeRdb::RdbStoreConfig rdbStoreConfig(rdbConfig.path); in getRdbStoreConfig() 753 *errCode = NativeRdb::RdbHelper::DeleteRdbStore(rdbConfig.path); in DeleteRdbStore() 770 *errCode = NativeRdb::RdbHelper::DeleteRdbStore(rdbConfig.path); in DeleteRdbStoreConfig()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 882 const auto& path = AceType::DynamicCast<Path>(basicShape); in SkiaCreatePath() local 883 CHECK_NULL_VOID(path); in SkiaCreatePath() 884 if (path->GetValue().empty()) { in SkiaCreatePath() 885 LOGW("path value is null"); in SkiaCreatePath() 889 bool ret = SkParsePath::FromSVGString(path->GetValue().c_str(), &tmpPath); in SkiaCreatePath() 891 LOGW("path value is invalid"); in SkiaCreatePath() 894 float offsetX = SkiaDimensionToPx(path->GetOffset().GetX(), size, LengthMode::HORIZONTAL) + position.GetX(); in SkiaCreatePath() 895 float offsetY = SkiaDimensionToPx(path->GetOffset().GetY(), size, LengthMode::VERTICAL) + position.GetY(); in SkiaCreatePath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 860 const auto& path = AceType::DynamicCast<Path>(basicShape); in DrawingCreatePath() local 861 CHECK_NULL_VOID(path); in DrawingCreatePath() 862 if (path->GetValue().empty()) { in DrawingCreatePath() 863 LOGW("path value is null"); in DrawingCreatePath() 867 if (!tmpPath.BuildFromSVGString(path->GetValue().c_str())) { in DrawingCreatePath() 868 LOGW("path value is invalid"); in DrawingCreatePath() 871 float offsetX = DrawingDimensionToPx(path->GetOffset().GetX(), size, LengthMode::HORIZONTAL) + position.GetX(); in DrawingCreatePath() 872 float offsetY = DrawingDimensionToPx(path->GetOffset().GetY(), size, LengthMode::VERTICAL) + position.GetY(); in DrawingCreatePath()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_animation_supplement_test.cpp | 352 RSPathAnimationMock(std::shared_ptr<RSPropertyBase> property, const std::string& path, in RSPathAnimationMock() argument 355 : RSPathAnimation(property, path, startValue, endValue) {} in RSPathAnimationMock() 407 std::shared_ptr<RSPath> path; in HWTEST_F() local 408 auto animation = std::make_shared<RSPathAnimationMock>(property, path); in HWTEST_F() 843 std::shared_ptr<RSPath> path = std::make_shared<RSPath>(); in HWTEST_F() local 844 auto animation1 = std::make_shared<RSPathAnimationMock>(property, path); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_trans_db_test.cpp | 490 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 526 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 570 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 607 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 643 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 691 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
|
H A D | rdb_sqlite_shared_result_set_test.cpp | 933 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 936 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F() 964 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 968 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F() 1000 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 1003 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/ |
H A D | rdb_store_test.cpp | 1545 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1548 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F() 1576 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1580 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F() 1612 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1615 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_permission.cpp | 467 bool DistributedSchedPermission::IsDistributedFile(const std::string& path) const
in IsDistributedFile() 469 if (path.compare(0, DISTRIBUTED_FILES_PATH.size(), DISTRIBUTED_FILES_PATH) == 0) {
in IsDistributedFile() 472 HILOGE("uri path is false.");
in IsDistributedFile()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_deal_test.cpp | 282 std::string path = context_->GetAppType(); in HWTEST_F() local 285 EXPECT_NE(path.c_str(), AppType.c_str()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.h | 118 void GetState(int32_t& index, std::string& name, std::string& path) override; 119 void GetRouterStateByIndex(int32_t& index, std::string& name, std::string& path, std::string& params) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | stage_manager.cpp | 299 void StageManager::PerformanceCheck(const RefPtr<FrameNode>& pageNode, int64_t vsyncTimeout, std::string path) in PerformanceCheck() argument 304 AceScopedPerformanceCheck::RecordPerformanceCheckData(nodeMap, vsyncTimeout, path); in PerformanceCheck()
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | js_drawable_descriptor.cpp | 444 auto path = OHOS::Ace::Napi::LayeredDrawableDescriptor::GetStaticMaskClipPath(); in GetMaskClipPath() local 446 if (napi_ok != napi_create_string_utf8(env, path.c_str(), NAPI_AUTO_LENGTH, &result)) { in GetMaskClipPath()
|
/foundation/barrierfree/accessibility/frameworks/common/src/ |
H A D | accessibility_element_info.cpp | 325 void AccessibilityElementInfo::SetPagePath(const std::string &path) in SetPagePath() argument 327 pagePath_ = path; in SetPagePath()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | extension_ability_info.cpp | 158 stctUri.path = Str16ToStr8(parcel.ReadString16()); in ReadSkillInfoFromParcel() 281 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(uri.path)); in MarshallingSkillUri()
|
/foundation/arkui/ui_lite/test/uitest/test_opacity/ |
H A D | ui_test_opacity.cpp | 241 UIImageView* UITestOpacity::CreateTestCaseUIImageView(const char* path, uint8_t opaScale) const in CreateTestCaseUIImageView() argument 247 imageView->SetSrc(path); in CreateTestCaseUIImageView()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_loader.cpp | 62 void AddNodeToCollectionRecursive(IEntityCollection& ec, ISceneNode& node, string_view path) in AddNodeToCollectionRecursive() argument 65 const auto currentPath = path + node.GetName(); in AddNodeToCollectionRecursive()
|
H A D | camera_impl.cpp | 103 bool CompleteInitialization(const BASE_NS::string& path) override 105 if (!NodeImpl::CompleteInitialization(path)) {
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | io_util.cpp | 115 // Verify that the target path exists. (and create missing ones) in CreateDirectories() 131 // Invalid path.. in CreateDirectories() 310 auto path = PathUtil::ResolvePath(folderUri, entry.name); in ReplaceTextInFilesImpl() local 311 ReplaceTextInFilesImpl(fileManager, path, replace); in ReplaceTextInFilesImpl()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | plugin_registry.cpp | 556 void PluginRegistry::RegisterPluginPath(const string_view path) in RegisterPluginPath() argument 562 fileManager_.RegisterPath("plugins", path, false); in RegisterPluginPath() 625 // register path to system plugins in CreatePluginRegistry() 626 // Root path is the location where system plugins , non-rofs assets etc could be held. in CreatePluginRegistry()
|
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/systemtest/ |
H A D | vulkan_loader_system_test.cpp | 96 const char *path = "libvulkan.so"; in DLOpenLibVulkan() local 97 libVulkan_ = dlopen(path, RTLD_NOW | RTLD_LOCAL); in DLOpenLibVulkan()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontcollection_napi/ |
H A D | js_fontcollection.cpp | 43 std::string errMessage("Failed to convert file path:");
in ParseContextFilePath() 164 TEXT_LOGE("Failed to find separator in path:%{public}s", absolutePath.c_str());
in SplitAbsoluteFontPath() 322 bool JsFontCollection::GetFontFileProperties(const std::string path, const std::string familyName)
in GetFontFileProperties() argument 330 if (realpath(path.c_str(), tmpPath) == nullptr) {
in GetFontFileProperties() 475 napi_invalid_arg, TextErrorCode::ERROR_INVALID_PARAM, return, "Failed to split absolute font path");
in OnLoadFontAsync() 483 "Failed to execute function, path is invalid");
in OnLoadFontAsync()
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 222 const std::string &path); 229 const std::string &path);
|
/foundation/multimedia/media_library/frameworks/native/c_api/ |
H A D | media_asset_change_request_impl.cpp | 137 string path = fileUriStr.GetRealPath(); in AddResourceWithUri() local 138 bool result = OHOS::PathToRealPath(path, realPath); in AddResourceWithUri() 139 CHECK_AND_RETURN_RET_LOG(result, MEDIA_LIBRARY_NO_SUCH_FILE, "File real path isn't existed"); in AddResourceWithUri() 454 CHECK_AND_RETURN_RET_LOG(!srcRealPath.empty(), E_FAIL, "Failed to check real path of source"); in CopyFileToMediaLibrary() 457 CHECK_AND_RETURN_RET_LOG(OHOS::PathToRealPath(srcRealPath, absFilePath), E_FAIL, "Not real path %{public}s", in CopyFileToMediaLibrary() 491 "Not real path %{public}s, errno=%{public}d", realPath.c_str(), errno); in SendToCacheFile()
|
/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | screen_capture_server.h | 357 std::shared_ptr<PixelMap> GetPixelMap(std::string path); 358 std::shared_ptr<PixelMap> GetPixelMapSvg(std::string path, int32_t width, int32_t height);
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 524 std::string node = fs::path(entry.path()).filename(); in GetInputNode() 552 MMI_HILOGE("file path is invalid"); in Store() 662 MMI_HILOGE("file path is invalid"); in Load()
|