HomeSort by relevance Sort by last modified time
    Searched refs: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_allocator::kArenaDefaultSize, 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 94 size_t rounded_bytes = RoundUp(bytes + (kIsDebugBuild ? kAlignment : 0u), kAlignment); variable
96 if (UNLIKELY(static_cast<size_t>(top_end_ - ptr) < rounded_bytes)) {
97 ptr = AllocateFromNextArena(rounded_bytes);
100 top_ptr_ = ptr + rounded_bytes;
108 uint8_t* AllocateFromNextArena(size_t rounded_bytes);
arena_allocator.cc 408 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); local
409 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind);
411 if (UNLIKELY(rounded_bytes > static_cast<size_t>(end_ - ptr_))) {
412 ret = AllocFromNewArenaWithMemoryTool(rounded_bytes);
415 ptr_ += rounded_bytes;
427 size_t rounded_bytes = bytes + kMemoryToolRedZoneBytes; local
428 DCHECK_ALIGNED(rounded_bytes, 8); // `bytes` is 16-byte aligned, red zone is 8-byte aligned.
431 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind);
433 if (UNLIKELY(padding + rounded_bytes > static_cast<size_t>(end_ - ptr_))) {
435 ret = AllocFromNewArenaWithMemoryTool(rounded_bytes);
    [all...]

Completed in 51 milliseconds