Lines Matching refs:segments_
72 for (const auto& seg : segments_) { in SizeInBytes()
90 for (const auto& seg : segments_) { in InputNeededPerElement()
108 segments_.clear(); in RebuildSegments()
114 if (!segments_.empty() && segments_.back().IsPadding()) { in AddPaddedSegment()
115 segments_[segments_.size() - 1] = in AddPaddedSegment()
116 Segment{size + segments_.back().SizeInBytes()}; in AddPaddedSegment()
118 segments_.push_back(Segment{size}); in AddPaddedSegment()
124 segments_.back().SetPackable(true); in AddPaddedSegmentPackable()
128 if (!segments_.empty()) { in AddSegment()
129 auto last = segments_.back(); in AddSegment()
133 segments_.back() = seg; in AddSegment()
141 segments_.push_back(seg); in AddSegment()
250 if (!segments_.empty() && segments_.back().IsPadding()) in AddSegmentsForType()
251 segments_.back().SetPackable(false); in AddSegmentsForType()
276 if (!segments_.empty() && segments_.back().IsPadding()) in AddSegmentsForType()
277 segments_.back().SetPackable(false); in AddSegmentsForType()
360 if (type->IsMatrix() && segments_.back().IsPadding()) in AddSegmentsForType()
361 segments_.back().SetPackable(false); in AddSegmentsForType()