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.cc102 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()
Dplatform-macos.cc143 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()
Dplatform-aix.cc149 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()
Dplatform-freebsd.cc150 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()
Dplatform-qnx.cc207 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()
Dplatform-openbsd.cc181 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()
Dplatform-linux.cc241 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/
Dspaces.cc140 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()