Searched refs:current_top (Results 1 – 3 of 3) sorted by relevance
268 Address current_top = allocation_info_.top(); in AllocateRawAligned() local269 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateRawAligned()271 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()276 return heap_->PrecedeWithFiller(HeapObject::FromAddress(current_top), in AllocateRawAligned()280 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()291 Address current_top = allocation_info_.top(); in AllocateLinearly() local292 Address new_top = current_top + size_in_bytes; in AllocateLinearly()295 return HeapObject::FromAddress(current_top); in AllocateLinearly()300 Address current_top = allocation_info_.top(); in TryAllocateLinearlyAligned() local301 int filler_size = Heap::GetFillToAlign(current_top, alignment); in TryAllocateLinearlyAligned()[all …]
1817 Address current_top = top(); in AllocateChunk() local1819 if (current_top != kNullAddress && current_top != current_limit) { in AllocateChunk()1820 Page::FromAllocationAreaAddress(current_top) in AllocateChunk()1821 ->CreateBlackArea(current_top, current_limit); in AllocateChunk()1826 Address current_top = top(); in AllocateChunk() local1828 if (current_top != kNullAddress && current_top != current_limit) { in AllocateChunk()1829 Page::FromAllocationAreaAddress(current_top) in AllocateChunk()1830 ->DestroyBlackArea(current_top, current_limit); in AllocateChunk()1837 Address current_top = top(); in AllocateChunk() local1839 if (current_top == kNullAddress) { in AllocateChunk()[all …]
46 size_t current_top = 0; in Allocate() local50 current_top = last->offset + last->size; in Allocate()54 size_t best_offset = AlignTo(alignment, current_top); in Allocate()