Home
last modified time | relevance | path

Searched refs:source_code (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Ddebug_info_extractor.cpp244 const char *source_code = utf::Mutf8AsCString(handler.GetSourceCode()); in Extract() local
245 if (UNLIKELY(source_code == nullptr)) { in Extract()
246 source_code = ""; in Extract()
248 methods_.push_back({source_file, source_code, method_id, handler.GetLineNumberTable(), in Extract()
317 return method.source_code.c_str(); in GetSourceCode()
Ddebug_info_extractor.h85 std::string source_code; member
Dfile_items.cpp1552 …eNumberProgramItem::EmitSetSourceCode(std::vector<uint8_t> *constant_pool, StringItem *source_code) in EmitSetSourceCode() argument
1556 if (source_code == nullptr) { in EmitSetSourceCode()
1560 ASSERT(source_code->GetOffset() != 0); in EmitSetSourceCode()
1561 EmitUleb128(constant_pool, source_code->GetOffset()); in EmitSetSourceCode()
Dfile_reader.cpp1133 … std::string source_code = utf::Mutf8AsCString(file_->GetStringData(source_code_id).data); in UpdateDebugInfoDependecies() local
1134 container_.GetOrCreateStringItem(source_code); in UpdateDebugInfoDependecies()
1241 … std::string source_code = utf::Mutf8AsCString(file_->GetStringData(source_code_id).data); in UpdateDebugInfo() local
1242 auto *source_code_item = container_.GetOrCreateStringItem(source_code); in UpdateDebugInfo()
Dfile_items.h638 void EmitSetSourceCode(std::vector<uint8_t> *constant_pool, StringItem *source_code);
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.cpp80 protoFunction.set_sourcecode(function.source_code); in Serialize()
140 function.source_code = protoFunction.sourcecode(); in Deserialize()
/arkcompiler/ets_frontend/es2panda/compiler/debugger/
DdebuginfoDumper.cpp188 WriteProperty("sourceCode", iter->second.source_code); in Dump()
/arkcompiler/runtime_core/assembler/
Dassembly-function.h80 std::string source_code; member
Dassembly-emitter.cpp995 if (!func.source_code.empty()) { in CreateMethodItem()
996 items->GetOrCreateStringItem(func.source_code); in CreateMethodItem()
1221 if (!func.source_code.empty()) { in EmitDebugInfo()
1222 auto *source_code_item = items->GetOrCreateStringItem(func.source_code); in EmitDebugInfo()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp240 func_->source_code = SourceCode().Mutf8(); in GenSourceFileDebugInfo()
254 func_->source_code = SourceCode().Mutf8(); in GenFunctionSource()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp496 pandaFunc.source_code = function["sc"].asString(); in ParseSourceFileInfo()
/arkcompiler/runtime_core/docs/
Dfile_format.md964 …| `0x0a` | | `uleb128` | Set `source_code` register to th…