Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/tests/
Dclass_hash_table_test.cpp57 const std::string GetSourceCode() const in GetSourceCode() function in panda::compiler::ClassHashTableTest
106 auto res = parser.Parse(GetSourceCode()); in TEST_F()
211 auto res = parser.Parse(GetSourceCode()); in TEST_F()
242 auto res = parser.Parse(GetSourceCode()); in TEST_F()
280 auto res = parser.Parse(GetSourceCode()); in TEST_F()
321 auto res = parser.Parse(GetSourceCode()); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
Dclass_hash_table_test.cpp57 std::string GetSourceCode() const in GetSourceCode() function in ark::compiler::ClassHashTableTest
106 auto res = parser.Parse(GetSourceCode()); in TEST_F()
219 auto res = parser.Parse(GetSourceCode()); in TEST_F()
250 auto res = parser.Parse(GetSourceCode()); in TEST_F()
288 auto res = parser.Parse(GetSourceCode()); in TEST_F()
344 GetClassIdFromClassHashTableABC(GetSourceCode(), pandaFname.GetFileName()); in TEST_F()
/arkcompiler/runtime_core/static_core/libpandafile/
Ddebug_info_extractor.cpp161 const uint8_t *GetSourceCode() const in GetSourceCode() function in ark::panda_file::LineNumberProgramHandler
163 return state_->GetSourceCode(); in GetSourceCode()
241 const char *sourceCode = utf::Mutf8AsCString(handler.GetSourceCode()); in Extract()
302 const char *DebugInfoExtractor::GetSourceCode(File::EntityId methodId) const in GetSourceCode() function in ark::panda_file::DebugInfoExtractor
Ddebug_info_extractor.h76 virtual const char *GetSourceCode(File::EntityId methodId) const;
Dline_number_program.h61 const uint8_t *GetSourceCode() const in GetSourceCode() function
/arkcompiler/runtime_core/libpandafile/
Ddebug_info_extractor.cpp160 const uint8_t *GetSourceCode() const in GetSourceCode() function in panda::panda_file::LineNumberProgramHandler
162 return state_->GetSourceCode(); in GetSourceCode()
262 const char *source_code = utf::Mutf8AsCString(handler.GetSourceCode()); in Extract()
328 const char *DebugInfoExtractor::GetSourceCode(File::EntityId method_id) const in GetSourceCode() function in panda::panda_file::DebugInfoExtractor
Ddebug_info_extractor.h76 const char *GetSourceCode(File::EntityId method_id) const;
Dline_number_program.h61 const uint8_t *GetSourceCode() const in GetSourceCode() function
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp167 const uint8_t *GetSourceCode() const in GetSourceCode() function in panda::ecmascript::LineNumberProgramHandler
169 return state_->GetSourceCode(); in GetSourceCode()
245 const std::string &DebugInfoExtractor::GetSourceCode(const panda_file::File::EntityId methodId) in GetSourceCode() function in panda::ecmascript::DebugInfoExtractor
308 sourceCode = reinterpret_cast<const char *>(handler.GetSourceCode()); in ExtractorMethodDebugInfo()
Ddebug_info_extractor.h92 const std::string &GetSourceCode(const panda_file::File::EntityId methodId);
/arkcompiler/runtime_core/static_core/disassembler/
Ddisasm_backed_debug_info_extractor.cpp75 const char *DisasmBackedDebugInfoExtractor::GetSourceCode(panda_file::File::EntityId methodId) const in GetSourceCode() function in ark::disasm::DisasmBackedDebugInfoExtractor
81 return DebugInfoExtractor::GetSourceCode(methodId); in GetSourceCode()
Ddisasm_backed_debug_info_extractor.h33 const char *GetSourceCode(panda_file::File::EntityId methodId) const override;
/arkcompiler/runtime_core/static_core/disassembler/tests/
Dextractor_test.cpp57 ASSERT_NE(extractor.GetSourceCode(id), nullptr); in TEST()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Ddebug_info_cache.cpp180 auto s = cache.GetSourceCode(disasm_file); in TEST_F()
183 s = cache.GetSourceCode("source.pa"); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dinspector.h93 std::string GetSourceCode(std::string_view sourceFile);
Ddebug_info_cache.h52 std::string GetSourceCode(std::string_view sourceFile);
Dinspector.cpp71 inspectorServer_.OnCallDebuggerGetScriptSource(std::bind(&Inspector::GetSourceCode, this, _1)); in Inspector()
351 std::string Inspector::GetSourceCode(std::string_view sourceFile) in GetSourceCode() function in ark::tooling::inspector::Inspector
353 return debugInfoCache_.GetSourceCode(sourceFile); in GetSourceCode()
Ddebug_info_cache.cpp320 std::string DebugInfoCache::GetSourceCode(std::string_view sourceFile) in GetSourceCode() function in ark::tooling::inspector::DebugInfoCache
327 return GetDebugInfo(&it->second.first).GetSourceCode(it->second.second); in GetSourceCode()
/arkcompiler/runtime_core/abc2program/
Dabc_method_processor.cpp124 function_.source_code = debug_info_extractor_.GetSourceCode(entity_id_); in FillSourceCode()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp365 const std::string &sourceCode = debugExtractor->GetSourceCode(method->GetMethodId()); in FunctionPrototypeToString()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp98 const std::string &source = extractor->GetSourceCode(mainMethodIndex); in NotifyScriptParsed()
202 const std::string &source = extractor->GetSourceCode(methodId); in NotifyScriptParsedBySendable()
/arkcompiler/ets_runtime/ecmascript/napi/
DREADME.md4226 ### GetSourceCode subsection
4228 Local<StringRef> GetSourceCode(const EcmaVM *vm, int lineNumber);
4254 Local<StringRef> src = callback->GetSourceCode(vm, 10);
Djsnapi_expo.cpp3627 Local<StringRef> FunctionRef::GetSourceCode(const EcmaVM *vm, int lineNumber) in GetSourceCode() function in panda::FunctionRef
3650 …const std::string &allSourceCode = debugExtractor->GetSourceCode(panda_file::File::EntityId(mainMe… in GetSourceCode()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi_expo.h905 Local<StringRef> GetSourceCode(const EcmaVM *vm, int lineNumber);
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp1900 HWTEST_F_L0(JSNApiTests, GetSourceCode) in HWTEST_F_L0() argument