Lines Matching defs:address
9 #include "src/base/address-region.h"
145 // Generate a random address to be used for hinting allocation calls.
149 // |address| is a hint. |size| and |alignment| must be multiples of
150 // AllocatePageSize(). Returns the address of the allocated memory, with the
154 void* address, size_t size,
158 // Frees memory allocated by a call to AllocatePages. |address| and |size| must
161 void FreePages(v8::PageAllocator* page_allocator, void* address,
164 // Releases memory that is no longer needed. The range specified by |address|
169 void ReleasePages(v8::PageAllocator* page_allocator, void* address, size_t size,
172 // Sets permissions according to |access|. |address| and |size| must be
178 void* address, size_t size,
180 inline bool SetPermissions(v8::PageAllocator* page_allocator, Address address,
182 return SetPermissions(page_allocator, reinterpret_cast<void*>(address), size,
205 // This may not be at the position returned by address().
210 // Construct a virtual memory by assigning it some already mapped address
212 VirtualMemory(v8::PageAllocator* page_allocator, Address address, size_t size)
213 : page_allocator_(page_allocator), region_(address, size) {
215 DCHECK(IsAligned(address, page_allocator->AllocatePageSize()));
245 // Returns the start address of the reserved memory.
246 // If the memory was reserved with an alignment, this address is not
249 Address address() const {
265 // Sets permissions according to the access argument. address and size must be
267 V8_EXPORT_PRIVATE bool SetPermissions(Address address, size_t size,
280 bool InVM(Address address, size_t size) const {
281 return region_.contains(address, size);
312 // - cage base is the base address of the cage.
322 // address space.
382 // constraints in params, but this may fail. The base address may be different