Lines Matching refs:SizeInBytes
70 uint32_t Format::SizeInBytes() const { in SizeInBytes() function in amber::Format
77 size += static_cast<uint32_t>(seg.SizeInBytes()); in SizeInBytes()
116 Segment{size + segments_.back().SizeInBytes()}; in AddPaddedSegment()
132 last.SizeInBytes() >= seg.SizeInBytes()) { in AddSegment()
134 auto pad = last.SizeInBytes() - seg.SizeInBytes(); in AddSegment()
156 return 4 * n->SizeInBytes(); in CalcVecBaseAlignmentInBytes()
159 return n->RowCount() * n->SizeInBytes(); in CalcVecBaseAlignmentInBytes()
173 align = t->SizeInBytes(); in CalcArrayBaseAlignmentInBytes()
199 align = 4 * m->SizeInBytes(); in CalcMatrixBaseAlignmentInBytes()
201 align = m->RowCount() * m->SizeInBytes(); in CalcMatrixBaseAlignmentInBytes()
211 return l->SizeInBytes(); in CalcListBaseAlignmentInBytes()
222 return t->SizeInBytes(); in CalcTypeBaseAlignmentInBytes()
242 return l->SizeInBytes(); in AddSegmentsForType()
324 size += m.SizeInBytes(); in AddSegmentsForType()
330 AddPaddedSegment(seg.SizeInBytes()); in AddSegmentsForType()
331 size += seg.SizeInBytes(); in AddSegmentsForType()
344 size += type->SizeInBytes(); in AddSegmentsForType()
354 AddPaddedSegmentPackable(type->SizeInBytes()); in AddSegmentsForType()
355 size += type->SizeInBytes(); in AddSegmentsForType()
404 name += NAME_PARTS[i] + std::to_string(type_->SizeInBytes() * 8); in GenerateName()