Home
last modified time | relevance | path

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

/external/v8/src/
Dplatform-cygwin.cc157 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
158 if (mbase == MAP_FAILED) { in Allocate()
163 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
164 return mbase; in Allocate()
Dplatform-macos.cc155 void* mbase = mmap(OS::GetRandomMmapAddr(), in Allocate() local
161 if (mbase == MAP_FAILED) { in Allocate()
166 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
167 return mbase; in Allocate()
Dplatform-freebsd.cc172 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
174 if (mbase == MAP_FAILED) { in Allocate()
179 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
180 return mbase; in Allocate()
Dplatform-solaris.cc184 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
186 if (mbase == MAP_FAILED) { in Allocate()
191 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
192 return mbase; in Allocate()
Dplatform-openbsd.cc191 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
192 if (mbase == MAP_FAILED) { in Allocate()
198 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
199 return mbase; in Allocate()
Dplatform-linux.cc371 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
372 if (mbase == MAP_FAILED) { in Allocate()
378 UpdateAllocatedSpaceLimits(mbase, msize); in Allocate()
379 return mbase; in Allocate()
Dplatform-win32.cc931 LPVOID mbase = RandomizedVirtualAlloc(msize, in Allocate() local
935 if (mbase == NULL) { in Allocate()
940 ASSERT(IsAligned(reinterpret_cast<size_t>(mbase), OS::AllocateAlignment())); in Allocate()
943 UpdateAllocatedSpaceLimits(mbase, static_cast<int>(msize)); in Allocate()
944 return mbase; in Allocate()