/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | runnable_module.py | 51 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 D | compiler.py | 128 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 D | debug.py | 120 url=str(script_file.source_file), 195 context.script_file.source_file, 198 url=context.script_file.source_file,
|
H A D | layouts.py | 35 def source_file(src_file: Path, **kwargs) -> Syntax: function 109 code = source_file(url, highlight_lines=highlight_lines)
|
H A D | walker.py | 109 url=self.script_file.source_file,
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
H A D | test_breaks_props.py | 110 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 D | test_steps.py | 201 url=str(script_file.source_file),
|
/arkcompiler/ets_frontend/merge_abc/src/ |
H A D | assemblyRecordProto.cpp | 34 protoRecord.set_sourcefile(record.source_file); in Serialize() 56 record.source_file = protoRecord.sourcefile(); in Deserialize()
|
H A D | assemblyFunctionProto.cpp | 79 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 D | test_ets_evaluate.py | 63 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 D | expression_verifier.py | 106 options = eval_options_loader(base.source_file) 120 base.source_file.stem,
|
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/ |
H A D | cmake_checker.py | 100 source_file = os.path.join(directory, "CMakeLists.txt") 106 shutil.copy(source_file, temp_file)
|
/arkcompiler/ets_frontend/es2panda/scripts/ |
H A D | generate_js_bytecode.py | 105 if input_arguments.source_file: 106 cmd += ["--source-file", input_arguments.source_file]
|
/arkcompiler/runtime_core/abc2program/ |
H A D | abc_class_processor.cpp | 96 record_.source_file = GetStringById(source_file_id.value()); in FillRecordSourceFile() 98 record_.source_file = ""; in FillRecordSourceFile()
|
H A D | abc_method_processor.cpp | 120 function_.source_file = debug_info_extractor_.GetSourceFile(entity_id_); in FillSourceFile()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | debug_info_extractor.cpp | 261 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 D | debug_info_extractor.h | 84 std::string source_file; member
|
H A D | file_items.cpp | 1555 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 D | file_reader.cpp | 979 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 D | assembly-record.h | 39 std::string source_file; /* The file in which the record is defined or empty */ member
|
H A D | assembly-emitter.cpp | 858 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 D | clang_tidy_check.py | 422 with open(file_path, "r") as source_file: 423 for line in source_file.readlines():
|
/arkcompiler/runtime_core/libpandafile/tests/ |
H A D | file_item_container_test.cpp | 238 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 D | debuginfoDumper.cpp | 187 WriteProperty("sourceFile", iter->second.source_file); in Dump()
|
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/ |
H A D | hello_world_test.cpp | 328 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()
|