Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/toolchain/tooling/test/
Ddebugger_events_test.cpp72 ASSERT_EQ(breakpointResolved.ToJson()->GetObject("params", &json), Result::SUCCESS); in HWTEST_F_L0()
74 ASSERT_EQ(json->GetString("breakpointId", &breakpointId), Result::SUCCESS); in HWTEST_F_L0()
78 ASSERT_EQ(json->GetObject("location", &locationJson), Result::SUCCESS); in HWTEST_F_L0()
80 ASSERT_EQ(locationJson->GetString("scriptId", &scriptId), Result::SUCCESS); in HWTEST_F_L0()
83 ASSERT_EQ(locationJson->GetInt("lineNumber", &lineNumber), Result::SUCCESS); in HWTEST_F_L0()
96 ASSERT_EQ(json->GetObject("params", &params), Result::SUCCESS); in HWTEST_F_L0()
99 ASSERT_EQ(params->GetString("reason", &reason), Result::SUCCESS); in HWTEST_F_L0()
102 ASSERT_EQ(params->GetArray("callFrames", &callFrames), Result::SUCCESS); in HWTEST_F_L0()
111 ASSERT_EQ(json1->GetObject("params", &params), Result::SUCCESS); in HWTEST_F_L0()
121 ASSERT_EQ(json->GetString("method", &method), Result::SUCCESS); in HWTEST_F_L0()
[all …]
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 …RT_EQ(setBreakpointByUrlReturns->ToJson()->GetArray("locations", &locationsJson), Result::SUCCESS); in HWTEST_F_L0()
103 ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("result", &json), Result::SUCCESS); in HWTEST_F_L0()
105 ASSERT_EQ(json->GetString("type", &type), Result::SUCCESS); in HWTEST_F_L0()
109 …EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::SUCCESS); in HWTEST_F_L0()
111 ASSERT_EQ(tmpJson->GetInt("exceptionId", &exceptionId), Result::SUCCESS); in HWTEST_F_L0()
125 …Q(getPossibleBreakpointsReturns->ToJson()->GetArray("locations", &locationsJson), Result::SUCCESS); in HWTEST_F_L0()
137 …RT_EQ(getScriptSourceReturns->ToJson()->GetString("scriptSource", &scriptSource), Result::SUCCESS); in HWTEST_F_L0()
141 ASSERT_EQ(getScriptSourceReturns->ToJson()->GetString("bytecode", &bytecode), Result::SUCCESS); in HWTEST_F_L0()
[all …]
Ddebugger_types_test.cpp252 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
256 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
260 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
264 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
268 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
272 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
486 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
490 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
494 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
498 EXPECT_EQ(ret, Result::SUCCESS); in HWTEST_F_L0()
[all …]
Dpt_returns_test.cpp87 ASSERT_EQ(searchInContentReturns->ToJson()->GetArray("result", &json), Result::SUCCESS); in HWTEST_F_L0()
114 …ERT_EQ(setScriptSourceReturns->ToJson()->GetArray("callFrames", &callFramesJson), Result::SUCCESS); in HWTEST_F_L0()
118 …T_EQ(setScriptSourceReturns->ToJson()->GetBool("stackChanged", &tmpStackChanged), Result::SUCCESS); in HWTEST_F_L0()
121 …riptSourceReturns->ToJson()->GetObject("exceptionDetails", &exceptionDetailJson), Result::SUCCESS); in HWTEST_F_L0()
164 ASSERT_EQ(getPropertiesReturns->ToJson()->GetArray("result", &resultJson), Result::SUCCESS); in HWTEST_F_L0()
169 …EQ(getPropertiesReturns->ToJson()->GetArray("internalProperties", &internalJson), Result::SUCCESS); in HWTEST_F_L0()
174 …T_EQ(getPropertiesReturns->ToJson()->GetArray("privateProperties", &privateJson), Result::SUCCESS); in HWTEST_F_L0()
179 …SSERT_EQ(getPropertiesReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::SUCCESS); in HWTEST_F_L0()
208 ASSERT_EQ(getBestEffortCoverageReturns->ToJson()->GetArray("result", &json), Result::SUCCESS); in HWTEST_F_L0()
240 ASSERT_EQ(takePreciseCoverageReturns->ToJson()->GetArray("result", &json), Result::SUCCESS); in HWTEST_F_L0()
[all …]
Dpt_json_test.cpp160 ASSERT_EQ(root->GetBool("a", &b), Result::SUCCESS); in HWTEST_F_L0()
162 ASSERT_EQ(root->GetInt("b", &i32), Result::SUCCESS); in HWTEST_F_L0()
164 ASSERT_EQ(root->GetDouble("c", &d), Result::SUCCESS); in HWTEST_F_L0()
166 ASSERT_EQ(root->GetInt64("d", &i64), Result::SUCCESS); in HWTEST_F_L0()
168 ASSERT_EQ(root->GetString("e", &str), Result::SUCCESS); in HWTEST_F_L0()
170 ASSERT_EQ(root->GetObject("f", &json), Result::SUCCESS); in HWTEST_F_L0()
171 ASSERT_EQ(json->GetString("ch", &str), Result::SUCCESS); in HWTEST_F_L0()
173 ASSERT_EQ(root->GetArray("g", &json), Result::SUCCESS); in HWTEST_F_L0()
216 ASSERT_EQ(result1, Result::SUCCESS); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/base/
Dpt_params.cpp27 if (ret == Result::SUCCESS) { in Create()
49 if (ret == Result::SUCCESS) { in Create()
56 if (ret == Result::SUCCESS) { in Create()
63 if (ret == Result::SUCCESS) { in Create()
70 if (ret == Result::SUCCESS) { in Create()
77 if (ret == Result::SUCCESS) { in Create()
84 if (ret == Result::SUCCESS) { in Create()
91 if (ret == Result::SUCCESS) { in Create()
98 if (ret == Result::SUCCESS) { in Create()
119 if (ret == Result::SUCCESS) { in Create()
[all …]
Dpt_types.cpp939 if (ret == Result::SUCCESS) { in Create()
951 if (ret == Result::SUCCESS) { in Create()
963 if (ret == Result::SUCCESS) { in Create()
971 if (ret == Result::SUCCESS) { in Create()
979 if (ret == Result::SUCCESS) { in Create()
987 if (ret == Result::SUCCESS) { in Create()
1033 if (ret == Result::SUCCESS) { in Create()
1041 if (ret == Result::SUCCESS) { in Create()
1049 if (ret == Result::SUCCESS) { in Create()
1057 if (ret == Result::SUCCESS) { in Create()
[all …]
Dpt_json.cpp362 return Result::SUCCESS; in GetBool()
369 if (ret == Result::SUCCESS) { in GetInt()
379 if (ret == Result::SUCCESS) { in GetInt64()
389 if (ret == Result::SUCCESS) { in GetUInt()
406 return Result::SUCCESS; in GetDouble()
420 return Result::SUCCESS; in GetString()
434 return Result::SUCCESS; in GetObject()
448 return Result::SUCCESS; in GetArray()
459 return Result::SUCCESS; in GetAny()
Dpt_json.h26 SUCCESS, enumerator
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Dquick_fix_test.cpp71 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
78 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
94 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
101 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
121 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
124 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
127 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
130 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
156 EXPECT_FALSE(result == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Ddyn_chunk.cpp51 return SUCCESS; in Expand()
68 return SUCCESS; in Insert()
84 return SUCCESS; in Emit()
107 return SUCCESS; in EmitSelf()
Ddyn_chunk.h29 static constexpr int SUCCESS = 0; variable
/arkcompiler/ets_runtime/test/moduletest/moduleUseCjs/
DmoduleUseCjs.js26 import {SUCCESS} from "./CjsDictionaryMode"
33 print(SUCCESS);
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.cpp132 if (res != ErrorCode::SUCCESS) { in Build()
136 if (res != ErrorCode::SUCCESS) { in Build()
140 if (res != ErrorCode::SUCCESS) { in Build()
144 return ErrorCode::SUCCESS; in Build()
175 if (res != ErrorCode::SUCCESS) { in ReserveSpaceForOffsets()
188 return ErrorCode::SUCCESS; in ReserveSpaceForOffsets()
220 return ErrorCode::SUCCESS; in DoReserveSpaceForOffset()
231 return ErrorCode::SUCCESS; in UpdateBranches()
285 return ErrorCode::SUCCESS; in CheckLabels()
Dbytecode_emitter.h58 SUCCESS, enumerator
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp66 if (ret != PatchErrorCode::SUCCESS) { in LoadPatchIfNeeded()
100 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch()
107 return PatchErrorCode::SUCCESS; in LoadPatch()
136 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch()
143 return PatchErrorCode::SUCCESS; in LoadPatch()
162 if (ret != PatchErrorCode::SUCCESS) { in UnloadPatch()
169 return PatchErrorCode::SUCCESS; in UnloadPatch()
Dpatch_loader.cpp41 return PatchErrorCode::SUCCESS; in LoadPatchInternal()
68 return PatchErrorCode::SUCCESS; in LoadPatchInternal()
150 return PatchErrorCode::SUCCESS; in UnloadPatchInternal()
200 return PatchErrorCode::SUCCESS; in UnloadPatchInternal()
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_emitter_tests.cpp113 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
136 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
157 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
175 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
201 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
222 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
347 …ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)) << "n1 = " << n1 << " n2 = " <… in TestJmpFwdBwd()
386 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
410 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
427 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dosr_test.cpp265 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
282 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
303 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
348 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
403 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
423 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
476 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
536 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
558 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
620 ASSERT_EQ(osr_events[0]->result, events::OsrEntryResult::SUCCESS); in TEST_F()
[all …]
/arkcompiler/runtime_core/tests/checked/
Dinline.pa21 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/
26 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/
57 #! EVENTS_COUNT /Inline,Test1::main_depth,_GLOBAL::func_rec,.*STATIC,SUCCESS/, 1
58 #! EVENTS_COUNT /Inline,_GLOBAL::func_rec,_GLOBAL::func_rec,.*STATIC,SUCCESS/, 1
80 #! EVENT /Inline,_GLOBAL::main,_GLOBAL::farray,.*STATIC,SUCCESS/
102 #! EVENT /Inline,_GLOBAL::main1,_GLOBAL::foo1,.*STATIC,SUCCESS/
128 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
134 #! EVENT_NEXT /Inline,Test2::main,Test2::small_func,.*VIRTUAL,SUCCESS/
168 #! EVENT /Inline,Test3::main,Test3::foo1,.*VIRTUAL,SUCCESS/
544 #! EVENT /Inline,NestedCalls::outer,NestedCalls::inner,.*,VIRTUAL,SUCCESS/
[all …]
Dmonitor.pa26 #! EVENT /Inline,_GLOBAL::main,_GLOBAL::foo,.*STATIC,SUCCESS/
53 #! EVENT /Inline,_GLOBAL::main1,_GLOBAL::foo,.*STATIC,SUCCESS/
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp80 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
93 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/quick_fix/
Dmain.cpp138 if (result != PatchErrorCode::SUCCESS) { in Main()
165 if (result != PatchErrorCode::SUCCESS) { in Main()
/arkcompiler/toolchain/tooling/
Ddispatcher.cpp48 if (ret != Result::SUCCESS) { in DispatchRequest()
57 if (ret != Result::SUCCESS) { in DispatchRequest()
/arkcompiler/runtime_core/libpandabase/os/
Ddebug_info.h30 enum ErrorCode { SUCCESS, NO_DEBUG_INFO, ERROR }; enumerator

12