Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-openbsd.cc60 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
169 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
171 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
191 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-qnx.cc111 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
195 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
197 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
217 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-solaris.cc90 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
92 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
112 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-linux.cc114 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
217 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
219 RoundUp(size + alignment, static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
236 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-macos.cc131 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
133 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
153 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-freebsd.cc138 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
140 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
160 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-aix.cc140 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
142 RoundUp(size + alignment, static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
159 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-cygwin.cc162 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
164 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()
1215 DCHECK((alignment % OS::AllocateAlignment()) == 0); in VirtualMemory()
1217 static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
Dplatform.h203 static size_t AllocateAlignment();
Dplatform-posix.cc241 size_t OS::AllocateAlignment() { in AllocateAlignment() function in v8::base::OS
/external/v8/src/heap/
Dspaces.cc122 static_cast<size_t>(base::OS::AllocateAlignment()))); in SetUp()
1980 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in AllocateChunk()
2022 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in AllocateChunk()