Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-solaris.cc78 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
80 if (mbase == MAP_FAILED) return NULL; in Allocate()
82 return mbase; in Allocate()
Dplatform-macos.cc59 void* mbase = mmap(OS::GetRandomMmapAddr(), in Allocate() local
65 if (mbase == MAP_FAILED) return NULL; in Allocate()
67 return mbase; in Allocate()
Dplatform-cygwin.cc55 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
56 if (mbase == MAP_FAILED) return NULL; in Allocate()
58 return mbase; in Allocate()
Dplatform-freebsd.cc63 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
65 if (mbase == MAP_FAILED) return NULL; in Allocate()
67 return mbase; in Allocate()
Dplatform-openbsd.cc62 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() local
63 if (mbase == MAP_FAILED) return NULL; in Allocate()
65 return mbase; in Allocate()
Dplatform-qnx.cc113 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
114 if (mbase == MAP_FAILED) return NULL; in Allocate()
116 return mbase; in Allocate()
Dplatform-linux.cc138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() local
139 if (mbase == MAP_FAILED) return NULL; in Allocate()
141 return mbase; in Allocate()
Dplatform-win32.cc783 LPVOID mbase = RandomizedVirtualAlloc(msize, in Allocate() local
787 if (mbase == NULL) return NULL; in Allocate()
789 DCHECK((reinterpret_cast<uintptr_t>(mbase) % OS::AllocateAlignment()) == 0); in Allocate()
792 return mbase; in Allocate()