/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | regexp_test.cpp | 107 parser.Parse(); in TEST_F() 117 parser.Parse(); in TEST_F() 127 parser.Parse(); in TEST_F() 137 parser.Parse(); in TEST_F() 147 parser.Parse(); in TEST_F() 157 parser.Parse(); in TEST_F() 167 parser.Parse(); in TEST_F() 177 parser.Parse(); in TEST_F() 187 parser.Parse(); in TEST_F() 197 parser.Parse(); in TEST_F() [all …]
|
D | options_test.cpp | 50 ASSERT_TRUE(GetParser()->Parse(GetCorrectOptionsList())); in TEST_F() 58 ASSERT_FALSE(GetParser()->Parse(invalidOptions)); in TEST_F() 71 ASSERT_TRUE(GetParser()->Parse(optionsVector)); in TEST_F() 74 ASSERT_FALSE(GetParser()->Parse(optionsVector)); in TEST_F() 79 ASSERT_FALSE(GetParser()->Parse(optionsVector)); in TEST_F() 86 ASSERT_TRUE(GetParser()->Parse(GetCorrectOptionsList())); in TEST_F()
|
D | exception_test.cpp | 146 auto res = parser.Parse(source); in TEST_F() 229 auto res = parser.Parse(source); in TEST_F() 315 auto res = parser.Parse(source); in TEST_F() 401 auto res = parser.Parse(source); in TEST_F() 488 auto res = parser.Parse(source); in TEST_F() 575 auto res = parser.Parse(source); in TEST_F() 658 auto res = parser.Parse(source); in TEST_F() 741 auto res = parser.Parse(source); in TEST_F() 826 auto res = parser.Parse(source); in TEST_F() 911 auto res = parser.Parse(source); in TEST_F() [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | pandargs_test.cpp | 214 EXPECT_TRUE(paParser.Parse(ARGC_BOOL_ONLY, argvBoolOnly)); in TEST() 220 EXPECT_TRUE(paParser.Parse(ARGC_BOOL_ONLY, argvBoolOnly)); in TEST() 232 EXPECT_FALSE(paParser.Parse(ARGC_BOOL_ONLY, argvBoolOnly)); in TEST() 242 EXPECT_TRUE(paParser.Parse(ARGC_BOOL_ONLY, argvBoolOnly)); in TEST() 256 EXPECT_TRUE(paParser.Parse(ARGC_INT_ONLY, argvIntOnly)); in TEST() 259 EXPECT_TRUE(paParser.Parse(ARGC_INT_ONLY, argvIntOnly)); in TEST() 273 EXPECT_TRUE(paParser.Parse(ARGC_DOUBLE_ONLY, argvDoubleOnly)); in TEST() 276 EXPECT_TRUE(paParser.Parse(ARGC_DOUBLE_ONLY, argvDoubleOnly)); in TEST() 290 EXPECT_TRUE(paParser.Parse(ARGC_UINT64_INT, argvUint64Int)); in TEST() 293 EXPECT_TRUE(paParser.Parse(ARGC_UINT64_INT, argvUint64Int)); in TEST() [all …]
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | pandargs_test.cpp | 217 EXPECT_TRUE(pa_parser.Parse(argc_bool_only, argv_bool_only)); 222 EXPECT_TRUE(pa_parser.Parse(argc_bool_only, argv_bool_only)); 234 EXPECT_FALSE(pa_parser.Parse(argc_bool_only, argv_bool_only)); 244 EXPECT_TRUE(pa_parser.Parse(argc_bool_only, argv_bool_only)); 258 EXPECT_TRUE(pa_parser.Parse(argc_int_only, argv_int_only)); 261 EXPECT_TRUE(pa_parser.Parse(argc_int_only, argv_int_only)); 275 EXPECT_TRUE(pa_parser.Parse(argc_double_only, argv_double_only)); 278 EXPECT_TRUE(pa_parser.Parse(argc_double_only, argv_double_only)); 292 EXPECT_TRUE(pa_parser.Parse(argcUint64Int, argvUint64Int)); 295 EXPECT_TRUE(pa_parser.Parse(argcUint64Int, argvUint64Int)); [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/ |
D | cl_ut_test.cpp | 64 maplecl::RetCode maplecl::Option<UTCLType>::Parse(ssize_t &argsIndex, const std::deque<std::string_… in Parse() function in maplecl::Option 165 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 185 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 219 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 247 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 282 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 300 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 318 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 332 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() 350 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | json_parser_test.cpp | 64 JSHandle<JSTaggedValue> result2 = parser.Parse(*handleStr2); in HWTEST_F_L0() 69 JSHandle<JSTaggedValue> result3 = parser.Parse(*handleStr3); in HWTEST_F_L0() 74 JSHandle<JSTaggedValue> result4 = parser.Parse(*handleStr4); in HWTEST_F_L0() 95 JSHandle<JSTaggedValue> result2 = parser.Parse(*handleStr2); in HWTEST_F_L0() 102 JSHandle<JSTaggedValue> result3 = parser.Parse(*handleStr3); in HWTEST_F_L0() 109 JSHandle<JSTaggedValue> result4 = parser.Parse(*handleStr4); in HWTEST_F_L0() 130 JSHandle<JSTaggedValue> result = parser.Parse(*handleStr); in HWTEST_F_L0() 149 JSHandle<JSTaggedValue> result = parser.Parse(*handleStr); in HWTEST_F_L0() 176 JSHandle<JSTaggedValue> result = parser.Parse(*handleStr); in HWTEST_F_L0() 201 JSHandle<JSTaggedValue> result = parser.Parse(*emptyString); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
D | regexp_test.cpp | 124 parser.Parse(); in HWTEST_F_L0() 134 parser.Parse(); in HWTEST_F_L0() 144 parser.Parse(); in HWTEST_F_L0() 154 parser.Parse(); in HWTEST_F_L0() 164 parser.Parse(); in HWTEST_F_L0() 174 parser.Parse(); in HWTEST_F_L0() 184 parser.Parse(); in HWTEST_F_L0() 194 parser.Parse(); in HWTEST_F_L0() 204 parser.Parse(); in HWTEST_F_L0() 214 parser.Parse(); in HWTEST_F_L0() [all …]
|
/arkcompiler/runtime_core/assembler/tests/ |
D | parser_test.cpp | 31 auto item = p.Parse(v); in TEST() 48 auto item = p.Parse(v); in TEST() 65 auto item = p.Parse(v); in TEST() 76 auto item = p.Parse(v); in TEST() 87 auto item = p.Parse(v); in TEST() 103 auto item = p.Parse(v); in TEST() 119 auto item = p.Parse(v); in TEST() 130 auto item = p.Parse(v); in TEST() 142 auto item = p.Parse(v); in TEST() 162 auto item = p.Parse(v); in TEST() [all …]
|
D | assembler_parser_test.cpp | 45 auto item = p.Parse(v); 67 auto item = p.Parse(v); 90 auto item = p.Parse(v); 107 auto item = p.Parse(v); 124 auto item = p.Parse(v); 144 auto item = p.Parse(v); 164 auto item = p.Parse(v); 181 auto item = p.Parse(v); 205 auto res = p.Parse(source, "source"); 249 auto item = p.Parse(source); [all …]
|
D | assembler_emitter_test.cpp | 69 auto res = p.Parse(source); 110 auto res = p.Parse(source, source_filename); 243 auto res = p.Parse(source, source_filename); 356 auto res = p.Parse(source); 423 auto res = p.Parse(source); 437 auto res = p.Parse(source); 451 auto res = p.Parse(source); 465 auto res = p.Parse(source); 480 auto res = p.Parse(source); 502 auto res = p.Parse(source); [all …]
|
/arkcompiler/runtime_core/static_core/assembler/tests/ |
D | parser_test.cpp | 32 auto item = p.Parse(v); in TEST() 49 auto item = p.Parse(v); in TEST() 66 auto item = p.Parse(v); in TEST() 77 auto item = p.Parse(v); in TEST() 88 auto item = p.Parse(v); in TEST() 104 auto item = p.Parse(v); in TEST() 120 auto item = p.Parse(v); in TEST() 131 auto item = p.Parse(v); in TEST() 143 auto item = p.Parse(v); in TEST() 163 auto item = p.Parse(v); in TEST() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
D | cl_parser.h | 99 RetCode Parse(int argc, char **argv, OptionCategory &optCategory); 100 RetCode Parse(int argc, char **argv) in Parse() function 102 return Parse(argc, argv, defaultCategory); in Parse() 105 RetCode Parse(std::vector<std::string> argvs, OptionCategory &optCategory); 106 RetCode Parse(std::vector<std::string> argvs) in Parse() function 108 return Parse(argvs, defaultCategory); in Parse()
|
/arkcompiler/ets_frontend/es2panda/ |
D | README.md | 16 - `--extension`: Parse the input as the given extension (options: js | ts | as) 17 - `--module`: Parse the input as module 20 - `--parse-only`: Parse the input only 21 - `--strict`: Parse the input in strict mode
|
/arkcompiler/ets_frontend/ets2panda/ |
D | README.md | 16 - `--extension`: Parse the input as the given extension (options: js | ts | as) 17 - `--module`: Parse the input as module 20 - `--parse-only`: Parse the input only 21 - `--strict`: Parse the input in strict mode
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
D | json_parser.h | 84 PANDA_PUBLIC_API bool Parse(const std::string &text); 85 PANDA_PUBLIC_API bool Parse(std::streambuf *streamBuf); 93 bool Parse(); 127 Parser(this).Parse(text); in JsonObject() 131 Parser(this).Parse(streamBuf); in JsonObject()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | json_parser.h | 84 bool Parse(const std::string &text); 85 bool Parse(std::streambuf *stream_buf); 93 bool Parse(); 126 Parser(this).Parse(text); in JsonObject() 130 Parser(this).Parse(stream_buf); in JsonObject()
|
/arkcompiler/runtime_core/static_core/disassembler/tests/ |
D | metadata_test.cpp | 37 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 92 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 138 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 164 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 207 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 225 auto program = panda::pandasm::Parser().Parse(R"( in TEST() 244 auto program = panda::pandasm::Parser().Parse(R"( in TEST()
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_closure_scope_test.h | 50 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 64 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 76 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 117 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 173 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 218 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 231 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 243 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest() 284 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in JsClosureScopeTest()
|
D | js_heapdump_test.h | 62 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in RecvReportProgress() 95 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in RecvReportProgressFinished() 131 std::unique_ptr<PtJson> json = PtJson::Parse(recv); in RecvReportProgressChunk() 156 std::unique_ptr<PtJson> contentJson = PtJson::Parse(content); in RecvReportProgressChunk()
|
/arkcompiler/runtime_core/static_core/dprof/converter/ |
D | main.cpp | 31 bool Parse(panda::Span<const char *> args) in Parse() function in panda::dprof::ArgsParser 34 if (!parser_.Parse(args.Size(), args.Data())) { in Parse() 71 if (!parser.Parse(args)) { in Main()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_json.cpp | 31 JSTaggedValue BuiltinsJson::Parse(EcmaRuntimeCallInfo *argv) in Parse() function in panda::ecmascript::builtins::BuiltinsJson 33 BUILTINS_API_TRACE(argv->GetThread(), Json, Parse); in Parse() 52 result = parser.Parse(*parseString); in Parse() 55 result = parser.Parse(*parseString); in Parse()
|
/arkcompiler/toolchain/tooling/test/ |
D | pt_json_test.cpp | 46 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 56 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 66 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 76 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 86 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 96 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 106 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() 119 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
D | class_hash_table_test.cpp | 106 auto res = parser.Parse(GetSourceCode()); in TEST_F() 145 auto res = parser.Parse(source); in TEST_F() 164 auto res = parser.Parse(source); in TEST_F() 211 auto res = parser.Parse(GetSourceCode()); in TEST_F() 242 auto res = parser.Parse(GetSourceCode()); in TEST_F() 280 auto res = parser.Parse(GetSourceCode()); in TEST_F() 321 auto res = parser.Parse(GetSourceCode()); in TEST_F()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | class_hash_table_test.cpp | 106 auto res = parser.Parse(GetSourceCode()); in TEST_F() 145 auto res = parser.Parse(source); in TEST_F() 164 auto res = parser.Parse(source); in TEST_F() 211 auto res = parser.Parse(GetSourceCode()); in TEST_F() 242 auto res = parser.Parse(GetSourceCode()); in TEST_F() 280 auto res = parser.Parse(GetSourceCode()); in TEST_F() 321 auto res = parser.Parse(GetSourceCode()); in TEST_F()
|