OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rounded_bytes
(Results
1 - 3
of
3
) sorted by null
/art/compiler/utils/
scoped_arena_allocator.h
70
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
);
scoped_arena_allocator.cc
56
uint8_t* ArenaStack::AllocateFromNextArena(size_t
rounded_bytes
) {
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);
arena_allocator.cc
229
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);
Completed in 514 milliseconds