Searched refs:rounded_bytes (Results 1 - 3 of 3) sorted by last modified time

/art/compiler/utils/
H A Darena_allocator.cc229 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8); local
230 if (UNLIKELY(ptr_ + rounded_bytes > end_)) {
232 ObtainNewArenaForAllocation(rounded_bytes);
237 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind);
239 ptr_ += rounded_bytes;
244 VALGRIND_MAKE_MEM_NOACCESS(ret + bytes, rounded_bytes - bytes);
H A Dscoped_arena_allocator.cc56 uint8_t* ArenaStack::AllocateFromNextArena(size_t rounded_bytes) { argument
58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes);
95 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8); local
97 if (UNLIKELY(static_cast<size_t>(top_end_ - ptr) < rounded_bytes)) {
98 ptr = AllocateFromNextArena(rounded_bytes);
101 top_ptr_ = ptr + rounded_bytes;
103 VALGRIND_MAKE_MEM_NOACCESS(ptr + bytes, rounded_bytes - bytes);
H A Dscoped_arena_allocator.h70 size_t rounded_bytes = RoundUp(bytes, 8); variable
72 if (UNLIKELY(static_cast<size_t>(top_end_ - ptr) < rounded_bytes)) {
73 ptr = AllocateFromNextArena(rounded_bytes);
76 top_ptr_ = ptr + rounded_bytes;
80 uint8_t* AllocateFromNextArena(size_t rounded_bytes);

Completed in 74 milliseconds