Home
last modified time | relevance | path

Searched refs:ToJson (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/toolchain/tooling/base/
Dpt_returns.cpp19 std::unique_ptr<PtJson> EnableReturns::ToJson() const in ToJson() function in panda::ecmascript::tooling::EnableReturns
28 std::unique_ptr<PtJson> SetBreakpointByUrlReturns::ToJson() const in ToJson() function in panda::ecmascript::tooling::SetBreakpointByUrlReturns
37 std::unique_ptr<PtJson> location = locations_[i]->ToJson(); in ToJson()
45 std::unique_ptr<PtJson> GetPossibleAndSetBreakpointByUrlReturns::ToJson() const in ToJson() function in panda::ecmascript::tooling::GetPossibleAndSetBreakpointByUrlReturns
53 std::unique_ptr<PtJson> location = locations_[i]->ToJson(); in ToJson()
61 std::unique_ptr<PtJson> EvaluateOnCallFrameReturns::ToJson() const in ToJson() function in panda::ecmascript::tooling::EvaluateOnCallFrameReturns
66 result->Add("result", result_->ToJson()); in ToJson()
69 result->Add("exceptionDetails", exceptionDetails_.value()->ToJson()); in ToJson()
75 std::unique_ptr<PtJson> GetPossibleBreakpointsReturns::ToJson() const in ToJson() function in panda::ecmascript::tooling::GetPossibleBreakpointsReturns
83 std::unique_ptr<PtJson> location = locations_[i]->ToJson(); in ToJson()
[all …]
Dpt_events.cpp19 std::unique_ptr<PtJson> BreakpointResolved::ToJson() const in ToJson() function in panda::ecmascript::tooling::BreakpointResolved
24 result->Add("location", location_->ToJson()); in ToJson()
33 std::unique_ptr<PtJson> Paused::ToJson() const in ToJson() function in panda::ecmascript::tooling::Paused
41 array->Push(callFrames_[i]->ToJson()); in ToJson()
47 result->Add("data", data_.value()->ToJson()); in ToJson()
65 std::unique_ptr<PtJson> Resumed::ToJson() const in ToJson() function in panda::ecmascript::tooling::Resumed
76 std::unique_ptr<PtJson> NativeCalling::ToJson() const in ToJson() function in panda::ecmascript::tooling::NativeCalling
93 callFrameArray->Push(callFrames_[i]->ToJson()); in ToJson()
104 std::unique_ptr<PtJson> ScriptFailedToParse::ToJson() const in ToJson() function in panda::ecmascript::tooling::ScriptFailedToParse
145 std::unique_ptr<PtJson> ScriptParsed::ToJson() const in ToJson() function in panda::ecmascript::tooling::ScriptParsed
[all …]
Dpt_returns.h26 std::unique_ptr<PtJson> ToJson() const override in ToJson() function
41 std::unique_ptr<PtJson> ToJson() const override;
58 std::unique_ptr<PtJson> ToJson() const override;
76 std::unique_ptr<PtJson> ToJson() const override;
93 std::unique_ptr<PtJson> ToJson() const override;
111 std::unique_ptr<PtJson> ToJson() const override;
128 std::unique_ptr<PtJson> ToJson() const override;
145 std::unique_ptr<PtJson> ToJson() const override;
160 std::unique_ptr<PtJson> ToJson() const override;
176 std::unique_ptr<PtJson> ToJson() const override;
[all …]
Dpt_events.h44 std::unique_ptr<PtJson> ToJson() const override;
85 std::unique_ptr<PtJson> ToJson() const override;
209 std::unique_ptr<PtJson> ToJson() const override;
225 std::unique_ptr<PtJson> ToJson() const override;
289 std::unique_ptr<PtJson> ToJson() const override;
541 std::unique_ptr<PtJson> ToJson() const override;
810 std::unique_ptr<PtJson> ToJson() const override;
833 std::unique_ptr<PtJson> ToJson() const override;
903 std::unique_ptr<PtJson> ToJson() const override;
961 std::unique_ptr<PtJson> ToJson() const override;
[all …]
Dpt_types.cpp1001 std::unique_ptr<PtJson> RemoteObject::ToJson() const in ToJson() function in panda::ecmascript::tooling::RemoteObject
1108 std::unique_ptr<PtJson> ExceptionDetails::ToJson() const in ToJson() function in panda::ecmascript::tooling::ExceptionDetails
1125 result->Add("exception", exception_.value()->ToJson()); in ToJson()
1169 std::unique_ptr<PtJson> InternalPropertyDescriptor::ToJson() const in ToJson() function in panda::ecmascript::tooling::InternalPropertyDescriptor
1176 result->Add("value", value_.value()->ToJson()); in ToJson()
1244 std::unique_ptr<PtJson> PrivatePropertyDescriptor::ToJson() const in ToJson() function in panda::ecmascript::tooling::PrivatePropertyDescriptor
1251 result->Add("value", value_.value()->ToJson()); in ToJson()
1255 result->Add("get", get_.value()->ToJson()); in ToJson()
1259 result->Add("set", set_.value()->ToJson()); in ToJson()
1414 std::unique_ptr<PtJson> PropertyDescriptor::ToJson() const in ToJson() function in panda::ecmascript::tooling::PropertyDescriptor
[all …]
Dpt_types.h35 virtual std::unique_ptr<PtJson> ToJson() const = 0;
94 std::unique_ptr<PtJson> ToJson() const override;
177 std::unique_ptr<PtJson> ToJson() const override;
254 std::unique_ptr<PtJson> ToJson() const override;
593 std::unique_ptr<PtJson> ToJson() const override;
728 std::unique_ptr<PtJson> ToJson() const override;
775 std::unique_ptr<PtJson> ToJson() const override;
864 std::unique_ptr<PtJson> ToJson() const override;
1046 std::unique_ptr<PtJson> ToJson() const override;
1130 std::unique_ptr<PtJson> ToJson() const override;
[all …]
Dpt_params.h26 std::unique_ptr<PtJson> ToJson() const override in ToJson() function
/arkcompiler/toolchain/tooling/test/
Ddebugger_returns_test.cpp70 ASSERT_EQ(enableReturns->ToJson()->GetString("debuggerId", &debuggerId), Result::SUCCESS); in HWTEST_F_L0()
84 ASSERT_EQ(setBreakpointByUrlReturns->ToJson()->GetString("breakpointId", &id), Result::SUCCESS); in HWTEST_F_L0()
88 …ASSERT_EQ(setBreakpointByUrlReturns->ToJson()->GetArray("locations", &locationsJson), Result::SUCC… in HWTEST_F_L0()
103 ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("result", &json), Result::SUCCESS); in HWTEST_F_L0()
109 …ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::S… in HWTEST_F_L0()
125 …ASSERT_EQ(getPossibleBreakpointsReturns->ToJson()->GetArray("locations", &locationsJson), Result::… in HWTEST_F_L0()
137 …ASSERT_EQ(getScriptSourceReturns->ToJson()->GetString("scriptSource", &scriptSource), Result::SUCC… in HWTEST_F_L0()
141 ASSERT_EQ(getScriptSourceReturns->ToJson()->GetString("bytecode", &bytecode), Result::SUCCESS); in HWTEST_F_L0()
163 ASSERT_EQ(restartFrameReturns->ToJson()->GetArray("callFrames", &json), Result::SUCCESS); in HWTEST_F_L0()
176 …ASSERT_EQ(setBreakpointReturns->ToJson()->GetString("breakpointId", &breakpointId), Result::SUCCES… in HWTEST_F_L0()
[all …]
Dpt_returns_test.cpp62 …ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::N… in HWTEST_F_L0()
72 ASSERT_EQ(getScriptSourceReturns->ToJson()->GetObject("bytecode", &tmpJson), Result::NOT_EXIST); in HWTEST_F_L0()
87 ASSERT_EQ(searchInContentReturns->ToJson()->GetArray("result", &json), Result::SUCCESS); in HWTEST_F_L0()
114 …ASSERT_EQ(setScriptSourceReturns->ToJson()->GetArray("callFrames", &callFramesJson), Result::SUCCE… in HWTEST_F_L0()
118 …ASSERT_EQ(setScriptSourceReturns->ToJson()->GetBool("stackChanged", &tmpStackChanged), Result::SUC… in HWTEST_F_L0()
121 …ASSERT_EQ(setScriptSourceReturns->ToJson()->GetObject("exceptionDetails", &exceptionDetailJson), R… in HWTEST_F_L0()
127 ASSERT_EQ(setScriptSource->ToJson()->GetArray("callFrames", &callJson), Result::NOT_EXIST); in HWTEST_F_L0()
129 ASSERT_EQ(setScriptSource->ToJson()->GetBool("stackChanged", &stack), Result::NOT_EXIST); in HWTEST_F_L0()
131 …ASSERT_EQ(setScriptSource->ToJson()->GetObject("exceptionDetails", &exceptionJson), Result::NOT_EX… in HWTEST_F_L0()
164 ASSERT_EQ(getPropertiesReturns->ToJson()->GetArray("result", &resultJson), Result::SUCCESS); in HWTEST_F_L0()
[all …]
Ddebugger_events_test.cpp72 ASSERT_EQ(breakpointResolved.ToJson()->GetObject("params", &json), Result::SUCCESS); in HWTEST_F_L0()
94 std::unique_ptr<PtJson> json = paused.ToJson(); in HWTEST_F_L0()
110 std::unique_ptr<PtJson> json1 = paused1.ToJson(); in HWTEST_F_L0()
118 std::unique_ptr<PtJson> json = nativeCalling.ToJson(); in HWTEST_F_L0()
133 std::unique_ptr<PtJson> json = resumed.ToJson(); in HWTEST_F_L0()
161 std::unique_ptr<PtJson> json = parsed.ToJson(); in HWTEST_F_L0()
214 json = parsed1.ToJson(); in HWTEST_F_L0()
238 std::unique_ptr<PtJson> json = parsed.ToJson(); in HWTEST_F_L0()
309 std::unique_ptr<PtJson> json = consoleProfileFinished.ToJson(); in HWTEST_F_L0()
328 json = consoleProfileFinished1.ToJson(); in HWTEST_F_L0()
[all …]
Dpt_types_test.cpp309 std::unique_ptr<PtJson> result = treceConfig.ToJson(); in HWTEST_F_L0()
472 std::unique_ptr<PtJson> ret = callArgument.ToJson(); in HWTEST_F_L0()
477 ret = callArgument1.ToJson(); in HWTEST_F_L0()
481 callArgument2.ToJson(); in HWTEST_F_L0()
492 std::unique_ptr<PtJson> ret = position.ToJson(); in HWTEST_F_L0()
662 std::unique_ptr<PtJson> result = profile.ToJson(); in HWTEST_F_L0()
691 std::unique_ptr<PtJson> result = node.ToJson(); in HWTEST_F_L0()
696 std::unique_ptr<PtJson> result1 = node1.ToJson(); in HWTEST_F_L0()
718 std::unique_ptr<PtJson> result = descriptor.ToJson(); in HWTEST_F_L0()
747 std::unique_ptr<PtJson> result = range.ToJson(); in HWTEST_F_L0()
[all …]
Ddebugger_types_test.cpp249 auto objJson = remoteObject->ToJson(); in HWTEST_F_L0()
483 auto objJson = exceptionMetaData->ToJson(); in HWTEST_F_L0()
626 auto objJson = internalPropertyDescriptor->ToJson(); in HWTEST_F_L0()
890 auto objJson = propertyDescriptor->ToJson(); in HWTEST_F_L0()
1043 auto objJson = location->ToJson(); in HWTEST_F_L0()
1166 auto objJson = breakLocation->ToJson(); in HWTEST_F_L0()
1316 auto objJson = scope->ToJson(); in HWTEST_F_L0()
1615 auto objJson = callFrame->ToJson(); in HWTEST_F_L0()
1733 auto json = samplingHeapProfileSampleData->ToJson(); in HWTEST_F_L0()
1814 auto json = samplingHeapProfileNode->ToJson(); in HWTEST_F_L0()
[all …]
/arkcompiler/toolchain/tooling/test/utils/
Dtest_channel.h39 std::string str = result.ToJson()->Stringify(); in SendResponse()
44 std::string str = events.ToJson()->Stringify(); in SendNotification()
/arkcompiler/toolchain/tooling/
Dprotocol_handler.cpp92 resultObj = result.ToJson(); in SendResponse()
104 std::unique_ptr<PtJson> reply = events.ToJson(); in SendNotification()
/arkcompiler/toolchain/test/fuzztest/pttypesinternalpropertydesptojson_fuzzer/
Dpttypesinternalpropertydesptojson_fuzzer.cpp34 desp.ToJson(); in PtTypesInternalPropertyDespToJsonFuzzTest()
/arkcompiler/toolchain/test/fuzztest/pttypesprivatepropertydesptojson_fuzzer/
Dpttypesprivatepropertydesptojson_fuzzer.cpp34 desp.ToJson(); in PtTypesPrivatePropertyDespToJsonFuzzTest()
/arkcompiler/toolchain/test/fuzztest/pttypesexceptiondetailstojson_fuzzer/
Dpttypesexceptiondetailstojson_fuzzer.cpp34 auto pj = details.ToJson(); in PtTypesExceptionDetailsToJsonFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/
Dbaseptspausedsetdata_fuzzer.cpp37 std::unique_ptr<PtJson> json = paused.ToJson(); in BasePtsPausedSetDataFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointsetlocation_fuzzer/
Dbaseptsbreakpointsetlocation_fuzzer.cpp50 std::unique_ptr<PtJson> json = breakpointResolved.ToJson(); in BasePtsBreakpointSetLocationFuzzTest()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_local_variable_scope_test.h100 std::string str = parsed->ToJson()->Stringify(); in SendNotification()
108 std::string str = paused->ToJson()->Stringify(); in SendNotification()
Djs_variable_first_test.h99 std::string str = parsed->ToJson()->Stringify(); in SendNotification()
108 std::string str = paused->ToJson()->Stringify(); in SendNotification()
Djs_module_variable_test.h102 std::string str = parsed->ToJson()->Stringify(); in SendNotification()
111 std::string str = paused->ToJson()->Stringify(); in SendNotification()
Djs_variable_second_test.h99 std::string str = parsed->ToJson()->Stringify(); in SendNotification()
108 std::string str = paused->ToJson()->Stringify(); in SendNotification()
Djs_container_test.h100 std::string str = parsed->ToJson()->Stringify(); in SendNotification()
109 std::string str = paused->ToJson()->Stringify(); in SendNotification()