Home
last modified time | relevance | path

Searched refs:param (Results 1 - 11 of 11) sorted by relevance

/ide/tools/previewer/test/fuzztest/paramsparse_fuzzer/
H A DParamsParseFuzzer.cpp55 for (const Param& param : paramList) { in SetTestArgs()
56 args.push_back(param.name); in SetTestArgs()
57 for (const std::string& value : param.values) { in SetTestArgs()
/ide/tools/previewer/cli/
H A DCommandLine.cpp217 EventParams param; in RunAction() local
218 param.x = args["x"].AsDouble(); in RunAction()
219 param.y = args["y"].AsDouble(); in RunAction()
220 param.type = type; in RunAction()
221 param.name = "TouchPress"; in RunAction()
222 param.button = MouseInputImpl::GetInstance().defaultButton; in RunAction()
223 param.action = MouseInputImpl::GetInstance().defaultAction; in RunAction()
224 param.sourceType = MouseInputImpl::GetInstance().defaultSourceType; in RunAction()
225 param.sourceTool = MouseInputImpl::GetInstance().defaultSourceTool; in RunAction()
226 SetEventParams(param); in RunAction()
280 EventParams param; RunAction() local
320 EventParams param; RunAction() local
1455 EventParams param; RunAction() local
[all...]
/ide/tools/previewer/test/mock/jsapp/
H A DMockJsAppImpl.cpp29 void JsAppImpl::ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) in ResolutionChanged() argument
31 this->width = param.orignalWidth; in ResolutionChanged()
32 this->height = param.orignalHeight; in ResolutionChanged()
H A DMockJsApp.cpp40 void JsApp::ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) { in ResolutionChanged() argument
/ide/tools/previewer/test/mock_lite/ui_lite/
H A DMockSoftEngine.cpp48 void SoftEngine::DrawPath(BufferInfo& dst, void* param, const Paint& paint, const Rect& rect, in DrawPath() argument
51 void SoftEngine::FillPath(BufferInfo& dst, void* param, const Paint& paint, const Rect& rect, in FillPath() argument
/ide/tools/previewer/test/unittest/util/
H A DCommandParserTest.cpp199 // no -cr param in TEST_F()
710 // param -foldable value is false in TEST_F()
720 // param foldStatus value invalid in TEST_F()
743 // param -foldable value is false in TEST_F()
753 // no param -fr in TEST_F()
764 // param -fr value is invalid in TEST_F()
1057 std::string param = "0"; in TEST_F() local
1058 EXPECT_FALSE(CommandParser::GetInstance().CheckParamInvalidity(param, true)); in TEST_F()
1059 EXPECT_FALSE(CommandParser::GetInstance().CheckParamInvalidity(param, false)); in TEST_F()
1060 param in TEST_F()
[all...]
/ide/tools/previewer/test/unittest/jsapp/
H A DJsAppImplTest.cpp143 ResolutionParam param(originWidth, originHeight, width, height); in TEST_F()
145 JsAppImpl::GetInstance().ResolutionChanged(param, screenDensity, reason); in TEST_F()
415 ResolutionParam param(width, width, width, width); in TEST_F()
416 EXPECT_EQ(param.orignalWidth, width); in TEST_F()
417 EXPECT_EQ(param.orignalHeight, width); in TEST_F()
418 EXPECT_EQ(param.compressionWidth, width); in TEST_F()
419 EXPECT_EQ(param.compressionHeight, width); in TEST_F()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp604 void JsAppImpl::ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) in ResolutionChanged() argument
606 SetResolutionParams(param.orignalWidth, param.orignalHeight, param.compressionWidth, in ResolutionChanged()
607 param.compressionHeight, screenDensity); in ResolutionChanged()
929 ResolutionParam param(currentWidth, currentHeight, currentWidth, currentHeight); in FoldStatusChanged()
930 ResolutionChanged(param, atoi(screenDensity.c_str()), reason); in FoldStatusChanged()
H A DJsAppImpl.h67 void ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) override;
/ide/tools/previewer/util/
H A DCommandParser.cpp813 bool CommandParser::CheckParamInvalidity(std::string param, bool isNum = false) in CheckParamInvalidity() argument
816 return !std::regex_match(param.cbegin(), param.cend(), reg); in CheckParamInvalidity()
901 ELOG("param size is more than %d", maxMainArgLength); in IsMainArgLengthInvalid()
H A DCommandParser.h84 bool CheckParamInvalidity(std::string param, bool isNum);

Completed in 11 milliseconds