/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_path_ffi.cpp | 26 void FfiOHOSAceFrameworkPathCreate(const char* commands) in FfiOHOSAceFrameworkPathCreate() argument 29 PathModel::GetInstance()->SetCommands(commands); in FfiOHOSAceFrameworkPathCreate() 33 double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands) in FfiOHOSAceFrameworkPathCreateWithSize() 42 PathModel::GetInstance()->SetCommands(commands); in FfiOHOSAceFrameworkPathCreateWithSize() 45 int64_t FfiOHOSAceFrameworkPathInsCreate(const char* commands) in FfiOHOSAceFrameworkPathInsCreate() argument 47 auto nativePath = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativePath>(commands); in FfiOHOSAceFrameworkPathInsCreate() 55 double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands) in FfiOHOSAceFrameworkPathInsCreateWithSize() 59 auto nativePath = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativePath>(commands); in FfiOHOSAceFrameworkPathInsCreateWithSize() 68 void FfiOHOSAceFrameworkPathSetCommands(const char* commands) in FfiOHOSAceFrameworkPathSetCommands() argument 70 PathModel::GetInstance()->SetCommands(commands); in FfiOHOSAceFrameworkPathSetCommands() 32 FfiOHOSAceFrameworkPathCreateWithSize( double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands) FfiOHOSAceFrameworkPathCreateWithSize() argument 54 FfiOHOSAceFrameworkPathInsCreateWithSize( double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands) FfiOHOSAceFrameworkPathInsCreateWithSize() argument [all...] |
H A D | cj_path_ffi.h | 24 CJ_EXPORT void FfiOHOSAceFrameworkPathCreate(const char* commands); 26 double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands); 27 CJ_EXPORT void FfiOHOSAceFrameworkPathSetCommands(const char* commands); 28 CJ_EXPORT int64_t FfiOHOSAceFrameworkPathInsCreate(const char* commands); 30 double width, int32_t widthUnit, double height, int32_t heightUnit, const char* commands);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | path_painter.cpp | 37 void PathPainter::DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset) in DrawPath() argument 40 SkPainter::DrawPath(canvas, commands, offset); in DrawPath() 42 DrawingPainter::DrawPath(canvas, commands, offset); in DrawPath() 46 SizeF PathPainter::GetPathSize(const std::string& commands) in GetPathSize() argument 49 return SkPainter::GetPathSize(commands); in GetPathSize() 51 return DrawingPainter::GetPathSize(commands); in GetPathSize()
|
H A D | sk_painter.h | 33 static void DrawPath(RSCanvas& canvas, const std::string& commands, const ShapePaintProperty& shapePaintProperty); 42 static void DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset); 43 static SizeF GetPathSize(const std::string& commands);
|
H A D | sk_painter.cpp | 28 void SkPainter::DrawPath(RSCanvas& canvas, const std::string& commands, const ShapePaintProperty& shapePaintProperty) in DrawPath() argument 38 bool ret = SkParsePath::FromSVGString(commands.c_str(), &skPath); in DrawPath() 52 bool ret = rsPath.BuildFromSVGString(commands.c_str()); in DrawPath() 256 void SkPainter::DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset) in DrawPath() argument 259 if (!SkParsePath::FromSVGString(commands.c_str(), &skPath)) { in DrawPath() 272 SizeF SkPainter::GetPathSize(const std::string& commands) in GetPathSize() argument 275 if (!SkParsePath::FromSVGString(commands.c_str(), &skPath)) { in GetPathSize()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/dumper/src/ |
H A D | dump_helper.cpp | 48 std::vector<std::shared_ptr<CommandNode>> commands; in Dump() local 49 ParseCommand(args, commands); in Dump() 50 GetCommandNodes(fd, commands); in Dump() 51 if (commands.empty()) { in Dump() 55 for (auto const& command : commands) { in Dump() 71 void DumpHelper::ParseCommand(const std::vector<std::string> &args, std::vector<std::shared_ptr<CommandNode>> &commands) in ParseCommand() argument 77 commands.emplace_back(command); in ParseCommand() 89 commands.emplace_back(command); in ParseCommand() 92 if (commands.empty()) { in ParseCommand() 96 commands in ParseCommand() 127 GetCommandNodes(int fd, std::vector<std::shared_ptr<CommandNode>> &commands) GetCommandNodes() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_path.cpp | 51 JSRef<JSVal> commands = obj->GetProperty("commands"); in Create() local 52 if (commands->IsString()) { in Create() 53 SetCommands(commands->ToString()); in Create() 58 void JSPath::SetCommands(const std::string& commands) in SetCommands() argument 60 PathModel::GetInstance()->SetCommands(commands); in SetCommands() 80 JSRef<JSVal> commands = params->GetProperty("commands"); in ConstructorCallback() local 81 if (commands->IsString()) { in ConstructorCallback() 82 path->SetValue(commands in ConstructorCallback() [all...] |
H A D | js_path_shape.cpp | 27 JSRef<JSVal> commands = params->GetProperty("commands"); in ConstructorCallback() local 29 if (commands->IsString()) { in ConstructorCallback() 30 path->SetValue(commands->ToString()); in ConstructorCallback() 61 JSClass<JSPathShape>::CustomMethod("commands", &JSPathShape::ObjectCommands); in JSBind()
|
H A D | js_path.h | 29 static void SetCommands(const std::string& commands);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_painter.h | 30 static void DrawPath(RSCanvas& canvas, const std::string& commands, const ShapePaintProperty& shapePaintProperty); 34 static void DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset); 35 static SizeF GetPathSize(const std::string& commands);
|
H A D | drawing_painter.cpp | 20 RSCanvas& canvas, const std::string& commands, const ShapePaintProperty& shapePaintProperty) in DrawPath() 25 bool ret = path.BuildFromSVGString(commands); in DrawPath() 132 void DrawingPainter::DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset) in DrawPath() argument 135 if (!path.BuildFromSVGString(commands)) { in DrawPath() 144 SizeF DrawingPainter::GetPathSize(const std::string& commands) in GetPathSize() argument 147 if (!path.BuildFromSVGString(commands)) { in GetPathSize() 19 DrawPath( RSCanvas& canvas, const std::string& commands, const ShapePaintProperty& shapePaintProperty) DrawPath() argument
|
/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_path_painter.cpp | 23 void PathPainter::DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset) {} in DrawPath() argument 25 SizeF PathPainter::GetPathSize(const std::string& commands) in GetPathSize() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | path_painter.h | 29 static void DrawPath(RSCanvas& canvas, const std::string& commands, const OffsetF& offset); 30 static SizeF GetPathSize(const std::string& commands);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | path_modifier.cpp | 22 void SetPathCommands(ArkUINodeHandle node, ArkUI_CharPtr commands) in SetPathCommands() argument 26 PathModelNG::SetCommands(frameNode, std::string(commands)); in SetPathCommands()
|
H A D | render_node_modifier.cpp | 421 void SetCommandPathMask(ArkUINodeHandle node, ArkUI_CharPtr commands, ArkUI_Uint32 fillColor, ArkUI_Uint32 strokeColor, in SetCommandPathMask() argument 430 renderContext->SetCommandPathMask(std::string(commands), property); in SetCommandPathMask() 504 void SetCommandPathClip(ArkUINodeHandle node, ArkUI_CharPtr commands) in SetCommandPathClip() argument 511 renderContext->SetClipBoundsWithCommands(std::string(commands)); in SetCommandPathClip()
|
H A D | node_slider_modifier.cpp | 388 ArkUINodeHandle node, const char* type, const ArkUI_Float32 (*attribute)[2], const char* commands) in SetSliderBlockPath() 395 std::string pathCommands(commands); in SetSliderBlockPath() 387 SetSliderBlockPath( ArkUINodeHandle node, const char* type, const ArkUI_Float32 (*attribute)[2], const char* commands) SetSliderBlockPath() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_path_bridge.cpp | 27 std::string commands = secondArg->ToString(vm)->ToString(vm); in SetPathCommands() local 28 GetArkUINodeModifiers()->getPathModifier()->setPathCommands(nativeNode, commands.c_str()); in SetPathCommands()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | iptables_wrapper.cpp | 128 int32_t IptablesWrapper::RunMutipleCommands(const IpType &ipType, const std::vector<std::string> &commands) in RunMutipleCommands() argument 136 for (const std::string& command : commands) { in RunMutipleCommands()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/wearable_distributed_net_manager_test/ |
H A D | wearable_distributed_net_manager_test.cpp | 220 std::vector<std::string> commands = {longCommand}; in HWTEST_F() local 221 int32_t result = net.ExecuteIptablesCommands(commands); in HWTEST_F() 228 std::vector<std::string> commands = {"success", "success"}; in HWTEST_F() local 229 int32_t result = net.ExecuteIptablesCommands(commands); in HWTEST_F() 236 std::vector<std::string> commands = {"-A INPUT -p tcp --dport 8080 -j ACCEPT"}; in HWTEST_F() local 237 int32_t result = net.ExecuteIptablesCommands(commands); in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | iptables_wrapper.h | 67 * @brief run mutiple iptables commands. 70 * @param commands iptables commands. 73 int32_t RunMutipleCommands(const IpType &ipType, const std::vector<std::string> &commands);
|
H A D | wearable_distributed_net_manager.h | 74 int32_t ExecuteIptablesCommands(const std::vector<std::string> &commands);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_ui_director.cpp | 398 for (auto &[instanceId, commands] : m) { in ProcessMessages() 400 "instanceId:%{public}d", msgId, static_cast<unsigned long>(commands.size()), instanceId); in ProcessMessages() 402 [cmds = std::make_shared<std::vector<std::unique_ptr<RSCommand>>>(std::move(commands)), in ProcessMessages()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/dumper/include/ |
H A D | dump_helper.h | 62 void GetCommandNodes(int fd, std::vector<std::shared_ptr<CommandNode>> &commands);
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | wearable_distributed_net_manager.cpp | 165 NETNATIVE_LOGE("Invalid item in iptables delete commands array"); in ParseIptablesDeleteCmds() 216 int32_t WearableDistributedNet::ExecuteIptablesCommands(const std::vector<std::string> &commands) in ExecuteIptablesCommands() argument 218 for (const auto &command : commands) { in ExecuteIptablesCommands() 310 NETNATIVE_LOGE("Failed to execute TCP iptables commands"); in EstablishTcpIpRules() 324 NETNATIVE_LOGE("Failed to execute UDP iptables commands"); in EstablishUdpIpRules() 338 NETNATIVE_LOGE("Failed to execute iptables delete commands"); in DisableWearableDistributedNetForward()
|
/foundation/arkui/ace_engine/test/unittest/core/rosen/ |
H A D | rosen_render_context_test_new.cpp | 115 std::string commands = "abcd"; in HWTEST_F() local 117 path.BuildFromSVGString(commands); in HWTEST_F() 133 rosenRenderContext->SetCommandPathMask(commands, property); in HWTEST_F() 134 rosenRenderContext->SetClipBoundsWithCommands(commands); in HWTEST_F()
|