Searched refs:aligned_base (Results 1 – 8 of 8) sorted by relevance
/external/v8/src/base/platform/ |
D | platform-solaris.cc | 101 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 102 DCHECK_LE(base, aligned_base); in VirtualMemory() 105 if (aligned_base != base) { in VirtualMemory() 106 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 116 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 122 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-freebsd.cc | 148 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 149 DCHECK_LE(base, aligned_base); in VirtualMemory() 152 if (aligned_base != base) { in VirtualMemory() 153 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 163 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 169 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-macos.cc | 141 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 142 DCHECK_LE(base, aligned_base); in VirtualMemory() 145 if (aligned_base != base) { in VirtualMemory() 146 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 156 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 162 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-aix.cc | 147 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 148 DCHECK_LE(base, aligned_base); in VirtualMemory() 151 if (aligned_base != base) { in VirtualMemory() 152 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 162 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 168 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-openbsd.cc | 179 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 180 DCHECK_LE(base, aligned_base); in VirtualMemory() 183 if (aligned_base != base) { in VirtualMemory() 184 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 194 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 200 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-qnx.cc | 205 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 206 DCHECK_LE(base, aligned_base); in VirtualMemory() 209 if (aligned_base != base) { in VirtualMemory() 210 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 220 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 226 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-linux.cc | 263 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 264 DCHECK_LE(base, aligned_base); in VirtualMemory() 267 if (aligned_base != base) { in VirtualMemory() 268 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 278 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 284 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
/external/v8/src/heap/ |
D | spaces.cc | 135 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment); in SetUp() local 136 size_t size = code_range_->size() - (aligned_base - base) - in SetUp() 138 allocation_list_.Add(FreeBlock(aligned_base, size)); in SetUp()
|