Lines Matching refs:Mapping
801 Mapping = ::mmap(nullptr, Size, prot, flags, FD, Offset);
802 if (Mapping == MAP_FAILED)
809 : Size(length), Mapping(), Mode(mode) {
813 Mapping = nullptr;
817 if (Mapping)
818 ::munmap(Mapping, Size);
822 assert(Mapping && "Mapping failed but used anyway!");
827 assert(Mapping && "Mapping failed but used anyway!");
828 return reinterpret_cast<char*>(Mapping);
832 assert(Mapping && "Mapping failed but used anyway!");
833 return reinterpret_cast<const char*>(Mapping);