Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-fuchsia.cc70 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local
73 if (aligned_base != base) { in Allocate()
74 DCHECK_LT(base, aligned_base); in Allocate()
75 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate()
87 reinterpret_cast<uintptr_t>(aligned_base + aligned_size), in Allocate()
93 return static_cast<void*>(aligned_base); in Allocate()
Dplatform-cygwin.cc116 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local
117 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate()
129 aligned_base = nullptr; in Allocate()
137 aligned_base = RoundUp(base, alignment); in Allocate()
139 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate()
144 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
Dplatform-posix.cc316 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local
317 if (aligned_base != base) { in Allocate()
318 DCHECK_LT(base, aligned_base); in Allocate()
319 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate()
327 CHECK(Free(aligned_base + size, suffix_size)); in Allocate()
332 return static_cast<void*>(aligned_base); in Allocate()
Dplatform-win32.cc825 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local
826 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate()
838 aligned_base = nullptr; in Allocate()
846 aligned_base = RoundUp(base, alignment); in Allocate()
848 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate()
853 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
/external/v8/src/heap/
Dspaces.cc157 Address aligned_base = ::RoundUp(base, MemoryChunk::kAlignment); in CodeRange() local
158 size_t size = reservation.size() - (aligned_base - base) - reserved_area; in CodeRange()
159 allocation_list_.emplace_back(aligned_base, size); in CodeRange()