Home
last modified time | relevance | path

Searched refs:panda_file_ (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h36 …explicit BytecodeOptimizerRuntimeAdapter(const panda_file::File &panda_file) : panda_file_(panda_f… in BytecodeOptimizerRuntimeAdapter()
42 return const_cast<panda_file::File *>(&panda_file_); in GetBinaryFileForMethod()
47 return panda_file_.ResolveOffsetByIndex(MethodCast(parent_method), index).GetOffset(); in ResolveOffsetByIndex()
57 panda_file::MethodDataAccessor mda(panda_file_, MethodCast(method)); in GetMethodTotalArgumentsCount()
60 panda_file::CodeDataAccessor cda(panda_file_, mda.GetCodeId().value()); in GetMethodTotalArgumentsCount()
67 panda_file::MethodDataAccessor mda(panda_file_, panda_file::File::EntityId(id)); in GetMethodArgumentsCount()
68 panda_file::ProtoDataAccessor pda(panda_file_, mda.GetProtoId()); in GetMethodArgumentsCount()
75 panda_file::MethodDataAccessor mda(panda_file_, MethodCast(method)); in GetMethodRegistersCount()
78 panda_file::CodeDataAccessor cda(panda_file_, mda.GetCodeId().value()); in GetMethodRegistersCount()
85 panda_file::MethodDataAccessor mda(panda_file_, MethodCast(method)); in GetMethodCode()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dproto_data_accessor-inl.h39 auto sp = panda_file_.GetSpanFromId(proto_id_); in EnumerateTypes()
76 auto sp1 = panda_file_.GetSpanFromId(proto_id_); in IsEqual()
77 auto sp2 = other->panda_file_.GetSpanFromId(other->proto_id_); in IsEqual()
102 auto id1 = panda_file_.ResolveClassIndex(proto_id_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
103 … auto id2 = other->panda_file_.ResolveClassIndex(other->proto_id_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
104 if (panda_file_.GetStringData(id1) != other->panda_file_.GetStringData(id2)) { in IsEqual()
129 return panda_file_.ResolveClassIndex(proto_id_, class_idx); in GetReferenceType()
137 auto sp = panda_file_.GetSpanFromId(proto_id_); in GetType()
Dmethod_data_accessor.cpp21 : panda_file_(panda_file), method_id_(method_id) in MethodDataAccessor()
23 auto sp = panda_file_.GetSpanFromId(method_id); in MethodDataAccessor()
34 is_external_ = panda_file_.IsExternal(method_id); in MethodDataAccessor()
40 size_ = panda_file_.GetIdFromPointer(sp.data()).GetOffset() - method_id_.GetOffset(); in MethodDataAccessor()
Dliteral_data_accessor.cpp21 : panda_file_(panda_file), literal_data_id_(literal_data_id) in LiteralDataAccessor()
23 literal_num_ = panda_file_.GetHeader()->num_literalarrays; in LiteralDataAccessor()
24 literal_data_sp_ = panda_file_.GetSpanFromId(literal_data_id_); in LiteralDataAccessor()
Dvalue.h28 ScalarValue(const File &panda_file, uint32_t value) : panda_file_(panda_file), value_(value) {} in ScalarValue()
52 auto sp = panda_file_.GetSpanFromId(id); in Get()
68 const File &panda_file_;
74 ArrayValue(const File &panda_file, File::EntityId id) : panda_file_(panda_file), id_(id) in ArrayValue()
76 auto sp = panda_file_.GetSpanFromId(id_); in ArrayValue()
116 const File &panda_file_; variable
Dannotation_data_accessor.h30 : panda_file_(panda_file), name_id_(name_id), value_(value) in Elem()
45 return ScalarValue(panda_file_, value_); in GetScalarValue()
50 return ArrayValue(panda_file_, File::EntityId(value_)); in GetArrayValue()
54 const File &panda_file_;
111 const File &panda_file_; variable
Dmethod_handle_data_accessor.cpp22 : panda_file_(panda_file), method_handle_id_(method_handle_id) in MethodHandleDataAccessor()
24 auto sp = panda_file_.GetSpanFromId(method_handle_id_); in MethodHandleDataAccessor()
29 size_ = panda_file_.GetIdFromPointer(sp.data()).GetOffset() - method_handle_id_.GetOffset(); in MethodHandleDataAccessor()
Dproto_data_accessor.h27 …ProtoDataAccessor(const File &panda_file, File::EntityId proto_id) : panda_file_(panda_file), prot… in ProtoDataAccessor()
33 return panda_file_; in GetPandaFile()
43 return panda_file_.GetSpanFromId(proto_id_); in GetShorty()
82 const File &panda_file_; variable
Dfield_data_accessor.cpp23 : panda_file_(panda_file), field_id_(field_id) in FieldDataAccessor()
25 auto sp = panda_file_.GetSpanFromId(field_id_); in FieldDataAccessor()
35 is_external_ = panda_file_.IsExternal(field_id_); in FieldDataAccessor()
43 size_ = panda_file_.GetIdFromPointer(sp.data()).GetOffset() - field_id_.GetOffset(); in FieldDataAccessor()
72 auto value_sp = panda_file_.GetSpanFromId(File::EntityId(offset)); in GetValueInternal()
Dannotation_data_accessor.cpp22 : panda_file_(panda_file), annotation_id_(annotation_id) in AnnotationDataAccessor()
24 auto sp = panda_file_.GetSpanFromId(annotation_id_); in AnnotationDataAccessor()
26 class_off_ = panda_file_.ResolveClassIndex(annotation_id_, class_idx).GetOffset(); in AnnotationDataAccessor()
42 return AnnotationDataAccessor::Elem(panda_file_, File::EntityId(name), value); in GetElement()
Ddebug_data_accessor-inl.h69 auto line_num_program_id = panda_file_.ResolveLineNumberProgramIndex(index); in GetLineNumberProgram()
71 size_ = panda_file_.GetIdFromPointer(sp.data()).GetOffset() - debug_info_id_.GetOffset(); in GetLineNumberProgram()
73 return panda_file_.GetSpanFromId(line_num_program_id).data(); in GetLineNumberProgram()
Ddebug_data_accessor.cpp21 : panda_file_(panda_file), debug_info_id_(debug_info_id) in DebugInfoDataAccessor()
23 auto sp = panda_file_.GetSpanFromId(debug_info_id_); in DebugInfoDataAccessor()
Dmethod_handle_data_accessor.h43 return panda_file_; in GetPandaFile()
57 const File &panda_file_;
Dmodule_data_accessor.cpp22 : panda_file_(panda_file), module_data_id_(module_data_id) in ModuleDataAccessor()
24 auto sp = panda_file_.GetSpanFromId(module_data_id); in ModuleDataAccessor()
Dclass_data_accessor-inl.h74 cb(panda_file_.ResolveClassIndex(class_id_, index)); in EnumerateInterfaces()
83 return panda_file_.ResolveClassIndex(class_id_, index); in GetInterfaceId()
170 …EnumerateClassElements<Callback, FieldDataAccessor>(panda_file_, fields_sp_, num_fields_, cb, &met… in EnumerateFields()
182 …EnumerateClassElements<Callback, MethodDataAccessor>(panda_file_, methods_sp_, num_methods_, cb, &… in EnumerateMethods()
184 size_ = panda_file_.GetIdFromPointer(sp.data()).GetOffset() - class_id_.GetOffset(); in EnumerateMethods()
Ddebug_data_accessor.h62 return panda_file_; in GetPandaFile()
77 const File &panda_file_; variable
Dmodule_data_accessor.h53 return panda_file_; in GetPandaFile()
69 const panda_file::File &panda_file_;
Dparam_annotations_data_accessor.h59 …ParamAnnotationsDataAccessor(const File &panda_file, File::EntityId id) : panda_file_(panda_file),… in ParamAnnotationsDataAccessor()
61 auto sp = panda_file_.GetSpanFromId(id); in ParamAnnotationsDataAccessor()
130 const File &panda_file_; variable
Dliteral_data_accessor-inl.h28 auto sp = panda_file_.GetSpanFromId(id); in GetLiteralValsNum()
47 auto sp = panda_file_.GetSpanFromId(id); in EnumerateLiteralVals()
103 value = panda_file_.GetIdFromPointer(sp.data()).GetOffset(); in EnumerateLiteralVals()
Dcode_data_accessor.cpp38 : panda_file_(panda_file), code_id_(code_id), size_(0) in CodeDataAccessor()
40 auto sp = panda_file_.GetSpanFromId(code_id_); in CodeDataAccessor()
Dclass_data_accessor.cpp24 …: panda_file_(panda_file), class_id_(class_id), name_(), num_fields_(0), num_methods_(0), num_ifac… in ClassDataAccessor()
27 auto sp = panda_file_.GetSpanFromId(class_id_); in ClassDataAccessor()
Dmethod_data_accessor-inl.h59 return panda_file_.GetStringData(GetNameId()); in GetName()
250 …size_ = panda_file_.GetIdFromPointer(runtime_type_annotation_sp_.data()).GetOffset() - method_id_.… in EnumerateRuntimeTypeAnnotations()
339 AnnotationDataAccessor ada(panda_file_, annotation_id); in GetNumericalAnnotation()
340 …auto *annotation_name = reinterpret_cast<const char *>(panda_file_.GetStringData(ada.GetClassId())… in GetNumericalAnnotation()
345 …auto *elem_name = reinterpret_cast<const char *>(panda_file_.GetStringData(adae.GetNameId()).data); in GetNumericalAnnotation()
Dliteral_data_accessor.h85 return panda_file_; in GetPandaFile()
120 const File &panda_file_; variable
Dcode_data_accessor.h163 return panda_file_; in GetPandaFile()
174 const File &panda_file_; variable
Dclass_data_accessor.h111 return panda_file_; in GetPandaFile()
141 const File &panda_file_; variable

12