Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandafile/
Dfile.h225 Span<const EntityId> GetClassIndex(const IndexHeader *index_header) const in GetClassIndex() argument
227 THROW_IF(index_header == nullptr, "index_header is null"); in GetClassIndex()
230 ASSERT(index_header != nullptr); in GetClassIndex()
231 auto class_idx_size = index_header->class_idx_size * EntityId::GetSize(); in GetClassIndex()
232 … THROW_IF(index_header->class_idx_off > header->file_size || class_idx_size > header->file_size || in GetClassIndex()
233index_header->class_idx_off > header->file_size - class_idx_size, "index_header is invalid"); in GetClassIndex()
234 …auto sp = file.SubSpan(index_header->class_idx_off, index_header->class_idx_size * EntityId::GetSi… in GetClassIndex()
235 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->class_idx_size); in GetClassIndex()
240 auto *index_header = GetIndexHeader(id); in GetClassIndex() local
241 return GetClassIndex(index_header); in GetClassIndex()
[all …]