| /ide/tools/previewer/test/fuzztest/paramsparse_fuzzer/ |
| H A D | ParamsParseFuzzer.cpp | 55 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 D | CommandLine.cpp | 217 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 D | MockJsAppImpl.cpp | 29 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 D | MockJsApp.cpp | 40 void JsApp::ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) { in ResolutionChanged() argument
|
| /ide/tools/previewer/test/mock_lite/ui_lite/ |
| H A D | MockSoftEngine.cpp | 48 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 D | CommandParserTest.cpp | 199 // 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 D | JsAppImplTest.cpp | 143 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 D | JsAppImpl.cpp | 604 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 D | JsAppImpl.h | 67 void ResolutionChanged(ResolutionParam& param, int32_t screenDensity, std::string reason) override;
|
| /ide/tools/previewer/util/ |
| H A D | CommandParser.cpp | 813 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 D | CommandParser.h | 84 bool CheckParamInvalidity(std::string param, bool isNum);
|