Home
last modified time | relevance | path

Searched refs:current_top (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/heap/
Dpaged-spaces-inl.h101 Address current_top = allocation_info_.top(); in AllocateFastUnaligned() local
102 Address new_top = current_top + size_in_bytes; in AllocateFastUnaligned()
108 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateFastUnaligned()
114 Address current_top = allocation_info_.top(); in AllocateFastAligned() local
115 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateFastAligned()
117 Address new_top = current_top + filler_size + size_in_bytes; in AllocateFastAligned()
126 HeapObject::FromAddress(current_top), filler_size); in AllocateFastAligned()
129 return AllocationResult(HeapObject::FromAddress(current_top + filler_size)); in AllocateFastAligned()
Dpaged-spaces.cc371 Address current_top = top(); in MarkLinearAllocationAreaBlack() local
373 if (current_top != kNullAddress && current_top != current_limit) { in MarkLinearAllocationAreaBlack()
374 Page::FromAllocationAreaAddress(current_top) in MarkLinearAllocationAreaBlack()
375 ->CreateBlackArea(current_top, current_limit); in MarkLinearAllocationAreaBlack()
380 Address current_top = top(); in UnmarkLinearAllocationArea() local
382 if (current_top != kNullAddress && current_top != current_limit) { in UnmarkLinearAllocationArea()
383 Page::FromAllocationAreaAddress(current_top) in UnmarkLinearAllocationArea()
384 ->DestroyBlackArea(current_top, current_limit); in UnmarkLinearAllocationArea()
389 Address current_top = top(); in MakeLinearAllocationAreaIterable() local
391 if (current_top != kNullAddress && current_top != current_limit) { in MakeLinearAllocationAreaIterable()
[all …]
Dspaces-inl.h140 Address current_top = allocation_info_.top(); in AllocateRawAligned() local
141 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateRawAligned()
143 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()
149 HeapObject::FromAddress(current_top), in AllocateRawAligned()
153 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()
Dread-only-spaces.cc614 Address current_top = top_; in TryAllocateLinearlyAligned() local
615 int filler_size = Heap::GetFillToAlign(current_top, alignment); in TryAllocateLinearlyAligned()
617 Address new_top = current_top + filler_size + size_in_bytes; in TryAllocateLinearlyAligned()
629 HeapObject::FromAddress(current_top), in TryAllocateLinearlyAligned()
633 return HeapObject::FromAddress(current_top); in TryAllocateLinearlyAligned()
659 Address current_top = top_; in AllocateRawUnaligned() local
660 Address new_top = current_top + size_in_bytes; in AllocateRawUnaligned()
663 HeapObject object = HeapObject::FromAddress(current_top); in AllocateRawUnaligned()
/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena.cc48 size_t current_top = 0; in Allocate() local
52 current_top = last->offset + last->size; in Allocate()
56 size_t best_offset = AlignTo(alignment, current_top); in Allocate()