Home
last modified time | relevance | path

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

/dalvik/libdex/
DSysUtil.cpp66 void* memPtr; in sysCreatePrivateMap() local
68 memPtr = sysCreateAnonShmem(length); in sysCreatePrivateMap()
69 if (memPtr == NULL) in sysCreatePrivateMap()
72 pMap->addr = pMap->baseAddr = memPtr; in sysCreatePrivateMap()
118 void* memPtr; in sysFakeMapFile() local
125 memPtr = malloc(length); in sysFakeMapFile()
126 if (read(fd, memPtr, length) < 0) { in sysFakeMapFile()
132 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile()
155 void* memPtr; in sysMapFileInShmemWritableReadOnly() local
162 memPtr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_FILE | MAP_PRIVATE, in sysMapFileInShmemWritableReadOnly()
[all …]