Home | History | Annotate | Download | only in src

Lines Matching refs:address

119 static void UpdateAllocatedSpaceLimits(void* address, int size) {
120 lowest_ever_allocated = Min(lowest_ever_allocated, address);
123 reinterpret_cast<void*>(reinterpret_cast<char*>(address) + size));
127 bool OS::IsOutsideAllocatedSpace(void* address) {
128 return address < lowest_ever_allocated || address >= highest_ever_allocated;
154 void OS::Free(void* address, const size_t size) {
156 int result = munmap(address, size);
164 void OS::Protect(void* address, size_t size) {
166 mprotect(address, size, PROT_READ);
170 void OS::Unprotect(void* address, size_t size, bool is_executable) {
173 mprotect(address, size, prot);
248 frames[i].address = addresses[i];
280 if (0 == munmap(address(), size())) address_ = MAP_FAILED;
290 bool VirtualMemory::Commit(void* address, size_t size, bool executable) {
292 if (MAP_FAILED == mmap(address, size, prot,
298 UpdateAllocatedSpaceLimits(address, size);
303 bool VirtualMemory::Uncommit(void* address, size_t size) {
304 return mmap(address, size, PROT_NONE,