Searched refs:aligned_base (Results 1 – 8 of 8) sorted by relevance
/external/v8/src/base/platform/ |
D | platform-solaris.cc | 102 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 103 DCHECK_LE(base, aligned_base); in VirtualMemory() 106 if (aligned_base != base) { in VirtualMemory() 107 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 117 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 123 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-macos.cc | 143 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 144 DCHECK_LE(base, aligned_base); in VirtualMemory() 147 if (aligned_base != base) { in VirtualMemory() 148 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 158 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 164 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-aix.cc | 149 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 150 DCHECK_LE(base, aligned_base); in VirtualMemory() 153 if (aligned_base != base) { in VirtualMemory() 154 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 164 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 170 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-freebsd.cc | 150 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 151 DCHECK_LE(base, aligned_base); in VirtualMemory() 154 if (aligned_base != base) { in VirtualMemory() 155 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 165 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 171 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-qnx.cc | 207 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 208 DCHECK_LE(base, aligned_base); in VirtualMemory() 211 if (aligned_base != base) { in VirtualMemory() 212 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 222 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 228 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-openbsd.cc | 181 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 182 DCHECK_LE(base, aligned_base); in VirtualMemory() 185 if (aligned_base != base) { in VirtualMemory() 186 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 196 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 202 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
D | platform-linux.cc | 241 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local 242 DCHECK_LE(base, aligned_base); in VirtualMemory() 245 if (aligned_base != base) { in VirtualMemory() 246 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() 256 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory() 262 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
|
/external/v8/src/heap/ |
D | spaces.cc | 140 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment); in SetUp() local 141 size_t size = code_range_->size() - (aligned_base - base) - reserved_area; in SetUp() 142 allocation_list_.Add(FreeBlock(aligned_base, size)); in SetUp()
|