Lines Matching refs:Address
121 static void UpdateAllocatedSpaceLimits(void* address, int size) {
125 lowest_ever_allocated = Min(lowest_ever_allocated, address);
128 reinterpret_cast<void*>(reinterpret_cast<char*>(address) + size));
132 bool OS::IsOutsideAllocatedSpace(void* address) {
133 return address < lowest_ever_allocated || address >= highest_ever_allocated;
171 void OS::Free(void* address, const size_t size) {
173 int result = munmap(address, size);
337 frames[i].address = addresses[i];
374 Address base = static_cast<Address>(reservation);
375 Address aligned_base = RoundUp(base, alignment);
403 bool result = ReleaseRegion(address(), size());
435 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) {
436 return CommitRegion(address, size, is_executable);
440 bool VirtualMemory::Guard(void* address) {
441 OS::Guard(address, OS::CommitPageSize());
446 bool VirtualMemory::CommitRegion(void* address,
450 if (MAP_FAILED == mmap(address,
459 UpdateAllocatedSpaceLimits(address, size);
464 bool VirtualMemory::Uncommit(void* address, size_t size) {
465 return UncommitRegion(address, size);
469 bool VirtualMemory::UncommitRegion(void* address, size_t size) {
470 return mmap(address,
479 bool VirtualMemory::ReleaseRegion(void* address, size_t size) {
480 return munmap(address, size) == 0;
852 sample->pc = reinterpret_cast<Address>(state.REGISTER_FIELD(ip));
853 sample->sp = reinterpret_cast<Address>(state.REGISTER_FIELD(sp));
854 sample->fp = reinterpret_cast<Address>(state.REGISTER_FIELD(bp));