Home
last modified time | relevance | path

Searched refs:pandaFile_ (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/toolchain/tooling/test/testcases/
Djs_breakpoint_test.h37 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 22, 0, pandaFile_.c_str()); in JsBreakpointTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointTest()
41 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsBreakpointTest()
69 return {pandaFile_, entryPoint_}; in GetEntryPoint()
74 std::string pandaFile_ = DEBUGGER_ABC_DIR "sample.abc";
Djs_breakpoint_async_test.h37 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 18, 0, pandaFile_.c_str()); in JsBreakpointAsyncTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointAsyncTest()
41 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsBreakpointAsyncTest()
69 return {pandaFile_, entryPoint_}; in GetEntryPoint()
74 std::string pandaFile_ = DEBUGGER_ABC_DIR "async_func.abc";
Djs_breakpoint_arrow_test.h37 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 18, 0, pandaFile_.c_str()); in JsBreakpointArrowTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointArrowTest()
41 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsBreakpointArrowTest()
67 return {pandaFile_, entryPoint_}; in GetEntryPoint()
72 std::string pandaFile_ = DEBUGGER_ABC_DIR "arrow_func.abc";
Djs_syntax_exception_test.h42 auto sourceLocation = TestUtil::GetSourceLocation(location, pandaFile_.c_str()); in JsSyntaxExceptionTest()
60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 27, 0, pandaFile_.c_str()); in JsSyntaxExceptionTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsSyntaxExceptionTest()
64 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsSyntaxExceptionTest()
93 return {pandaFile_, entryPoint_}; in GetEntryPoint()
99 std::string pandaFile_ = DEBUGGER_ABC_DIR + testFile + ".abc"; variable
Djs_exception_test.h42 auto sourceLocation = TestUtil::GetSourceLocation(location, pandaFile_.c_str()); in JsExceptionTest()
60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 22, 0, pandaFile_.c_str()); in JsExceptionTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsExceptionTest()
64 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsExceptionTest()
93 return {pandaFile_, entryPoint_}; in GetEntryPoint()
98 std::string pandaFile_ = DEBUGGER_ABC_DIR "exception.abc";
Djs_range_error_test.h42 auto sourceLocation = TestUtil::GetSourceLocation(location, pandaFile_.c_str()); in JsRangeErrorTest()
60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 20, 0, pandaFile_.c_str()); in JsRangeErrorTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsRangeErrorTest()
64 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsRangeErrorTest()
93 return {pandaFile_, entryPoint_}; in GetEntryPoint()
98 std::string pandaFile_ = DEBUGGER_ABC_DIR "range_error.abc";
Djs_single_step_test.h35 locationStart_ = TestUtil::GetLocation(sourceFile_.c_str(), 19, 0, pandaFile_.c_str()); in JsSingleStepTest()
37 locationEnd_ = TestUtil::GetLocation(sourceFile_.c_str(), 22, 0, pandaFile_.c_str()); in JsSingleStepTest()
39 ASSERT_EQ(moduleName, pandaFile_); in JsSingleStepTest()
83 return {pandaFile_, entryPoint_}; in GetEntryPoint()
87 std::string pandaFile_ = DEBUGGER_ABC_DIR "sample.abc";
Djs_throw_exception_test.h42 auto sourceLocation = TestUtil::GetSourceLocation(location, pandaFile_.c_str()); in JsThrowExceptionTest()
61 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 28, 0, pandaFile_.c_str()); in JsThrowExceptionTest()
66 ASSERT_EQ(moduleName, pandaFile_); in JsThrowExceptionTest()
67 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsThrowExceptionTest()
96 return {pandaFile_, entryPoint_}; in GetEntryPoint()
102 std::string pandaFile_ = DEBUGGER_ABC_DIR + testFile + ".abc"; variable
Djs_step_into_test.h43 ASSERT_EQ(moduleName, pandaFile_); in JsStepIntoTest()
94 return {pandaFile_, entryPoint_}; in GetEntryPoint()
102 std::string pandaFile_ = DEBUGGER_ABC_DIR "step.abc"; variable
114 … arr[i * LINE_COLUMN + 1], pandaFile_.c_str()); in SetJSPtLocation()
Djs_step_over_test.h41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOverTest()
92 return {pandaFile_, entryPoint_}; in GetEntryPoint()
100 std::string pandaFile_ = DEBUGGER_ABC_DIR "step.abc"; variable
114 … arr[i * LINE_COLUMN + 1], pandaFile_.c_str()); in SetJSPtLocation()
Djs_step_out_test.h41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOutTest()
92 return {pandaFile_, entryPoint_}; in GetEntryPoint()
100 std::string pandaFile_ = DEBUGGER_ABC_DIR "step.abc"; variable
114 … arr[i * LINE_COLUMN + 1], pandaFile_.c_str()); in SetJSPtLocation()
Djs_dropframe_test.h58 ASSERT_EQ(moduleName, pandaFile_); in JsDropFrameTest()
59 ASSERT_TRUE(debugger_->NotifyScriptParsed(0, pandaFile_)); in JsDropFrameTest()
100 return {pandaFile_, entryPoint_}; in GetEntryPoint()
249 std::string pandaFile_ = DEBUGGER_ABC_DIR "dropframe.abc"; variable
304 … arr[i * LINE_COLUMN + 1], pandaFile_.c_str()); in SetJSPtLocation()
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/
Dmodule_data_accessor.cpp21 : pandaFile_(pandaFile), moduleDataId_(moduleDataId) in ModuleDataAccessor()
23 auto &pf = *pandaFile_->GetPandaFile(); in ModuleDataAccessor()
57 auto sd = pandaFile_->GetStringData(panda_file::File::EntityId(localNameOffset)); in EnumerateImportEntry()
60 sd = pandaFile_->GetStringData(panda_file::File::EntityId(importNameOffset)); in EnumerateImportEntry()
81 auto sd = pandaFile_->GetStringData(panda_file::File::EntityId(localNameOffset)); in EnumerateImportEntry()
111 auto sd = pandaFile_->GetStringData(panda_file::File::EntityId(localNameOffset)); in EnumerateLocalExportEntry()
114 sd = pandaFile_->GetStringData(panda_file::File::EntityId(exportNameOffset)); in EnumerateLocalExportEntry()
148 auto sd = pandaFile_->GetStringData(panda_file::File::EntityId(exportNameOffset)); in EnumerateIndirectExportEntry()
151 sd = pandaFile_->GetStringData(panda_file::File::EntityId(importNameOffset)); in EnumerateIndirectExportEntry()
Dmodule_data_accessor.h61 const JSPandaFile *pandaFile_;