Searched refs:pMap (Results 1 – 5 of 5) sorted by relevance
/dalvik/libdex/ |
D | SysUtil.cpp | 76 int sysCreatePrivateMap(size_t length, MemMapping* pMap) in sysCreatePrivateMap() argument 84 pMap->addr = pMap->baseAddr = memPtr; in sysCreatePrivateMap() 85 pMap->length = pMap->baseLength = length; in sysCreatePrivateMap() 122 int sysFakeMapFile(int fd, MemMapping* pMap) in sysFakeMapFile() argument 132 assert(pMap != NULL); in sysFakeMapFile() 145 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile() 146 pMap->baseLength = pMap->length = length; in sysFakeMapFile() 163 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) in sysMapFileInShmemWritableReadOnly() argument 170 assert(pMap != NULL); in sysMapFileInShmemWritableReadOnly() 190 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmemWritableReadOnly() [all …]
|
D | CmdUtils.cpp | 111 MemMapping* pMap, bool quiet) in dexOpenAndMap() argument 185 if (sysMapFileInShmemWritableReadOnly(fd, pMap) != 0) { in dexOpenAndMap() 197 sysChangeMapAccess(pMap->addr, pMap->length, true, pMap); in dexOpenAndMap() 199 if (dexSwapAndVerifyIfNecessary((u1*) pMap->addr, pMap->length)) { in dexOpenAndMap() 210 sysChangeMapAccess(pMap->addr, pMap->length, false, pMap); in dexOpenAndMap()
|
D | SysUtil.h | 63 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap); 71 MemMapping* pMap); 78 int sysCreatePrivateMap(size_t length, MemMapping* pMap); 94 void sysReleaseShmem(MemMapping* pMap);
|
D | CmdUtils.h | 64 MemMapping* pMap, bool quiet);
|
D | DexSwapVerify.cpp | 373 static bool swapMap(CheckState* state, DexMapList* pMap) in swapMap() argument 375 DexMapItem* item = pMap->list; in swapMap() 383 SWAP_FIELD4(pMap->size); in swapMap() 384 count = pMap->size; in swapMap() 523 const DexMapList* pMap = (const DexMapList*) filePointer(state, sectionOffset); in checkMapSection() local 526 sectionOffset + sizeof(u4) + (pMap->size * sizeof(DexMapItem)); in checkMapSection() 2604 DexMapList* pMap) { in swapEverythingButHeaderAndMap() argument 2605 const DexMapItem* item = pMap->list; in swapEverythingButHeaderAndMap() 2607 u4 count = pMap->size; in swapEverythingButHeaderAndMap() 2789 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap) in crossVerifyEverything() argument [all …]
|