Home
last modified time | relevance | path

Searched refs:mbase (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/
Dplatform-openbsd.cc154 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
156 if (mbase == MAP_FAILED) { in Allocate()
161 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
162 return mbase; in Allocate()
Dplatform-cygwin.cc150 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
151 if (mbase == MAP_FAILED) { in Allocate()
156 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
157 return mbase; in Allocate()
Dplatform-solaris.cc170 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
172 if (mbase == MAP_FAILED) { in Allocate()
177 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
178 return mbase; in Allocate()
Dplatform-freebsd.cc163 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
165 if (mbase == MAP_FAILED) { in Allocate()
170 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
171 return mbase; in Allocate()
Dplatform-macos.cc151 void* mbase = mmap(NULL, msize, prot, in Allocate() local
154 if (mbase == MAP_FAILED) { in Allocate()
159 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
160 return mbase; in Allocate()
Dplatform-win32.cc889 LPVOID mbase = VirtualAlloc(reinterpret_cast<void *>(address), in Allocate() local
893 if (mbase == NULL && address != 0) in Allocate()
894 mbase = VirtualAlloc(NULL, msize, MEM_COMMIT | MEM_RESERVE, prot); in Allocate()
896 if (mbase == NULL) { in Allocate()
901 ASSERT(IsAligned(reinterpret_cast<size_t>(mbase), OS::AllocateAlignment())); in Allocate()
904 UpdateAllocatedSpaceLimits(mbase, static_cast<int>(msize)); in Allocate()
905 return mbase; in Allocate()
Dplatform-linux.cc316 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
317 if (mbase == MAP_FAILED) { in Allocate()
323 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
324 return mbase; in Allocate()