/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_breakpoint_test.h | 37 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";
|
D | js_breakpoint_async_test.h | 37 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";
|
D | js_breakpoint_arrow_test.h | 37 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";
|
D | js_syntax_exception_test.h | 42 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
|
D | js_exception_test.h | 42 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";
|
D | js_range_error_test.h | 42 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";
|
D | js_single_step_test.h | 35 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";
|
D | js_throw_exception_test.h | 42 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
|
D | js_step_into_test.h | 43 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()
|
D | js_step_over_test.h | 41 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()
|
D | js_step_out_test.h | 41 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()
|
D | js_dropframe_test.h | 58 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/ |
D | module_data_accessor.cpp | 21 : 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()
|
D | module_data_accessor.h | 61 const JSPandaFile *pandaFile_;
|