/arkcompiler/toolchain/tooling/test/testcases/ |
H A D | js_range_error_test.h | 28 ASSERT_LOCATION_EQ(location, location_); in JsRangeErrorTest() 60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 21, 4, pandaFile_.c_str()); in JsRangeErrorTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsRangeErrorTest() 66 auto ret = debugInterface_->SetBreakpoint(location_, condFuncRef); in JsRangeErrorTest() 74 TestUtil::WaitForBreakpoint(location_); in JsRangeErrorTest() 78 auto ret = debugInterface_->RemoveBreakpoint(location_); in JsRangeErrorTest() 101 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
|
H A D | js_throw_exception_test.h | 28 ASSERT_LOCATION_EQ(location, location_);
in JsThrowExceptionTest() 61 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 31, 0, pandaFile_.c_str());
in JsThrowExceptionTest() 63 ASSERT_TRUE(location_.GetMethodId().IsValid());
in JsThrowExceptionTest() 69 auto ret = debugInterface_->SetBreakpoint(location_, condFuncRef);
in JsThrowExceptionTest() 77 TestUtil::WaitForBreakpoint(location_);
in JsThrowExceptionTest() 81 auto ret = debugInterface_->RemoveBreakpoint(location_);
in JsThrowExceptionTest() 105 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
|
H A D | js_syntax_exception_test.h | 28 ASSERT_LOCATION_EQ(location, location_);
in JsSyntaxExceptionTest() 60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 29, 4, pandaFile_.c_str());
in JsSyntaxExceptionTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid());
in JsSyntaxExceptionTest() 66 auto ret = debugInterface_->SetBreakpoint(location_, condFuncRef);
in JsSyntaxExceptionTest() 74 TestUtil::WaitForBreakpoint(location_);
in JsSyntaxExceptionTest() 78 auto ret = debugInterface_->RemoveBreakpoint(location_);
in JsSyntaxExceptionTest() 102 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
|
H A D | js_variable_first_test.h | 28 ASSERT_LOCATION_EQ(location, location_); in JsVariableFirstTest() 42 location_ = TestUtil::GetLocation(sourceFile.c_str(), lineNumber, 0, pandaFile.c_str()); in JsVariableFirstTest() 43 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsVariableFirstTest() 48 auto ret = debugInterface_->SetBreakpoint(location_, condFuncRef); in JsVariableFirstTest() 56 TestUtil::WaitForBreakpoint(location_); in JsVariableFirstTest() 58 auto ret = debugInterface_->RemoveBreakpoint(location_); in JsVariableFirstTest() 833 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
|
H A D | js_variable_second_test.h | 28 ASSERT_LOCATION_EQ(location, location_); in JsVariableSecondTest() 42 location_ = TestUtil::GetLocation(sourceFile.c_str(), line, 0, panfaFile.c_str()); in JsVariableSecondTest() 43 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsVariableSecondTest() 48 auto ret = debugInterface_->SetBreakpoint(location_, condFuncRef); in JsVariableSecondTest() 56 TestUtil::WaitForBreakpoint(location_); in JsVariableSecondTest() 58 auto ret = debugInterface_->RemoveBreakpoint(location_); in JsVariableSecondTest() 421 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
|
H A D | js_step_over_test.h | 117 JSPtLocation location_ = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation() local 119 locations.push_back(location_); in SetJSPtLocation()
|
H A D | js_step_out_test.h | 113 JSPtLocation location_ = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation() local 115 locations.push_back(location_); in SetJSPtLocation()
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
H A D | liveness_analyzer.h | 97 location_(Location::Invalid()), in LifeIntervals() 248 return location_.GetValue(); in GetReg() 253 return location_.IsFixedRegister(); in HasReg() 258 location_ = location; in SetLocation() 263 return location_; in GetLocation() 399 Location location_; member in panda::compiler::LifeIntervals
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | liveness_analyzer.h | 98 location_(Location::Invalid()), in LifeIntervals() 254 return location_.GetValue(); in GetReg() 259 return location_.IsFixedRegister(); in HasReg() 264 location_ = location; in SetLocation() 269 return location_; in GetLocation() 460 Location location_; member in ark::compiler::LifeIntervals
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_events.cpp | 23 ASSERT(location_ != nullptr); in ToJson() 24 result->Add("location", location_->ToJson()); in ToJson() 219 ASSERT(location_ != nullptr); in ToJson() 220 result->Add("location", location_->ToJson()); in ToJson() 239 ASSERT(location_ != nullptr); in ToJson() 240 result->Add("location", location_->ToJson()); in ToJson()
|
H A D | pt_events.h | 65 return location_.get(); in GetLocation() 70 location_ = std::move(location); in SetLocation() 79 std::unique_ptr<Location> location_ {nullptr}; 886 return location_.get(); in GetLocation() 891 location_ = std::move(location); in SetLocation() 928 std::unique_ptr<Location> location_ {nullptr}; 956 return location_.get(); in GetLocation() 961 location_ = std::move(location); in SetLocation() 987 std::unique_ptr<Location> location_ {nullptr};
|
H A D | pt_returns.cpp | 159 ASSERT(location_ != nullptr); in ToJson() 160 result->Add("actualLocation", location_->ToJson()); in ToJson()
|
H A D | pt_returns.h | 190 : breakpointId_(id), location_(std::move(location)) in SetBreakpointReturns() 200 std::unique_ptr<Location> location_ {};
|
H A D | pt_params.h | 44 return location_.get(); in GetLocation() 56 std::unique_ptr<Location> location_ {nullptr};
|
H A D | pt_types.h | 1679 return location_.get(); in GetLocation() 1684 location_ = std::move(location); in SetLocation() 1746 std::unique_ptr<Location> location_ {nullptr};
|
H A D | pt_params.cpp | 126 paramsObject->location_= std::move(location);
in Create()
|
H A D | pt_types.cpp | 2002 callFrame->location_ = std::move(obj); in Create() 2080 ASSERT(location_ != nullptr); in ToJson() 2081 result->Add("location", location_->ToJson()); in ToJson()
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | debugger_impl.h | 308 Location location_ {};
|
H A D | debugger_impl.cpp | 1042 location_ = *params.GetLocation(); in ContinueToLocation()
|