Home
last modified time | relevance | path

Searched full:class_name (Results 1 – 25 of 48) sorted by relevance

12

/arkcompiler/runtime_core/runtime/
Druntime.yaml38 class_name: Math
50 class_name: Math
62 class_name: Math
74 class_name: Math
86 class_name: Math
97 class_name: Math
108 class_name: Math
119 class_name: Math
130 class_name: Math
141 class_name: Math
[all …]
Dcompiler.cpp305 auto *class_name = pf->GetStringData(mda.GetClassId()).data; in IsMethodIntrinsic() local
308 auto *klass = class_linker->FindLoadedClass(class_name, caller->GetClass()->GetLoadContext()); in IsMethodIntrinsic()
316 bool is_array_clone = ClassHelper::IsArrayDescriptor(class_name) && in IsMethodIntrinsic()
448 auto class_name = klass->GetName(); in FindClassIdInFile() local
450 …auto class_id = pfile->GetClassId(ClassHelper::GetDescriptor(utf::CStringAsMutf8(class_name.c_str(… in FindClassIdInFile()
451 …if (class_id.IsValid() && class_name == ClassHelper::GetName(pfile->GetStringData(class_id).data))… in FindClassIdInFile()
473 auto class_name = cls->GetName(); in GetLiteralArrayClassIdWithinFile() local
476 …if (class_id.IsValid() && class_name == ClassHelper::GetName(pfile->GetStringData(class_id).data))… in GetLiteralArrayClassIdWithinFile()
Druntime.cpp822 static bool GetClassAndMethod(std::string_view entry_point, PandaString *class_name, PandaString *m… in GetClassAndMethod() argument
829 *class_name = PandaString(entry_point.substr(0, pos - 1)); in GetClassAndMethod()
845 PandaString class_name; in ResolveEntryPoint() local
848 if (!GetClassAndMethod(entry_point, &class_name, &method_name)) { in ResolveEntryPoint()
854 …auto class_name_bytes = ClassHelper::GetDescriptor(utf::CStringAsMutf8(class_name.c_str()), &descr… in ResolveEntryPoint()
868 LOG(ERROR, RUNTIME) << "Cannot find class '" << class_name << "'"; in ResolveEntryPoint()
919 PandaString class_name; in ExtractLanguageContext() local
921 if (!GetClassAndMethod(entry_point, &class_name, &method_name)) { in ExtractLanguageContext()
927 …auto class_name_bytes = ClassHelper::GetDescriptor(utf::CStringAsMutf8(class_name.c_str()), &descr… in ExtractLanguageContext()
932 LOG(ERROR, RUNTIME) << "Cannot find class '" << class_name << "'"; in ExtractLanguageContext()
/arkcompiler/runtime_core/irtoc/
Dintrinsics.yaml16 # WARNING: 'class_name' field should be `Irtoc` for all Irtoc intrinsics. If it needs to be changed…
21 class_name: Irtoc
35 class_name: Irtoc
48 class_name: Irtoc
61 class_name: Irtoc
75 class_name: Irtoc
89 class_name: Irtoc
102 class_name: Irtoc
116 class_name: Irtoc
130 class_name: Irtoc
/arkcompiler/runtime_core/assembler/templates/
Dmeta_gen.cpp.erb19 <%= 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/verification/verifier/
Dverifier.cpp121 auto get_class_by_name = [&](const std::string &class_name) -> Class * { in RunVerifier() argument
122 auto it = classes_by_name.find(class_name); in RunVerifier()
129 ClassHelper::GetDescriptor(utf::CStringAsMutf8(class_name.c_str()), &descriptor); in RunVerifier()
132 LOG(ERROR, VERIFIER) << "Error: Cannot resolve class with name " << class_name; in RunVerifier()
136 classes_by_name.emplace(class_name, klass); in RunVerifier()
140 for (const auto &class_name : class_names) { in RunVerifier() local
141 Class *klass = get_class_by_name(class_name); in RunVerifier()
157 std::string class_name = fq_method_name.substr(0, pos - 1); in RunVerifier() local
159 … if (std::find(class_names.begin(), class_names.end(), class_name) != class_names.end()) { in RunVerifier()
163 Class *klass = get_class_by_name(class_name); in RunVerifier()
[all …]
/arkcompiler/runtime_core/templates/events/
Devents.h.erb30 EventWriter(std::string_view class_name, std::string_view method_name) {
31 … std::copy(class_name.begin(), class_name.begin() + std::min(class_name.size(), BUF_SIZE - 1) + 1,
/arkcompiler/runtime_core/runtime/templates/
Dintrinsics.yaml.erb17 class_name: <%= intrinsic.class_name %>
29 …args: <%= (!intrinsic.static ? [get_effective_type(intrinsic.class_name)] : []) + intrinsic.signat…
34 …args: <%= (!intrinsic.static ? [get_type(intrinsic.class_name)] : []) + intrinsic.signature.args.m…
Dintrinsics_gen.h.erb86 …tf8_name = reinterpret_cast<const uint8_t *>("<%= get_object_descriptor(intrinsic.class_name) %>");
107 …LOG(ERROR, RUNTIME) << "Cannot find method '<%= intrinsic.class_name %>.<%= intrinsic.method_name …
111 % method_full_name = intrinsic.class_name + "::" + intrinsic.method_name
/arkcompiler/ets_frontend/es2panda/binder/
DvariableFlags.h44 #define DECLARE_TYPES(decl_kind, class_name) decl_kind, argument
64 #define GEN_SCOPE_TYPES(type, class_name) type, argument
94 #define GEN_VARIABLE_TYPES(type, class_name) type, argument
/arkcompiler/runtime_core/compiler/tools/
Dbenchmark_coverage.sh120 class_name=$(echo $1 | rev | cut -f 2- -d '.' | rev)
122 class_name="_GLOBAL"
151 local tmp_file=$benchmark-$class_name-$method_name.tmp
154 … $PAOC --paoc-panda-files="$benchmark.abc" --compiler-regex="$class_name::$method_name" \
185 echo -n " --compiler-regex=\"$class_name::$method_name\"" >> $LOG_ERROR
296 local tmp_file=$test-$class_name-$method_name.tmp
299 $PAOC --paoc-panda-files=$test.abc --compiler-regex="$class_name::$method_name" \
329 echo -n " --compiler-regex=\"$class_name::$method_name\"" >> $LOG_ERROR
/arkcompiler/runtime_core/runtime/core/
Dcore_vm.cpp229 const char class_name[] = "[Lpanda/String;"; // NOLINT(modernize-avoid-c-arrays) in CheckEntrypointSignature() local
232 {utf::CStringAsMutf8(class_name), sizeof(class_name) - 1}); in CheckEntrypointSignature()
238 const char class_name[] = "[Lpanda/String;"; // NOLINT(modernize-avoid-c-arrays) in CreateArgumentsArray() local
239 auto *array_klass = class_linker->GetExtension(ctx)->GetClass(utf::CStringAsMutf8(class_name)); in CreateArgumentsArray()
241 LOG(FATAL, RUNTIME) << "Class " << class_name << " not found"; in CreateArgumentsArray()
/arkcompiler/runtime_core/libark_defect_scan_aux/include/
Dclass.h37 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()
Dabc_file.h63 const Class *GetClassByName(std::string_view class_name) const;
120 Class *GetClassByNameImpl(std::string_view class_name) const;
/arkcompiler/runtime_core/libark_defect_scan_aux/
Dcallee_info.cpp99 void CalleeInfo::SetClassName(std::string_view class_name) in SetClassName() argument
101 class_name_ = class_name; in SetClassName()
Dabc_file.cpp127 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/assembler/
Dasm_metadata.rb90 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(', ')});"
/arkcompiler/runtime_core/compiler/tools/paoc/
Dpaoc.cpp424 std::string class_name = ClassHelper::GetName(pfile_ref.GetStringData(id).data); in CompilePandaFile() local
428 … LOG_PAOC(DEBUG) << "Ignoring a class `" << class_name << "` (id = " << id << ", file `" in CompilePandaFile()
436 LOG_PAOC(DEBUG) << "Compiling class `" << class_name << "` (id = " << id << ", file `" in CompilePandaFile()
445 … "Class `" + class_name + "` from " + pfile_ref.GetFilename() + " compiled with errors"; in CompilePandaFile()
478 std::string class_name = ClassHelper::GetName(pfile_ref.GetStringData(class_id).data); in PossibleToCompile() local
483 LOG_PAOC(DEBUG) << "Can't compile external class `" << class_name << "`"; in PossibleToCompile()
489 LOG_PAOC(DEBUG) << "Class is nullptr: `" << class_name << "`"; in PossibleToCompile()
490 LOG_PAOC(ERROR) << "ClassLinker can't load a class `" << class_name << "`"; in PossibleToCompile()
497 LOG_PAOC(DEBUG) << "Can't compile array class `" << class_name << "`"; in PossibleToCompile()
504 LOG_PAOC(DEBUG) << "Will compile abstract class `" << class_name << "`"; in PossibleToCompile()
[all …]
/arkcompiler/runtime_core/disassembler/templates/
Dintrinsics_gen.h.erb49 …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/compiler/tests/
Daot_test.cpp179 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/ets_runtime/test/quickfix/
DBUILD.gn21 "class_name",
/arkcompiler/runtime_core/libpandafile/
Dfile_items.h1435 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()
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dintrinsics_codegen.inl.erb27 % if intrinsic.class_name == "Irtoc"
Dcompiler_intrinsics.rb56 class_name == 'Irtoc'
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Disa.h.erb182 % class_name = insn2node(insn)
190 class <%= class_name %> : public <%= base_class %>
193 explicit <%= class_name %>(<%= ctor_args %>) : <%= base_class %>(node)<%= ops %> {}

12