Home
last modified time | relevance | path

Searched refs:commands (Results 1 - 25 of 35) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_path_ffi.cpp26 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 Dcj_path_ffi.h24 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 Dpath_painter.cpp37 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 Dsk_painter.h33 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 Dsk_painter.cpp28 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 Ddump_helper.cpp48 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 Djs_path.cpp51 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 Djs_path_shape.cpp27 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 Djs_path.h29 static void SetCommands(const std::string& commands);
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_painter.h30 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 Ddrawing_painter.cpp20 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 Dmock_path_painter.cpp23 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 Dpath_painter.h29 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 Dpath_modifier.cpp22 void SetPathCommands(ArkUINodeHandle node, ArkUI_CharPtr commands) in SetPathCommands() argument
26 PathModelNG::SetCommands(frameNode, std::string(commands)); in SetPathCommands()
H A Drender_node_modifier.cpp421 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 Dnode_slider_modifier.cpp388 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 Darkts_native_path_bridge.cpp27 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 Diptables_wrapper.cpp128 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 Dwearable_distributed_net_manager_test.cpp220 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 Diptables_wrapper.h67 * @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 Dwearable_distributed_net_manager.h74 int32_t ExecuteIptablesCommands(const std::vector<std::string> &commands);
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_ui_director.cpp398 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 Ddump_helper.h62 void GetCommandNodes(int fd, std::vector<std::shared_ptr<CommandNode>> &commands);
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dwearable_distributed_net_manager.cpp165 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 Drosen_render_context_test_new.cpp115 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()

Completed in 15 milliseconds

12