Home
last modified time | relevance | path

Searched refs:CreateObject (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/toolchain/tooling/test/
Dpt_params_test.cpp54 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
63 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
77 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
78 std::unique_ptr<PtJson> start = PtJson::CreateObject(); in HWTEST_F_L0()
79 std::unique_ptr<PtJson> ptJson1 = PtJson::CreateObject(); in HWTEST_F_L0()
80 std::unique_ptr<PtJson> end = PtJson::CreateObject(); in HWTEST_F_L0()
94 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
95 std::unique_ptr<PtJson> ptJson1 = PtJson::CreateObject(); in HWTEST_F_L0()
106 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
119 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
[all …]
Dpt_types_test.cpp316 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
328 std::unique_ptr<PtJson> ptJson1 = PtJson::CreateObject(); in HWTEST_F_L0()
333 std::unique_ptr<PtJson> ptJson2 = PtJson::CreateObject(); in HWTEST_F_L0()
346 std::unique_ptr<PtJson> ptJson3 = PtJson::CreateObject(); in HWTEST_F_L0()
354 ptJson3->Add("memoryDumpConfig", PtJson::CreateObject()); in HWTEST_F_L0()
367 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
369 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in HWTEST_F_L0()
379 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
381 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in HWTEST_F_L0()
391 std::unique_ptr<PtJson> ptJson = PtJson::CreateObject(); in HWTEST_F_L0()
[all …]
Dpt_json_test.cpp133 auto child1 = PtJson::CreateObject(); in HWTEST_F_L0()
137 auto child2 = PtJson::CreateObject(); in HWTEST_F_L0()
145 auto root = PtJson::CreateObject(); in HWTEST_F_L0()
308 auto test = PtJson::CreateObject(); in HWTEST_F_L0()
319 auto test = PtJson::CreateObject(); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/base/
Dpt_events.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
26 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson()
35 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
58 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson()
67 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
69 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson()
78 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
83 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson()
92 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
109 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson()
[all …]
Dpt_returns.cpp21 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
36 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
49 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
66 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
82 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
96 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
112 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
124 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
140 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
156 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
[all …]
Dpt_types.cpp1074 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1183 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1244 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1319 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1489 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1556 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1608 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1650 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1690 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
1751 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in ToJson()
[all …]
Dpt_json.h40 static std::unique_ptr<PtJson> CreateObject();
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dalias_analysis.cpp199 return Pointer::CreateObject(base); in GetDynamicAccessPointer()
341 return CheckMemAddress(Pointer::CreateObject(ref1), Pointer::CreateObject(ref2)); in CheckRefAlias()
408 auto baseObj1 = Pointer::CreateObject(p1.GetBase()); in CheckMemAddress()
409 auto baseObj2 = Pointer::CreateObject(p2.GetBase()); in CheckMemAddress()
826 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitNullPtr()
830 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitLoadUndefined()
834 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitInitObject()
838 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitNewObject()
842 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitNewArray()
846 static_cast<AliasAnalysis *>(v)->AddDirectEdge(Pointer::CreateObject(inst)); in VisitMultiArray()
[all …]
/arkcompiler/toolchain/tooling/client/domain/
Ddebugger_client.cpp77 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in BreakCommand()
81 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in BreakCommand()
104 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in DeleteCommand()
108 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in DeleteCommand()
125 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in DisableCommand()
129 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in DisableCommand()
149 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in EnableCommand()
153 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in EnableCommand()
238 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in ResumeCommand()
242 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in ResumeCommand()
[all …]
Dheapprofiler_client.cpp60 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in HeapDumpCommand()
64 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in HeapDumpCommand()
83 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in AllocationTrackCommand()
87 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in AllocationTrackCommand()
104 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in AllocationTrackStopCommand()
108 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in AllocationTrackStopCommand()
125 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in Enable()
129 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in Enable()
145 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in Disable()
149 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in Disable()
[all …]
Dprofiler_client.cpp56 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in CpuprofileEnableCommand()
60 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in CpuprofileEnableCommand()
76 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in CpuprofileDisableCommand()
80 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in CpuprofileDisableCommand()
96 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in CpuprofileCommand()
100 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in CpuprofileCommand()
116 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in CpuprofileStopCommand()
120 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in CpuprofileStopCommand()
136 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in SetSamplingIntervalCommand()
140 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in SetSamplingIntervalCommand()
Druntime_client.cpp54 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in HeapusageCommand()
58 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in HeapusageCommand()
74 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in RuntimeEnableCommand()
78 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in RuntimeEnableCommand()
94 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in RuntimeDisableCommand()
98 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in RuntimeDisableCommand()
114 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in RunIfWaitingForDebuggerCommand()
118 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in RunIfWaitingForDebuggerCommand()
136 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in GetPropertiesCommand()
140 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in GetPropertiesCommand()
[all …]
Dtest_client.cpp48 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in SuccessCommand()
52 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in SuccessCommand()
67 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in FailCommand()
71 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in FailCommand()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Druntime_interface.cpp23 ObjectHeader *RuntimeInterface::CreateObject(ManagedThread *thread, Class *klass) in CreateObject() function in ark::interpreter::RuntimeInterface
42 ObjectHeader *RuntimeInterface::CreateObject(Class *klass) in CreateObject() function in ark::interpreter::RuntimeInterface
44 return CreateObject(ManagedThread::GetCurrent(), klass); in CreateObject()
Druntime_interface.h153 static ObjectHeader *CreateObject(Class *klass);
154 static ObjectHeader *CreateObject(ManagedThread *thread, Class *klass);
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dobject_repository.cpp42 auto obj = CreateObject(value); in CreateFrameObject()
56 RemoteObject ObjectRepository::CreateObject(TypedValue value) in CreateObject() function in ark::tooling::inspector::ObjectRepository
87 return CreateObject(value.GetAsReference()); in CreateObject()
89 return CreateObject(value.GetAsTagged()); in CreateObject()
116 RemoteObject ObjectRepository::CreateObject(coretypes::TaggedValue value) in CreateObject() function in ark::tooling::inspector::ObjectRepository
119 return CreateObject(value.GetHeapObject()); in CreateObject()
139 RemoteObject ObjectRepository::CreateObject(ObjectHeader *object) in CreateObject() function in ark::tooling::inspector::ObjectRepository
187 auto property = isAccessor ? PropertyDescriptor::Accessor(name, CreateObject(value)) in GetProperties()
188 : PropertyDescriptor(name, CreateObject(value), isArrayElement); in GetProperties()
Dobject_repository.h43 RemoteObject CreateObject(TypedValue value);
50 RemoteObject CreateObject(coretypes::TaggedValue value);
51 RemoteObject CreateObject(ObjectHeader *object);
Ddebuggable_thread.cpp172 … [&objectRepository](auto value) { return objectRepository.CreateObject(value); }); in OnConsoleCall()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Dobject_repository.cpp123 auto clsObj = obj.CreateObject(TypedValue::Reference(clsObject)); in TEST_F()
127 auto nullObj = obj.CreateObject(TypedValue::Reference(nullptr)); in TEST_F()
132 auto invObj = obj.CreateObject(TypedValue::Invalid()); in TEST_F()
135 auto boolObj = obj.CreateObject(TypedValue::U1(true)); in TEST_F()
138 auto numObj = obj.CreateObject(TypedValue::U16(U16_VALUE)); in TEST_F()
141 auto negObj = obj.CreateObject(TypedValue::I32(I32_VALUE)); in TEST_F()
144 auto hugeObj = obj.CreateObject(TypedValue::I64(I64_VALUE)); in TEST_F()
148 auto doubObj = obj.CreateObject(TypedValue::F64(F64_VALUE)); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/
Dobject_header.cpp41 ObjectHeader *ObjectHeader::CreateObject(ManagedThread *thread, ark::BaseClass *klass, bool nonMova… in CreateObject() function in ark::ObjectHeader
68 ObjectHeader *ObjectHeader::CreateObject(ark::BaseClass *klass, bool nonMovable) in CreateObject() function in ark::ObjectHeader
70 return CreateObject(ManagedThread::GetCurrent(), klass, nonMovable); in CreateObject()
76 return CreateObject(thread, klass, false); in Create()
81 return CreateObject(klass, false); in Create()
87 return CreateObject(klass, true); in CreateNonMovable()
/arkcompiler/toolchain/tooling/client/manager/
Dwatch_manager.cpp35 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in SendRequestWatch()
39 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in SendRequestWatch()
64 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in GetPropertiesCommand()
68 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in GetPropertiesCommand()
Dsource_manager.cpp30 std::unique_ptr<PtJson> request = PtJson::CreateObject(); in SendRequeSource()
34 std::unique_ptr<PtJson> params = PtJson::CreateObject(); in SendRequeSource()
/arkcompiler/toolchain/tooling/
Dprotocol_handler.cpp92 std::unique_ptr<PtJson> reply = PtJson::CreateObject(); in SendResponse()
126 std::unique_ptr<PtJson> result = PtJson::CreateObject(); in CreateErrorReply()
/arkcompiler/toolchain/test/fuzztest/protocolhandlersendreply_fuzzer/
Dprotocolhandlersendreply_fuzzer.cpp40 std::unique_ptr<PtJson> reply = PtJson::CreateObject(); in ProtocolHandlerSendReplyFuzzTest()
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_header.h330 static ObjectHeader *CreateObject(BaseClass *klass, bool nonMovable);
331 static ObjectHeader *CreateObject(ManagedThread *thread, BaseClass *klass, bool nonMovable);

12