Lines Matching refs:Span

181     Span<const uint8_t> GetSpanFromId(EntityId id) const
184 Span file(GetBase(), header->file_size);
190 Span<const uint32_t> GetClasses() const
193 Span file(GetBase(), header->file_size);
194 Span class_idx_data = file.SubSpan(header->class_idx_off, header->num_classes * sizeof(uint32_t));
195 return Span(reinterpret_cast<const uint32_t *>(class_idx_data.data()), header->num_classes);
198 Span<const uint32_t> GetLiteralArrays() const
201 Span file(GetBase(), header->file_size);
202 Span litarr_idx_data = file.SubSpan(header->literalarray_idx_off, header->num_literalarrays * sizeof(uint32_t));
203 return Span(reinterpret_cast<const uint32_t *>(litarr_idx_data.data()), header->num_literalarrays);
206 Span<const IndexHeader> GetIndexHeaders() const
209 Span file(GetBase(), header->file_size);
211 return Span(reinterpret_cast<const IndexHeader *>(sp.data()), header->num_indexes);
229 Span<const EntityId> GetClassIndex(const IndexHeader *index_header) const
233 Span file(GetBase(), header->file_size);
240 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->class_idx_size);
243 Span<const EntityId> GetClassIndex(EntityId id) const
249 Span<const EntityId> GetMethodIndex(const IndexHeader *index_header) const
253 Span file(GetBase(), header->file_size);
260 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->method_idx_size);
263 Span<const EntityId> GetMethodIndex(EntityId id) const
269 Span<const EntityId> GetFieldIndex(const IndexHeader *index_header) const
273 Span file(GetBase(), header->file_size);
280 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->field_idx_size);
283 Span<const EntityId> GetFieldIndex(EntityId id) const
289 Span<const EntityId> GetProtoIndex(const IndexHeader *index_header) const
293 Span file(GetBase(), header->file_size);
300 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->proto_idx_size);
303 Span<const EntityId> GetProtoIndex(EntityId id) const
309 Span<const EntityId> GetLineNumberProgramIndex() const
312 Span file(GetBase(), header->file_size);
313 Span lnp_idx_data = file.SubSpan(header->lnp_idx_off, header->num_lnps * EntityId::GetSize());
314 return Span(reinterpret_cast<const EntityId *>(lnp_idx_data.data()), header->num_lnps);
412 Span<const panda::panda_file::EntityPairHeader> GetClassHashTable() const
428 void SetClassHashTable(panda::Span<const panda::panda_file::EntityPairHeader> class_hash_table) const
468 mutable panda::Span<const panda::panda_file::EntityPairHeader> class_hash_table_;