Searched refs:IndexHeader (Results 1 – 7 of 7) sorted by relevance
77 struct IndexHeader { struct202 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()
386 return sizeof(File::IndexHeader); in CalculateSize()
601 if (!CheckHeaderElementOffset<File::IndexHeader>(header->index_section_off, header->num_indexes, in CheckHeader()
932 size_t size = headers_.size() * sizeof(File::IndexHeader); in CalculateSize()
79 … 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()
230 …Span<const panda_file::File::EntityId> GetMethodIndex(const panda_file::File::IndexHeader *indexHe… in GetMethodIndex()
25 We also add header index in function such that runtime can access IndexHeader more efficiently.