Lines Matching defs:keep
112 // Find a segment with a suitable size to keep around.
113 Segment* keep = NULL;
115 // and freeing every segment except the one we wish to keep.
118 if (keep == NULL && current->size() <= kMaximumKeptSegmentSize) {
119 // Unlink the segment we wish to keep from the list.
120 keep = current;
121 keep->clear_next();
135 // If we have found a segment we want to keep, we must recompute the
139 if (keep != NULL) {
140 Address start = keep->start();
142 limit_ = keep->end();
144 ASAN_UNPOISON_MEMORY_REGION(start, keep->capacity());
147 memset(start, kZapDeadByte, keep->capacity());
154 segment_head_ = keep;