Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-solaris.cc101 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()
Dplatform-freebsd.cc148 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()
Dplatform-macos.cc141 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()
Dplatform-aix.cc147 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()
Dplatform-openbsd.cc179 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()
Dplatform-qnx.cc205 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()
Dplatform-linux.cc263 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/
Dspaces.cc135 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()