Home
last modified time | relevance | path

Searched refs:IDX_SIZE (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
H A 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()
H A Dmethod_data_accessor.cpp25 class_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
26 proto_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dindex_accessor.h30 auto sp = pf.GetSpanFromId(method_id).SubSpan(IDX_SIZE * (SKIP_NUM - 1) + ID_SIZE); in IndexAccessor()
H A Dannotation_data_accessor.cpp25 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
H A Dclass_data_accessor.cpp51 size_t scale = IDX_SIZE * num_ifaces_; in ClassDataAccessor()
H A Dfile_items.cpp266 size += TAG_SIZE + leb128::UnsignedEncodingSize(ifaces_.size()) + IDX_SIZE * ifaces_.size(); in CalculateSizeWithoutFieldsAndMethods()
565 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(access_flags_); in CalculateSize()
1261 return IDX_SIZE + IDX_SIZE + ID_SIZE; in CalculateSize()
1404 size_t size = IDX_SIZE + sizeof(uint16_t) + (ID_SIZE + ID_SIZE) * elements_.size() + sizeof(uint8_t) * tags_.size(); in CalculateSize()
H A Dfile_items.h133 static constexpr size_t IDX_SIZE = sizeof(uint16_t); member in panda::panda_file::ClassTag::MethodTag::FieldTag::FunctionKind::ItemRank
1305 size += reference_types_.size() * IDX_SIZE;
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dproto_data_accessor-inl.h68 size_ += numRef * IDX_SIZE; in EnumerateTypes()
104 auto id1 = pandaFile_.ResolveClassIndex(protoId_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
105 auto id2 = other->pandaFile_.ResolveClassIndex(other->protoId_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
134 auto sp = refTypesSp_.SubSpan(i * IDX_SIZE); in GetReferenceType()
135 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
H A Dmethod_data_accessor.cpp26 classIdx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
27 protoIdx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
H A Dfield_data_accessor.cpp28 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
29 auto typeIdx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
H A Dclass_data_accessor-inl.h74 auto index = helpers::Read<IDX_SIZE>(&sp); in EnumerateInterfaces()
82 auto sp = ifacesOffsetsSp_.SubSpan(idx * IDX_SIZE); in GetInterfaceId()
83 auto index = helpers::Read<IDX_SIZE>(&sp); in GetInterfaceId()
H A Dfield_data_accessor-inl.h31 auto sp = pandaFile.GetSpanFromId(fieldId).SubSpan(IDX_SIZE); // skip class_idx in GetTypeId()
32 auto typeIdx = helpers::Read<panda_file::IDX_SIZE>(&sp); in GetTypeId()
39 auto sp = pandaFile.GetSpanFromId(fieldId).SubSpan(IDX_SIZE * 2); // skip class_idx, type_idx in GetNameId()
H A Dclass_data_accessor.cpp48 sp = sp.SubSpan(IDX_SIZE * numIfaces_); in ClassDataAccessor()
H A Dannotation_data_accessor.cpp25 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
H A Dmethod_data_accessor-inl.h32 auto sp = pandaFile.GetSpanFromId(methodId).SubSpan(IDX_SIZE * SKIP_NUM); in GetNameId()
46 auto sp = pandaFile.GetSpanFromId(methodId).SubSpan(IDX_SIZE * SKIP_NUM); in GetProtoId()
47 auto protoIdx = helpers::Read<IDX_SIZE>(&sp); in GetProtoId()
55 auto classIdx = helpers::Read<IDX_SIZE>(&sp); in GetClassId()
H A Dfile_items.cpp223 size += TAG_SIZE + leb128::UnsignedEncodingSize(ifaces_.size()) + IDX_SIZE * ifaces_.size(); in CalculateSizeWithoutFieldsAndMethods()
514 return IDX_SIZE + IDX_SIZE + ID_SIZE + leb128::UnsignedEncodingSize(accessFlags_); in CalculateSize()
1197 return IDX_SIZE + IDX_SIZE + ID_SIZE; in CalculateSize()
1340 size_t size = IDX_SIZE + sizeof(uint16_t) + (ID_SIZE + ID_SIZE) * elements_.size() + sizeof(uint8_t) * tags_.size(); in CalculateSize()
H A Dfile_items.h84 constexpr size_t IDX_SIZE = sizeof(uint16_t); member in ark::panda_file::ClassTag::MethodTag::FieldTag
1380 size += referenceTypes_.size() * IDX_SIZE;

Completed in 16 milliseconds