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()
133 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile()
134 pMap->baseLength = pMap->length = length; in sysFakeMapFile()
151 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) in sysMapFileInShmemWritableReadOnly() argument
158 assert(pMap != NULL); in sysMapFileInShmemWritableReadOnly()
178 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.cpp373 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()
2609 DexMapList* pMap) { in swapEverythingButHeaderAndMap() argument
2610 const DexMapItem* item = pMap->list; in swapEverythingButHeaderAndMap()
2612 u4 count = pMap->size; in swapEverythingButHeaderAndMap()
2794 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap) in crossVerifyEverything() argument
[all …]