Searched refs:mapFile_ (Results 1 – 1 of 1) sorted by relevance
419 MyAllocator(int fd, size_t size, uint8_t* mapFile) : fd_(fd), size_(size), mapFile_(mapFile) {} in MyAllocator()423 Dealloc(mapFile_); in ~MyAllocator()428 if (mapFile != mapFile_) { in Dealloc()431 if (mapFile_ != nullptr) { in Dealloc()432 if (::munmap(mapFile_, size_) == -1) { in Dealloc()435 mapFile_ = nullptr; in Dealloc()445 uint8_t *mapFile_; member in OHOS::Rosen::MyAllocator