Home
last modified time | relevance | path

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

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