Home
last modified time | relevance | path

Searched refs:aligned_base (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/base/platform/
Dplatform-solaris.cc169 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
170 DCHECK_LE(base, aligned_base); in VirtualMemory()
173 if (aligned_base != base) { in VirtualMemory()
174 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
184 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
190 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
Dplatform-macos.cc199 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
200 DCHECK_LE(base, aligned_base); in VirtualMemory()
203 if (aligned_base != base) { in VirtualMemory()
204 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
214 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
220 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
Dplatform-freebsd.cc197 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
198 DCHECK_LE(base, aligned_base); in VirtualMemory()
201 if (aligned_base != base) { in VirtualMemory()
202 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
212 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
218 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
Dplatform-openbsd.cc228 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
229 DCHECK_LE(base, aligned_base); in VirtualMemory()
232 if (aligned_base != base) { in VirtualMemory()
233 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
243 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
249 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
Dplatform-qnx.cc264 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
265 DCHECK_LE(base, aligned_base); in VirtualMemory()
268 if (aligned_base != base) { in VirtualMemory()
269 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
279 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
285 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
Dplatform-linux.cc321 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory() local
322 DCHECK_LE(base, aligned_base); in VirtualMemory()
325 if (aligned_base != base) { in VirtualMemory()
326 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory()
336 OS::Free(aligned_base + aligned_size, suffix_size); in VirtualMemory()
342 address_ = static_cast<void*>(aligned_base); in VirtualMemory()
/external/v8/src/heap/
Dspaces.cc126 Address aligned_base = in SetUp() local
129 size_t size = code_range_->size() - (aligned_base - base); in SetUp()
130 allocation_list_.Add(FreeBlock(aligned_base, size)); in SetUp()