Home
last modified time | relevance | path

Searched refs:AllocateAlignment (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/base/platform/
Dplatform-openbsd.cc58 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
167 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
169 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
189 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-qnx.cc109 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
193 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
195 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
215 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-solaris.cc89 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
91 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
111 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-linux.cc135 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
251 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
253 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
273 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-macos.cc129 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
131 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
151 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-freebsd.cc136 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
138 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
158 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-aix.cc138 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
140 RoundUp(size + alignment, static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
157 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-cygwin.cc160 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
162 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
Dplatform-win32.cc705 size_t OS::AllocateAlignment() { in AllocateAlignment() function in v8::base::OS
794 DCHECK((reinterpret_cast<uintptr_t>(mbase) % OS::AllocateAlignment()) == 0); in Allocate()
1208 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
1210 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
Dplatform.h191 static size_t AllocateAlignment();
Dplatform-posix.cc217 size_t OS::AllocateAlignment() { in AllocateAlignment() function in v8::base::OS
/external/v8/src/heap/
Dspaces.cc1868 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in AllocateChunk()
1898 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in AllocateChunk()