Home
last modified time | relevance | path

Searched refs:sourceFile_ (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_pt_location.h32 bytecodeOffset_(bytecodeOffset), sourceFile_(sourceFile) in jsPandaFile_()
43 return sourceFile_; in GetSourceFile()
68 location << "sourceFile:" << "\""<< sourceFile_ << "\""<< ", "; in ToString()
83 std::string sourceFile_; // mainly used for breakpoint variable
Djs_debugger.h30 const Global<FunctionRef> &condFuncRef) : sourceFile_(sourceFile), ptMethod_(ptMethod), in JSBreakpoint()
36 return sourceFile_; in GetSourceFile()
53 sourceFile_ == bpoint.GetSourceFile() &&
63 breakpoint << "sourceFile:" << "\""<< sourceFile_ << "\""<< ", "; in ToString()
78 std::string sourceFile_;
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.cpp27 sourceFile_(Allocator()), in Program()
37 sourceFile_(other.sourceFile_), in Program()
62 sourceFile_ = other.sourceFile_; in operator =()
Dprogram.h95 return sourceFile_.View(); in SourceFile()
131 sourceFile_ = util::UString(sourceFile, Allocator()); in SetSource()
206 util::UString sourceFile_ {};
/arkcompiler/toolchain/tooling/test/testcases/
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()
88 std::string sourceFile_ = DEBUGGER_JS_DIR "sample.js"; variable
Djs_breakpoint_arrow_test.h67 if (ret != Result::SUCCESS || breakpoint.find(sourceFile_) == std::string::npos || in JsBreakpointArrowTest()
89 std::string sourceFile_ = DEBUGGER_JS_DIR "arrow_func.js"; variable
Djs_breakpoint_async_test.h72 if (ret != Result::SUCCESS || breakpoint.find(sourceFile_) == std::string::npos || in JsBreakpointAsyncTest()
94 std::string sourceFile_ = DEBUGGER_JS_DIR "async_func.js"; variable
Djs_breakpoint_test.h72 if (ret != Result::SUCCESS || breakpoint.find(sourceFile_) == std::string::npos || in JsBreakpointTest()
94 std::string sourceFile_ = DEBUGGER_JS_DIR "sample.js"; variable
Djs_range_error_test.h60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 20, 0, pandaFile_.c_str()); in JsRangeErrorTest()
99 std::string sourceFile_ = DEBUGGER_JS_DIR "range_error.js"; variable
Djs_syntax_exception_test.h60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 27, 0, pandaFile_.c_str()); in JsSyntaxExceptionTest()
100 std::string sourceFile_ = DEBUGGER_JS_DIR + testFile + ".js"; variable
Djs_throw_exception_test.h61 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 28, 0, pandaFile_.c_str()); in JsThrowExceptionTest()
103 std::string sourceFile_ = DEBUGGER_JS_DIR + testFile + ".js"; variable
Djs_step_into_test.h107 std::string sourceFile_ = DEBUGGER_JS_DIR "step.js"; variable
117 JSPtLocation location = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation()
Djs_step_over_test.h105 std::string sourceFile_ = DEBUGGER_JS_DIR "step.js"; variable
117 … JSPtLocation location_ = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation()
Djs_step_out_test.h101 std::string sourceFile_ = DEBUGGER_JS_DIR "step.js"; variable
113 … JSPtLocation location_ = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation()
Djs_container_test.h67 if (ret != Result::SUCCESS || breakpoint.find(sourceFile_) == std::string::npos || in JsContainerTest()
162 std::string sourceFile_ = DEBUGGER_JS_DIR "container.js"; variable
Djs_source_test.h77 std::string sourceFile_ = DEBUGGER_JS_DIR "sample.js"; variable
Djs_exception_test.h68 if (ret != Result::SUCCESS || breakpoint.find(sourceFile_) == std::string::npos || in JsExceptionTest()
204 std::string sourceFile_ = DEBUGGER_JS_DIR "exception.js"; variable
Djs_tracing_test.h82 std::string sourceFile_ = DEBUGGER_JS_DIR "sample.js"; variable
Djs_heapsampling_test.h99 std::string sourceFile_ = DEBUGGER_JS_DIR "sample.js"; variable
/arkcompiler/ets_frontend/ets2panda/util/
Doptions.cpp266 sourceFile_ = inputFile.GetValue(); in Parse()
270 inputStream.open(sourceFile_.c_str()); in Parse()
274 errorMsg_.append(sourceFile_); in Parse()
291 compilerOutput_ = RemoveExtension(BaseName(sourceFile_)).append(".abc"); in Parse()
313 std::string sourceFileExtension = sourceFile_.substr(sourceFile_.find_last_of('.') + 1); in Parse()
337 if (!sourceFile_.empty() && extension != sourceFileExtension) { in Parse()
Doptions.h120 return sourceFile_; in SourceFile()
171 std::string sourceFile_; variable
/arkcompiler/ets_frontend/es2panda/compiler/core/
DcompilerContext.h98 return sourceFile_; in SourceFile()
158 std::string sourceFile_; variable
DcompilerContext.cpp29 …isRecordSource_(isRecordSource), sourceFile_(sourceFile), pkgName_(pkgName), recordName_(recordNam… in CompilerContext()
/arkcompiler/ets_frontend/es2panda/aot/
Doptions.cpp158 compilerOptions_.cacheFiles.insert({sourceFile_, cacheInput}); in ParseCacheFileOption()
372 sourceFile_ = input; in Parse()
380 compilerOutput_ = RemoveExtension(util::Helpers::BaseName(sourceFile_)).append(".abc"); in Parse()
398 auto inputAbs = panda::os::file::File::GetAbsolutePath(sourceFile_); in Parse()
400 std::cerr << "Failed to find: " << sourceFile_ << std::endl; in Parse()
410 …es2panda::SourceFile src(sourceFile_, recordName_, scriptKind_, GetScriptExtension(sourceFile_, ex… in Parse()
Doptions.h85 return sourceFile_; in SourceFile()
142 std::string sourceFile_; variable

12