Home
last modified time | relevance | path

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

/dalvik/libdex/
DSysUtil.cpp64 int sysCreatePrivateMap(size_t length, MemMapping* pMap) in sysCreatePrivateMap() argument
72 pMap->addr = pMap->baseAddr = memPtr; in sysCreatePrivateMap()
73 pMap->length = pMap->baseLength = length; in sysCreatePrivateMap()
110 int sysFakeMapFile(int fd, MemMapping* pMap) in sysFakeMapFile() argument
120 assert(pMap != NULL); in sysFakeMapFile()
132 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile()
133 pMap->baseLength = pMap->length = length; in sysFakeMapFile()
150 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) in sysMapFileInShmemWritableReadOnly() argument
157 assert(pMap != NULL); in sysMapFileInShmemWritableReadOnly()
177 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmemWritableReadOnly()
[all …]
DCmdUtils.cpp111 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()
DSysUtil.h63 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap);
71 MemMapping* pMap);
78 int sysCreatePrivateMap(size_t length, MemMapping* pMap);
94 void sysReleaseShmem(MemMapping* pMap);
DCmdUtils.h64 MemMapping* pMap, bool quiet);
DDexSwapVerify.cpp395 static bool swapMap(CheckState* state, DexMapList* pMap) in swapMap() argument
397 DexMapItem* item = pMap->list; in swapMap()
405 SWAP_FIELD4(pMap->size); in swapMap()
406 count = pMap->size; in swapMap()
539 const DexMapList* pMap = (const DexMapList*) filePointer(state, sectionOffset); in checkMapSection() local
542 sectionOffset + sizeof(u4) + (pMap->size * sizeof(DexMapItem)); in checkMapSection()
2526 DexMapList* pMap) { in swapEverythingButHeaderAndMap() argument
2527 const DexMapItem* item = pMap->list; in swapEverythingButHeaderAndMap()
2529 u4 count = pMap->size; in swapEverythingButHeaderAndMap()
2699 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap) in crossVerifyEverything() argument
[all …]