HomeSort by relevance Sort by last modified time
    Searched full:rounded_bytes (Results 1 - 3 of 3) sorted by null

  /art/runtime/base/
scoped_arena_allocator.cc 55 uint8_t* ArenaStack::AllocateFromNextArena(size_t rounded_bytes) {
57 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes);
97 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); local
99 if (UNLIKELY(static_cast<size_t>(top_end_ - ptr) < rounded_bytes)) {
100 ptr = AllocateFromNextArena(rounded_bytes);
105 top_ptr_ = ptr + rounded_bytes;
scoped_arena_allocator.h 93 size_t rounded_bytes = RoundUp(bytes + (kIsDebugBuild ? kArenaAlignment : 0u), kArenaAlignment); variable
95 if (UNLIKELY(static_cast<size_t>(top_end_ - ptr) < rounded_bytes)) {
96 ptr = AllocateFromNextArena(rounded_bytes);
99 top_ptr_ = ptr + rounded_bytes;
107 uint8_t* AllocateFromNextArena(size_t rounded_bytes);
arena_allocator.cc 322 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); local
323 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind);
325 if (UNLIKELY(rounded_bytes > static_cast<size_t>(end_ - ptr_))) {
326 ret = AllocFromNewArena(rounded_bytes);
330 DCHECK(ptr_ - rounded_bytes == ret);
336 DCHECK_EQ(rounded_bytes, arena_head_->next_->GetBytesAllocated());
342 ptr_ += rounded_bytes;

Completed in 226 milliseconds