Searched refs:aligned_base (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/base/platform/ |
D | platform-fuchsia.cc | 80 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in Allocate() local 84 if (aligned_base != base) { in Allocate() 85 DCHECK_LT(base, aligned_base); in Allocate() 86 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 98 reinterpret_cast<uintptr_t>(aligned_base + aligned_size), in Allocate() 104 return static_cast<void*>(aligned_base); in Allocate()
|
D | platform-cygwin.cc | 117 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() local 118 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate() 130 aligned_base = nullptr; in Allocate() 138 aligned_base = RoundUp(base, alignment); in Allocate() 140 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate() 145 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
|
D | platform-starboard.cc | 198 uint8_t* aligned_base = RoundUpOld(base, alignment); in Allocate() local 199 if (aligned_base != base) { in Allocate() 200 DCHECK_LT(base, aligned_base); in Allocate() 201 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 209 CHECK(Free(aligned_base + size, suffix_size)); in Allocate() 214 return static_cast<void*>(aligned_base); in Allocate()
|
D | platform-posix.cc | 371 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in Allocate() local 373 if (aligned_base != base) { in Allocate() 374 DCHECK_LT(base, aligned_base); in Allocate() 375 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 383 CHECK(Free(aligned_base + size, suffix_size)); in Allocate() 388 return static_cast<void*>(aligned_base); in Allocate()
|
D | platform-win32.cc | 819 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in Allocate() local 821 if (base == aligned_base) return reinterpret_cast<void*>(base); in Allocate() 833 aligned_base = nullptr; in Allocate() 841 aligned_base = reinterpret_cast<uint8_t*>( in Allocate() 844 VirtualAlloc(aligned_base, size, flags, protect)); in Allocate() 849 DCHECK_IMPLIES(base, base == aligned_base); in Allocate()
|
/external/v8/src/heap/ |
D | memory-allocator.cc | 116 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment); in InitializeCodePageAllocator() local 118 RoundDown(reservation.size() - (aligned_base - base) - reserved_area, in InitializeCodePageAllocator() 120 DCHECK(IsAligned(aligned_base, kMinExpectedOSPageSize)); in InitializeCodePageAllocator() 128 page_allocator, aligned_base, size, in InitializeCodePageAllocator()
|