Searched refs:aligned_base (Results 1 – 4 of 4) sorted by relevance
| /third_party/node/deps/v8/src/base/platform/ |
| 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 | 170 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in Allocate() local 172 if (aligned_base != base) { in Allocate() 173 DCHECK_LT(base, aligned_base); in Allocate() 174 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 182 Free(aligned_base + size, suffix_size); in Allocate() 187 return static_cast<void*>(aligned_base); in Allocate()
|
| D | platform-posix.cc | 407 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in Allocate() local 409 if (aligned_base != base) { in Allocate() 410 DCHECK_LT(base, aligned_base); in Allocate() 411 size_t prefix_size = static_cast<size_t>(aligned_base - base); in Allocate() 419 Free(aligned_base + size, suffix_size); in Allocate() 424 return static_cast<void*>(aligned_base); in Allocate()
|
| D | platform-win32.cc | 896 uint8_t* aligned_base = reinterpret_cast<uint8_t*>( in AllocateInternal() local 898 if (base == aligned_base) return reinterpret_cast<void*>(base); in AllocateInternal() 910 aligned_base = nullptr; in AllocateInternal() 918 aligned_base = reinterpret_cast<uint8_t*>( in AllocateInternal() 921 VirtualAllocWrapper(aligned_base, size, flags, protect)); in AllocateInternal() 926 DCHECK_IMPLIES(base, base == aligned_base); in AllocateInternal()
|