/arkcompiler/runtime_core/assembler/templates/ |
D | meta_gen.cpp.erb | 19 <%= MetadataGen::class_name(item_type) %>::Validate(<%= MetadataGen::validate_arg_list(item_type, t… 24 <%= MetadataGen::class_name(item_type) %>::Validate(<%= MetadataGen::validate_arg_list(item_type, f… 31 void <%= MetadataGen::class_name(item_type) %>::SetFlags(<%= MetadataGen::flags_arg_list(item_type,… 35 void <%= MetadataGen::class_name(item_type) %>::SetFlags(<%= MetadataGen::flags_arg_list(item_type,… 39 void <%= MetadataGen::class_name(item_type) %>::RemoveFlags(<%= MetadataGen::flags_arg_list(item_ty… 43 void <%= MetadataGen::class_name(item_type) %>::RemoveFlags(<%= MetadataGen::flags_arg_list(item_ty…
|
/arkcompiler/runtime_core/templates/events/ |
D | events.h.erb | 31 EventWriter(std::string_view class_name, std::string_view method_name) { 32 … std::copy(class_name.begin(), class_name.begin() + std::min(class_name.size(), BUF_SIZE - 1) + 1,
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
D | callee_info.cpp | 99 void CalleeInfo::SetClassName(std::string_view class_name) in SetClassName() argument 101 class_name_ = class_name; in SetClassName()
|
D | abc_file.cpp | 127 const Class *AbcFile::GetClassByName(std::string_view class_name) const in GetClassByName() 129 return GetClassByNameImpl(class_name); in GetClassByName() 778 std::string class_name = GetStringByInst(inst); in ResolveInstCommon() local 779 const Class *clazz = GetClassByName(class_name); in ResolveInstCommon() 940 std::string class_name = GetStringByMethodId(m_id); in ResolveDefineClassWithBufferInst() local 941 std::unique_ptr<Class> def_class = std::make_unique<Class>(class_name, this, func); in ResolveDefineClassWithBufferInst() 945 LOG(DEBUG, DEFECT_SCAN_AUX) << "Create a new class: " << class_name; in ResolveDefineClassWithBufferInst() 1038 auto &class_name = def_class->GetClassName(); in AddDefinedClass() local 1039 ASSERT(def_class_map_.find(class_name) == def_class_map_.end()); in AddDefinedClass() 1040 def_class_map_[class_name] = def_class.get(); in AddDefinedClass() [all …]
|
/arkcompiler/runtime_core/libark_defect_scan_aux/include/ |
D | class.h | 37 Class(std::string_view class_name, const AbcFile *abc_file, const Function *def_func) in Class() argument 38 : class_name_(class_name), abc_file_(abc_file), def_func_(def_func) in Class()
|
D | callee_info.h | 48 void SetClassName(std::string_view class_name);
|
D | abc_file.h | 63 const Class *GetClassByName(std::string_view class_name) const; 120 Class *GetClassByNameImpl(std::string_view class_name) const;
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variableFlags.h | 44 #define DECLARE_TYPES(decl_kind, class_name) decl_kind, argument 65 #define GEN_SCOPE_TYPES(type, class_name) type, argument 96 #define GEN_VARIABLE_TYPES(type, class_name) type, argument
|
/arkcompiler/runtime_core/assembler/ |
D | asm_metadata.rb | 90 def class_name(item_type) method 140 body << "#{indent}return pandasm::#{class_name(item_type)}::Validate(#{args.join(', ')});" 176 body << "#{indent}pandasm::#{class_name(item_type)}::SetFlags(#{args.join(', ')});" 212 body << "#{indent}pandasm::#{class_name(item_type)}::RemoveFlags(#{args.join(', ')});"
|
D | assembly-emitter.cpp | 1731 auto class_name = catch_block->exception_record; in BuildTryBlocks() local 1734 if (!class_name.empty()) { in BuildTryBlocks() 1735 auto it = class_items.find(class_name); in BuildTryBlocks()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | aot_test.cpp | 179 const std::string class_name("Foo"); in TEST_F() local 180 std::string method_name(class_name + "::method"); in TEST_F() 200 auto klass = etx->CreateClass(reinterpret_cast<const uint8_t *>(class_name.data()), 0, 0, in TEST_F() 232 uint32_t hash = GetHash32String(reinterpret_cast<const uint8_t *>(class_name.data())); in TEST_F() 523 const std::string class_name("Foo"); in TEST_F() local 524 std::string method_name(class_name + "::method"); in TEST_F() 545 auto klass = etx->CreateClass(reinterpret_cast<const uint8_t *>(class_name.data()), 0, 0, in TEST_F() 577 uint32_t hash = GetHash32String(reinterpret_cast<const uint8_t *>(class_name.data())); in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
D | compiler_intrinsics.rb | 56 class_name == 'Irtoc'
|
D | intrinsics_codegen.inl.erb | 27 % if intrinsic.class_name == "Irtoc"
|
/arkcompiler/runtime_core/disassembler/templates/ |
D | intrinsics_gen.h.erb | 49 …tf8_name = reinterpret_cast<const uint8_t *>("<%= get_object_descriptor(intrinsic.class_name) %>"); 70 …LOG(ERROR, RUNTIME) << "Cannot find method '<%= intrinsic.class_name %>.<%= intrinsic.method_name …
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_items.h | 1435 std::string class_name; in GetMethodNames() local 1437 class_name = method->GetClassItem()->GetNameItem()->GetData(); in GetMethodNames() 1438 class_name.pop_back(); // remove '\0' in GetMethodNames() 1439 ASSERT(class_name.size() > 2); // 2 - L and ; in GetMethodNames() 1440 class_name.erase(0, 1); in GetMethodNames() 1441 class_name.pop_back(); in GetMethodNames() 1442 class_name.append("::"); in GetMethodNames() 1444 class_name.append(method->GetNameItem()->GetData()); in GetMethodNames() 1445 class_name.pop_back(); // remove '\0' in GetMethodNames() 1446 names.emplace_back(class_name); in GetMethodNames()
|
D | debug_info_extractor.cpp | 212 const char *class_name = utf::Mutf8AsCString(pf->GetStringData(cda.GetClassId()).data); in Extract() local 218 info.signature = class_name; in Extract()
|
D | file_reader.cpp | 890 std::string class_name(utf::Mutf8AsCString(file_->GetStringData(class_id).data)); in CreateForeignClassItem() local 891 auto *class_item = container_.GetOrCreateForeignClassItem(class_name); in CreateForeignClassItem() 906 std::string class_name(utf::Mutf8AsCString(file_->GetStringData(class_id).data)); in CreateClassItem() local 907 auto *class_item = container_.GetOrCreateClassItem(class_name); in CreateClassItem() 922 LOG(FATAL, PANDAFILE) << "Class " << class_name << " has cyclic inheritance"; in CreateClassItem()
|
/arkcompiler/ets_runtime/test/quickfix/ |
D | BUILD.gn | 21 "class_name",
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | runtime_adapter.h | 142 auto class_name = GetClassNameFromMethod(method); in GetMethodFullName() local 145 return class_name + "::" + method_name; in GetMethodFullName()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
D | defect_scan_aux_test.cpp | 76 const Class *CheckClass(std::string_view class_name) const in CheckClass() 78 auto *class0 = abc_file_->GetClassByName(class_name); in CheckClass() 80 TestHelper::ExpectEqual(class0->GetClassName(), class_name); in CheckClass() 85 TestHelper::ExpectTrue(abc_file_->GetFunctionByName(class_name) == mf_func0); in CheckClass() 86 TestHelper::ExpectTrue(class0->GetMemberFunctionByName(class_name) == mf_func0); in CheckClass() 88 CheckFunction(class_name); in CheckClass()
|
/arkcompiler/ets_frontend/es2panda/compiler/templates/ |
D | isa.h.erb | 182 % class_name = insn2node(insn) 190 class <%= class_name %> : public <%= base_class %> 193 explicit <%= class_name %>(<%= ctor_args %>) : <%= base_class %>(node)<%= ops %> {}
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | common.h | 737 …void CheckConstArrayFilling(panda::pandasm::Program *prog, [[maybe_unused]] std::string class_name, in CheckConstArrayFilling() argument 765 ASSERT(pandasm::AsmEmitter::Emit(class_name + ".panda", *prog, nullptr, nullptr, false)); in CheckConstArrayFilling() 770 … void CheckConstArray(panda::pandasm::Program *prog, const char *class_name, std::string func_name, in CheckConstArray() argument 775 …panda::pandasm::AsmEmitter::Emit(std::string(class_name) + ".panda", *prog, nullptr, nullptr, fals… in CheckConstArray()
|
/arkcompiler/runtime_core/disassembler/ |
D | disassembler.cpp | 661 … const auto class_name = StringDataToString(file_->GetStringData(method_accessor.GetClassId())); in GetMetaData() local 662 auto this_type = pandasm::Type::FromDescriptor(class_name); in GetMetaData() 933 std::string class_name = GetFullRecordName(method_accessor.GetClassId()); in GetFullMethodName() local 934 if (IsSystemType(class_name)) { in GetFullMethodName() 935 class_name = ""; in GetFullMethodName() 937 class_name += "."; in GetFullMethodName() 940 return class_name + method_name_raw; in GetFullMethodName()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_item_container_test.cpp | 312 std::vector<uint8_t> class_name {'B', 'a', 'r', '\0'}; variable 313 auto class_id = panda_file->GetClassId(class_name.data());
|