Searched refs:segmentIndex (Results 1 – 4 of 4) sorted by relevance
58 Span(int y, size_t segmentIndex) in Span()59 : y(y), segmentIndex(segmentIndex) in Span()64 size_t segmentIndex; member
90 SegmentIterator lastSpanBegin = m_segments.data() + m_spans.last().segmentIndex; in canCoalesce()141 if (it->segmentIndex == m_segments.size()) in segments_begin()144 return &m_segments[it->segmentIndex]; in segments_begin()153 if (it->segmentIndex == m_segments.size()) in segments_end()157 size_t segmentIndex = (it + 1)->segmentIndex; in segments_end() local159 ASSERT(segmentIndex <= m_segments.size()); in segments_end()160 return m_segments.data() + segmentIndex; in segments_end()
238 void ensureSegment(size_t segmentIndex, size_t size) in ensureSegment() argument240 ASSERT(segmentIndex <= m_segments.size()); in ensureSegment()241 if (segmentIndex == m_segments.size()) in ensureSegment()243 m_segments[segmentIndex]->grow(size); in ensureSegment()
40 static inline unsigned segmentIndex(unsigned position) in segmentIndex() function240 unsigned segment = segmentIndex(position); in getSomeData()