Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Dsysutil.cpp112 void* memPtr = mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFD() local
113 if (memPtr == MAP_FAILED) { in MapFD()
118 addr = static_cast<unsigned char*>(memPtr); in MapFD()
121 ranges_.emplace_back(MappedRange{ memPtr, static_cast<size_t>(sb.st_size) }); in MapFD()