Lines Matching refs:Segment
61 class Segment { class
63 Segment* next() const { return next_; } in next()
67 int capacity() const { return size_ - sizeof(Segment); } in capacity()
69 Address start() const { return address(sizeof(Segment)); } in start()
78 Segment* next_;
87 Segment* Zone::NewSegment(int size) { in NewSegment()
88 Segment* result = reinterpret_cast<Segment*>(Malloced::New(size)); in NewSegment()
100 void Zone::DeleteSegment(Segment* segment, int size) { in DeleteSegment()
113 Segment* keep = segment_head_; in DeleteAll()
120 Segment* current = segment_head_; in DeleteAll()
122 Segment* next = current->next(); in DeleteAll()
168 Segment* head = segment_head_; in NewExpand()
170 static const int kSegmentOverhead = sizeof(Segment) + kAlignment; in NewExpand()
181 Segment* segment = NewSegment(new_size); in NewExpand()