Home
last modified time | relevance | path

Searched refs:source_file (Results 1 - 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Drunnable_module.py51 def __init__(self, source_file: Path, panda_file: Path, ast: dict[str, Any] | None = None) -> None:
52 if not source_file.exists():
53 raise FileNotFoundError(source_file)
54 self.source_file = source_file
88 if not self.source_file.exists():
89 raise FileNotFoundError(self.source_file)
90 return self.source_file.read_text()
93 if not self.source_file.exists():
94 raise FileNotFoundError(self.source_file)
[all...]
H A Dcompiler.py128 source_file: Path,
140 args.append(str(source_file))
164 source_file: Path,
170 if not source_file.exists():
171 raise FileNotFoundError(source_file)
175 panda_file = tmp_path / f"{source_file.stem}.abc"
178 source_file=source_file,
187 LOG.error("Compile error", rich=syntax(source_file.read_text(), start_line=1))
192 LOG.error("Compiler failed with %s code", e.returncode, rich=syntax(source_file
[all...]
H A Ddebug.py120 url=str(script_file.source_file),
195 context.script_file.source_file,
198 url=context.script_file.source_file,
H A Dlayouts.py35 def source_file(src_file: Path, **kwargs) -> Syntax: function
109 code = source_file(url, highlight_lines=highlight_lines)
H A Dwalker.py109 url=self.script_file.source_file,
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_breaks_props.py110 script_file.source_file,
114 url=script_file.source_file,
126 url=str(script_file.source_file),
170 script_file.source_file,
173 url=script_file.source_file,
184 url=str(script_file.source_file),
H A Dtest_steps.py201 url=str(script_file.source_file),
/arkcompiler/ets_frontend/merge_abc/src/
H A DassemblyRecordProto.cpp34 protoRecord.set_sourcefile(record.source_file); in Serialize()
56 record.source_file = protoRecord.sourcefile(); in Deserialize()
H A DassemblyFunctionProto.cpp79 protoFunction.set_sourcefile(function.source_file); in Serialize()
160 function.source_file = protoFunction.sourcefile(); in Deserialize()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/
H A Dtest_ets_evaluate.py63 get_expected_path(args.base.source_file, args.lang_extension),
107 get_expression_path(base_file.source_file, arkts_file_extension),
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/
H A Dexpression_verifier.py106 options = eval_options_loader(base.source_file)
120 base.source_file.stem,
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
H A Dcmake_checker.py100 source_file = os.path.join(directory, "CMakeLists.txt")
106 shutil.copy(source_file, temp_file)
/arkcompiler/ets_frontend/es2panda/scripts/
H A Dgenerate_js_bytecode.py105 if input_arguments.source_file:
106 cmd += ["--source-file", input_arguments.source_file]
/arkcompiler/runtime_core/abc2program/
H A Dabc_class_processor.cpp96 record_.source_file = GetStringById(source_file_id.value()); in FillRecordSourceFile()
98 record_.source_file = ""; in FillRecordSourceFile()
H A Dabc_method_processor.cpp120 function_.source_file = debug_info_extractor_.GetSourceFile(entity_id_); in FillSourceFile()
/arkcompiler/runtime_core/libpandafile/
H A Ddebug_info_extractor.cpp261 const char *source_file = utf::Mutf8AsCString(handler.GetFile()); in Extract()
268 MethodDebugInfo {source_file, source_code, method_id, handler.GetLineNumberTable(), in Extract()
323 return it->second.source_file.c_str(); in GetSourceFile()
H A Ddebug_info_extractor.h84 std::string source_file; member
H A Dfile_items.cpp1555 void LineNumberProgramItem::EmitSetFile(std::vector<uint8_t> *constant_pool, StringItem *source_file) in EmitSetFile() argument
1559 if (source_file == nullptr) { in EmitSetFile()
1562 ASSERT(source_file->GetOffset() != 0); in EmitSetFile()
1563 EmitUleb128(constant_pool, source_file->GetOffset()); in EmitSetFile()
H A Dfile_reader.cpp979 std::string source_file = utf::Mutf8AsCString(file_->GetStringData(source_file_id.value()).data); in CreateClassItem() local
980 class_item->SetSourceFile(container_.GetOrCreateStringItem(source_file)); in CreateClassItem()
1147 std::string source_file = utf::Mutf8AsCString(file_->GetStringData(source_file_id).data); in UpdateDebugInfoDependecies() local
1148 container_.GetOrCreateStringItem(source_file); in UpdateDebugInfoDependecies()
1254 std::string source_file = utf::Mutf8AsCString(file_->GetStringData(source_file_id).data); in UpdateDebugInfo() local
1255 auto *source_file_item = container_.GetOrCreateStringItem(source_file); in UpdateDebugInfo()
/arkcompiler/runtime_core/assembler/
H A Dassembly-record.h39 std::string source_file; /* The file in which the record is defined or empty */ member
H A Dassembly-emitter.cpp858 if (!rec.source_file.empty()) { in HandleRecord()
859 auto *source_file_item = items->GetOrCreateStringItem(rec.source_file); in HandleRecord()
1022 if (!func.source_file.empty()) { in CreateMethodItem()
1023 items->GetOrCreateStringItem(func.source_file); in CreateMethodItem()
1279 record_source_file = rec.source_file; in EmitDebugInfo()
1282 if (!func.source_file.empty() && func.source_file != record_source_file) { in EmitDebugInfo()
1288 auto *source_file_item = items->GetOrCreateStringItem(func.source_file); in EmitDebugInfo()
/arkcompiler/runtime_core/static_core/scripts/clang-tidy/
H A Dclang_tidy_check.py422 with open(file_path, "r") as source_file:
423 for line in source_file.readlines():
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_item_container_test.cpp238 ClassItem* class_item, ClassItem* empty_class_item, StringItem* source_file, in TestPandaFile()
260 EXPECT_EQ(class_data_accessor.GetSourceFileId().value().GetOffset(), source_file->GetOffset()); in TestPandaFile()
405 StringItem *source_file = container.GetOrCreateStringItem("source_file"); in HWTEST() local
407 class_item->SetSourceFile(source_file); in HWTEST()
426 TestPandaFile(mem_writer, panda_file, class_item, empty_class_item, source_file, class_data_accessor); in HWTEST()
914 StringItem *source_file = container.GetOrCreateStringItem("source_file"); in CreateItems() local
915 class_item_a->SetSourceFile(source_file); in CreateItems()
961 EXPECT_EQ(panda::panda_file::pgo::ProfileOptimizer::GetNameInfo(*item), "source_file"); in CheckItemBeforePGO2()
237 TestPandaFile(MemoryWriter& mem_writer, std::unique_ptr<const File>& panda_file, ClassItem* class_item, ClassItem* empty_class_item, StringItem* source_file, ClassDataAccessor class_data_accessor) TestPandaFile() argument
1178 StringItem *source_file = container.GetOrCreateStringItem("source_file"); HWTEST() local
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/debugger/
H A DdebuginfoDumper.cpp187 WriteProperty("sourceFile", iter->second.source_file); in Dump()
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
H A Dhello_world_test.cpp328 EXPECT_TRUE(it.second.source_file == ""); in HWTEST_F()
776 std::string source_file = function.source_file; in HWTEST_F() local
777 EXPECT_TRUE(source_file.find("HelloWorld.ts") != std::string::npos); in HWTEST_F()

Completed in 21 milliseconds

12