/arkcompiler/runtime_core/libark_defect_scan_aux/ |
H A D | abc_file.cpp | 74 bool AbcFile::IsModule(std::string_view record_name) const in IsModule() 76 if (IsMergeAbc() && record_name == "") { in IsModule() 80 return GetModuleRecordByName(std::string(record_name)) != nullptr; in IsModule() 133 std::string_view record_name) const 135 if (!IsModule(record_name)) { 139 if (IsMergeAbc() && record_name == "") { 143 std::string inter_func_name = GetLocalNameByExportName(export_func_name, record_name); 146 const std::string record_name_str = std::string(record_name); 155 std::string_view no_hashtag_name = GetNameWithoutHashtag(ex_func_name, record_name); 179 std::string_view record_name) cons [all...] |
H A D | class.cpp | 62 auto record_name = name.substr(0, pos1); in GetFuncNameWithoutPrefix() local 64 return record_name + fun_name; in GetFuncNameWithoutPrefix()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/include/ |
H A D | abc_file.h | 55 bool IsModule(std::string_view record_name = "") const; 64 std::string_view record_name = "") const; 68 std::string_view record_name = "") const; 74 std::string GetLocalNameByExportName(std::string_view export_name, std::string_view record_name = "") const; 76 std::string GetImportNameByExportName(std::string_view export_name, std::string_view record_name = "") const; 77 std::string GetModuleNameByExportName(std::string_view export_name, std::string_view record_name = "") const; 79 std::string GetModuleNameByLocalName(std::string_view local_name, std::string_view record_name = "") const; 80 std::string GetImportNameByLocalName(std::string_view local_name, std::string_view record_name = "") const; 82 std::string_view GetNameWithoutHashtag(std::string_view full_name, std::string_view record_name = "") const; 123 const std::string record_name [all...] |
H A D | function.h | 33 Function(std::string_view record_name, std::string_view func_name, panda_file::File::EntityId m_id, in Function() argument 35 : func_name_(func_name), record_name_(record_name), m_id_(m_id), in Function()
|
H A D | class.h | 37 Class(std::string_view class_name, std::string_view record_name, in Class() argument 39 : class_name_(class_name), record_name_(record_name), abc_file_(abc_file), def_func_(def_func) in Class()
|
/arkcompiler/runtime_core/abc2program/ |
H A D | abc2program_compiler.cpp | 69 std::string record_name = ""; in CompileAbcFile() local 72 CompileAbcClass(record_id, *prog_, record_name); in CompileAbcFile() 78 pandasm::Program &program, std::string &record_name) in CompileAbcClass() 81 record_name = entity_container.GetFullRecordNameById(record_id); in CompileAbcClass() 82 panda::Timer::timerStart(EVENT_COMPILE_ABC_FILE_RECORD, record_name); in CompileAbcClass() 85 panda::Timer::timerEnd(EVENT_COMPILE_ABC_FILE_RECORD, record_name); in CompileAbcClass() 77 CompileAbcClass(const panda_file::File::EntityId &record_id, pandasm::Program &program, std::string &record_name) CompileAbcClass() argument
|
H A D | abc2program_compiler.h | 38 std::string &record_name);
|
/arkcompiler/runtime_core/abc2program/common/ |
H A D | abc2program_entity_container.cpp | 76 std::string record_name = GetFullRecordNameById(method_data_accessor.GetClassId()); in ConcatFullMethodNameById() local 78 if (AbcFileUtils::IsSystemTypeName(record_name)) { in ConcatFullMethodNameById() 81 ss << record_name << DOT; in ConcatFullMethodNameById()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | compileQueue.cpp | 185 std::string record_name = ""; in Run() local 186 compiler_.CompileAbcClass(recordId, *program, record_name); in Run() 190 panda::Timer::timerStart(panda::EVENT_UPDATE_ABC_PKG_VERSION, record_name); in Run() 192 panda::Timer::timerEnd(panda::EVENT_UPDATE_ABC_PKG_VERSION, record_name); in Run() 194 panda::Timer::timerStart(panda::EVENT_UPDATE_ABC_PROGRAM_STRING, record_name); in Run() 202 panda::Timer::timerEnd(panda::EVENT_UPDATE_ABC_PROGRAM_STRING, record_name); in Run() 205 panda::Timer::timerStart(panda::EVENT_UPDATE_ABC_PROG_CACHE, record_name); in Run() 216 panda::Timer::timerEnd(panda::EVENT_UPDATE_ABC_PROG_CACHE, record_name); in Run()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | optimize_bytecode.cpp | 247 // @bundle:record_name in ModuleRequestOffsetToRecordName() 248 // @package:record_name in ModuleRequestOffsetToRecordName() 249 // @normalized:N&xxxx&record_name in ModuleRequestOffsetToRecordName() 250 // Extract record_name from each possible cases. in ModuleRequestOffsetToRecordName() 333 static void AnalysisModuleConstantValue(panda_file::ClassDataAccessor &cda, const std::string &record_name, in AnalysisModuleConstantValue() argument 338 cda.EnumerateMethods([MAIN_METHOD_NAME, record_name, is_dynamic, ir_interface, &result]( in AnalysisModuleConstantValue() 348 if (func_name != record_name + MAIN_METHOD_NAME) { in AnalysisModuleConstantValue() 411 std::string record_name = pandasm::Type::FromDescriptor(record_type_descriptor).GetName(); in AnalysisBytecode() local 414 auto &result = BytecodeAnalysisResults::GetOrCreateBytecodeAnalysisResult(record_name, exists); in AnalysisBytecode() 420 AnalysisModuleConstantValue(cda, record_name, is_dynami in AnalysisBytecode() [all...] |
/arkcompiler/runtime_core/assembler/ |
H A D | annotation.h | 37 AnnotationData(const std::string_view &record_name, std::vector<AnnotationElement> elements) in AnnotationData() argument 38 : record_name_(record_name), elements_(std::move(elements)) in AnnotationData() 42 explicit AnnotationData(const std::string_view &record_name) : record_name_(record_name) {} in AnnotationData() argument
|
H A D | assembly-emitter.cpp | 416 auto record_name = annotation.GetName(); in CreateAnnotationItem() local 417 auto it = program.record_table.find(record_name); in CreateAnnotationItem() 419 SetLastError("Record " + record_name + " not found"); in CreateAnnotationItem() 425 SetLastError("Record " + record_name + " isn't annotation"); in CreateAnnotationItem() 459 auto *cls = entities.class_items.find(record_name)->second; in CreateAnnotationItem() 1275 std::string record_name = GetOwnerName(name); in EmitDebugInfo() local 1277 if (!record_name.empty()) { in EmitDebugInfo() 1278 auto &rec = program.record_table.find(record_name)->second; in EmitDebugInfo()
|
/arkcompiler/ets_frontend/test262/ |
H A D | run_sunspider.py | 469 record_name = os.path.splitext(os.path.basename(dependency))[0] 470 if record_name in record_names: 473 record_names.add(record_name) 475 files_info_list.append(f"{dependency};{record_name};{compile_mode};xxx;yyy\n") 631 record_name = os.path.splitext(os.path.split(self.js_file)[1])[0] 632 cmd_args.insert(-1, f'--entry-point={record_name}') 693 record_name = os.path.splitext(os.path.split(self.js_file)[1])[0] 694 cmd_args.insert(-1, f'--entry-point={record_name}') 715 record_name = os.path.splitext(os.path.split(self.js_file)[1])[0] 727 f'--entry-point={record_name}'] [all...] |
/arkcompiler/runtime_core/disassembler/tests/ |
H A D | disassembler_user_annotations_test.cpp | 137 void ValidateRecord(const std::string &record_name, std::string record_expected) in ValidateRecord() argument 139 auto record = disasm->GetSerializedRecord(record_name); in ValidateRecord()
|
/arkcompiler/ets_frontend/es2panda/test/ |
H A D | runner.py | 769 # 'source_file_name:record_name\n' * n 779 record_name = os.path.relpath(test_path, os.path.dirname(self.files_info_path)).split('.')[0] 780 if (self.file_record_mapping is not None and record_name in self.file_record_mapping): 781 record_name = self.file_record_mapping[record_name] 782 return record_name 832 record_name = self.get_record_name(test_path) 839 file_info = ('%s;%s;%s;%s;%s;%s\n' % (test_path, record_name, module_kind, 840 os.path.relpath(test_path, self.projects_path), record_name,
|
/arkcompiler/runtime_core/disassembler/ |
H A D | disassembler.h | 71 std::optional<std::string> GetSerializedRecord(const std::string &record_name) const;
|
H A D | disassembler.cpp | 707 std::optional<std::string> Disassembler::GetSerializedRecord(const std::string &record_name) const in GetSerializedRecord() 709 const auto record_iter = prog_.record_table.find(record_name); in GetSerializedRecord()
|