Searched refs:aligned_base (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/base/platform/ |
D | platform-fuchsia.cc | 70 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local 73 if (aligned_base != base) { in Allocate() 74 DCHECK_LT(base, aligned_base); in Allocate() 75 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 87 reinterpret_cast<uintptr_t>(aligned_base + aligned_size), in Allocate() 93 return static_cast<void*>(aligned_base); in Allocate()
|
D | platform-cygwin.cc | 116 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local 117 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate() 129 aligned_base = nullptr; in Allocate() 137 aligned_base = RoundUp(base, alignment); in Allocate() 139 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate() 144 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
|
D | platform-posix.cc | 316 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local 317 if (aligned_base != base) { in Allocate() 318 DCHECK_LT(base, aligned_base); in Allocate() 319 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 327 CHECK(Free(aligned_base + size, suffix_size)); in Allocate() 332 return static_cast<void*>(aligned_base); in Allocate()
|
D | platform-win32.cc | 825 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local 826 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate() 838 aligned_base = nullptr; in Allocate() 846 aligned_base = RoundUp(base, alignment); in Allocate() 848 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate() 853 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
|
/external/v8/src/heap/ |
D | spaces.cc | 157 Address aligned_base = ::RoundUp(base, MemoryChunk::kAlignment); in CodeRange() local 158 size_t size = reservation.size() - (aligned_base - base) - reserved_area; in CodeRange() 159 allocation_list_.emplace_back(aligned_base, size); in CodeRange()
|