Home
last modified time | relevance | path

Searched refs:IDX_SIZE (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dproto_data_accessor-inl.h67 size_ += num_ref * IDX_SIZE; in EnumerateTypes()
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()
127 auto sp = ref_types_sp_.SubSpan(i * IDX_SIZE); in GetReferenceType()
128 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
Dmethod_data_accessor.cpp25 class_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
26 proto_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
Dfield_data_accessor.cpp27 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
28 auto type_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
Dfield_data_accessor-inl.h31 auto sp = panda_file.GetSpanFromId(field_id).SubSpan(IDX_SIZE); // skip class_idx in GetTypeId()
32 auto type_idx = helpers::Read<panda_file::IDX_SIZE>(&sp); in GetTypeId()
39 auto sp = panda_file.GetSpanFromId(field_id).SubSpan(IDX_SIZE * 2); // skip class_idx, type_idx in GetNameId()
Dclass_data_accessor-inl.h73 auto index = helpers::Read<IDX_SIZE>(&sp); in EnumerateInterfaces()
81 auto sp = ifaces_offsets_sp_.SubSpan(idx * IDX_SIZE); in GetInterfaceId()
82 auto index = helpers::Read<IDX_SIZE>(&sp); in GetInterfaceId()
Dmethod_data_accessor-inl.h30 auto sp = panda_file.GetSpanFromId(method_id).SubSpan(IDX_SIZE * SKIP_NUM); in GetNameId()
44 auto sp = panda_file.GetSpanFromId(method_id).SubSpan(IDX_SIZE * SKIP_NUM); in GetProtoId()
45 auto proto_idx_ = helpers::Read<IDX_SIZE>(&sp); in GetProtoId()
53 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in GetClassId()
Dindex_accessor.h30 auto sp = pf.GetSpanFromId(method_id).SubSpan(IDX_SIZE * (SKIP_NUM - 1) + ID_SIZE); in IndexAccessor()
Dannotation_data_accessor.cpp25 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
Dclass_data_accessor.cpp51 size_t size = IDX_SIZE * num_ifaces_; in ClassDataAccessor()
Dfile_items.cpp266 size += TAG_SIZE + leb128::UnsignedEncodingSize(ifaces_.size()) + IDX_SIZE * ifaces_.size(); in CalculateSizeWithoutFieldsAndMethods()
559 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(access_flags_); in CalculateSize()
1247 return IDX_SIZE + IDX_SIZE + ID_SIZE; in CalculateSize()
1390 …size_t size = IDX_SIZE + sizeof(uint16_t) + (ID_SIZE + ID_SIZE) * elements_.size() + sizeof(uint8_… in CalculateSize()
Dfile_items.h93 static constexpr size_t IDX_SIZE = sizeof(uint16_t); variable
1278 size += reference_types_.size() * IDX_SIZE; in CalculateSize()