Home
last modified time | relevance | path

Searched refs:IndexHeader (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile.h77 struct IndexHeader { struct
202 Span<const IndexHeader> GetIndexHeaders() const in GetIndexHeaders()
206 … auto sp = file.SubSpan(header->index_section_off, header->num_indexes * sizeof(IndexHeader)); in GetIndexHeaders()
207 return Span(reinterpret_cast<const IndexHeader *>(sp.data()), header->num_indexes); in GetIndexHeaders()
210 const IndexHeader *GetIndexHeader(EntityId id) const in GetIndexHeader()
225 Span<const EntityId> GetClassIndex(const IndexHeader *index_header) const in GetClassIndex()
244 Span<const EntityId> GetMethodIndex(const IndexHeader *index_header) const in GetMethodIndex()
263 Span<const EntityId> GetFieldIndex(const IndexHeader *index_header) const in GetFieldIndex()
282 Span<const EntityId> GetProtoIndex(const IndexHeader *index_header) const in GetProtoIndex()
Dfile_item_container.h386 return sizeof(File::IndexHeader); in CalculateSize()
Dfile.cpp601 if (!CheckHeaderElementOffset<File::IndexHeader>(header->index_section_off, header->num_indexes, in CheckHeader()
Dfile_item_container.cpp932 size_t size = headers_.size() * sizeof(File::IndexHeader); in CalculateSize()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h79 … const panda_file::File::IndexHeader *mainIndex = jsPandaFile->GetPandaFile()->GetIndexHeader(id); in CreateConstPool()
109 panda_file::File::IndexHeader *indexHeader = GetIndexHeader(); in GetEntityId()
117 panda_file::File::IndexHeader *indexHeader = GetIndexHeader(); in GetMethodIndexByEntityId()
128 inline void SetIndexHeader(const panda_file::File::IndexHeader *indexHeader) in SetIndexHeader()
133 inline panda_file::File::IndexHeader *GetIndexHeader() const in GetIndexHeader()
135 … return Barriers::GetValue<panda_file::File::IndexHeader *>(GetData(), GetIndexHeaderOffset()); in GetIndexHeader()
Djs_pandafile.h230 …Span<const panda_file::File::EntityId> GetMethodIndex(const panda_file::File::IndexHeader *indexHe… in GetMethodIndex()
/arkcompiler/runtime_core/docs/
D2022-08-18-isa-changelog.md25 We also add header index in function such that runtime can access IndexHeader more efficiently.