Lines Matching refs:map_
24 MemoryMapping() : map_(NULL), size_(0) {}
28 void* Get() { return map_; }
43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0);
44 if (map_ == MAP_FAILED) {
45 map_ = NULL;
55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
62 if (map_) {
63 ::munmap(map_, size_);
64 map_ = NULL;
69 void* map_;
78 void* ret = map_;
79 map_ = NULL;