Home
last modified time | relevance | path

Searched refs:pMap (Results 1 – 14 of 14) 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()
116 int sysLoadFileInShmem(int fd, MemMapping* pMap) in sysLoadFileInShmem() argument
123 assert(pMap != NULL); in sysLoadFileInShmem()
135 sysReleaseShmem(pMap); in sysLoadFileInShmem()
139 pMap->baseAddr = pMap->addr = memPtr; in sysLoadFileInShmem()
140 pMap->baseLength = pMap->length = length; in sysLoadFileInShmem()
150 int sysFakeMapFile(int fd, MemMapping* pMap) in sysFakeMapFile() argument
160 assert(pMap != NULL); in sysFakeMapFile()
[all …]
DSysUtil.h65 int sysLoadFileInShmem(int fd, MemMapping* pMap);
73 int sysMapFileInShmemReadOnly(int fd, MemMapping* pMap);
82 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap);
88 MemMapping* pMap);
95 int sysCreatePrivateMap(size_t length, MemMapping* pMap);
111 void sysReleaseShmem(MemMapping* pMap);
DCmdUtils.cpp112 MemMapping* pMap, bool quiet) in dexOpenAndMap() argument
186 if (sysMapFileInShmemWritableReadOnly(fd, pMap) != 0) { in dexOpenAndMap()
198 sysChangeMapAccess(pMap->addr, pMap->length, true, pMap); in dexOpenAndMap()
200 if (dexSwapAndVerifyIfNecessary((u1*) pMap->addr, pMap->length)) { in dexOpenAndMap()
211 sysChangeMapAccess(pMap->addr, pMap->length, false, pMap); in dexOpenAndMap()
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()
2514 DexMapList* pMap) { in swapEverythingButHeaderAndMap() argument
2515 const DexMapItem* item = pMap->list; in swapEverythingButHeaderAndMap()
2517 u4 count = pMap->size; in swapEverythingButHeaderAndMap()
2687 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap) in crossVerifyEverything() argument
[all …]
/dalvik/vm/analysis/
DRegisterMap.h69 INLINE RegisterMapFormat dvmRegisterMapGetFormat(const RegisterMap* pMap) { in dvmRegisterMapGetFormat() argument
70 return (RegisterMapFormat)(pMap->format & ~(kRegMapFormatOnHeap)); in dvmRegisterMapGetFormat()
76 INLINE void dvmRegisterMapSetFormat(RegisterMap* pMap, RegisterMapFormat format) in dvmRegisterMapSetFormat() argument
78 pMap->format &= kRegMapFormatOnHeap; in dvmRegisterMapSetFormat()
79 pMap->format |= format; in dvmRegisterMapSetFormat()
85 INLINE bool dvmRegisterMapGetOnHeap(const RegisterMap* pMap) { in dvmRegisterMapGetOnHeap() argument
86 return (pMap->format & kRegMapFormatOnHeap) != 0; in dvmRegisterMapGetOnHeap()
92 INLINE u1 dvmRegisterMapGetRegWidth(const RegisterMap* pMap) { in dvmRegisterMapGetRegWidth() argument
93 return pMap->regWidth; in dvmRegisterMapGetRegWidth()
99 INLINE void dvmRegisterMapSetRegWidth(RegisterMap* pMap, int regWidth) { in dvmRegisterMapSetRegWidth() argument
[all …]
DRegisterMap.cpp43 static bool verifyMap(VerifierData* vdata, const RegisterMap* pMap);
47 static void computeMapStats(RegisterMap* pMap, const Method* method);
49 static RegisterMap* compressMapDifferential(const RegisterMap* pMap,\
51 static RegisterMap* uncompressMapDifferential(const RegisterMap* pMap);
191 RegisterMap* pMap = NULL; in dvmGenerateRegisterMapV() local
248 pMap = (RegisterMap*) malloc(bufSize); in dvmGenerateRegisterMapV()
249 dvmRegisterMapSetFormat(pMap, format); in dvmGenerateRegisterMapV()
250 dvmRegisterMapSetOnHeap(pMap, true); in dvmGenerateRegisterMapV()
251 dvmRegisterMapSetRegWidth(pMap, regWidth); in dvmGenerateRegisterMapV()
252 dvmRegisterMapSetNumEntries(pMap, gcPointCount); in dvmGenerateRegisterMapV()
[all …]
DDexVerify.h64 void dvmFreeRegisterMap(RegisterMap* pMap);
DCodeVerify.cpp3533 RegisterMap* pMap = dvmGenerateRegisterMapV(vdata); in dvmVerifyCodeFlow() local
3534 if (pMap != NULL) { in dvmVerifyCodeFlow()
3540 dvmSetRegisterMap((Method*)meth, pMap); in dvmVerifyCodeFlow()
/dalvik/vm/alloc/
DVisit.cpp96 const RegisterMap* pMap = dvmGetExpandedRegisterMap(method); in visitThreadStack() local
98 if (pMap != NULL) { in visitThreadStack()
101 regVector = dvmRegisterMapGetLine(pMap, addr); in visitThreadStack()
148 dvmReleaseRegisterMapLine(pMap, regVector); in visitThreadStack()
DCopying.cpp1600 const RegisterMap* pMap; in scavengeThreadStack() local
1604 pMap = dvmGetExpandedRegisterMap(nonConstMethod); in scavengeThreadStack()
1608 if (pMap != NULL) { in scavengeThreadStack()
1611 regVector = dvmRegisterMapGetLine(pMap, addr); in scavengeThreadStack()
1691 dvmReleaseRegisterMapLine(pMap, regVector); in scavengeThreadStack()
1809 const RegisterMap* pMap = dvmGetExpandedRegisterMap(method); in pinThreadStack() local
1814 if (pMap != NULL) { in pinThreadStack()
1816 regVector = dvmRegisterMapGetLine(pMap, addr); in pinThreadStack()
/dalvik/vm/native/
Ddalvik_system_VMDebug.cpp657 const RegisterMap* pMap; in Dalvik_dalvik_system_VMDebug_cacheRegisterMap() local
658 pMap = dvmGetExpandedRegisterMap(method); in Dalvik_dalvik_system_VMDebug_cacheRegisterMap()
659 if (pMap == NULL) { in Dalvik_dalvik_system_VMDebug_cacheRegisterMap()
/dalvik/vm/oo/
DClass.h157 void dvmSetRegisterMap(Method* method, const RegisterMap* pMap);
DClass.cpp1899 const RegisterMap* pMap = dvmRegisterMapGetNext(&classMapData); in loadClassFromDex0() local
1900 if (dvmRegisterMapGetFormat(pMap) != kRegMapFormatNone) { in loadClassFromDex0()
1901 newClass->directMethods[i].registerMap = pMap; in loadClassFromDex0()
1923 const RegisterMap* pMap = dvmRegisterMapGetNext(&classMapData); in loadClassFromDex0() local
1924 if (dvmRegisterMapGetFormat(pMap) != kRegMapFormatNone) { in loadClassFromDex0()
1925 newClass->virtualMethods[i].registerMap = pMap; in loadClassFromDex0()
2113 const RegisterMap* pMap = meth->registerMap; in freeMethodInnards() local
2114 if (pMap != NULL && dvmRegisterMapGetOnHeap(pMap)) { in freeMethodInnards()
2115 dvmFreeRegisterMap((RegisterMap*) pMap); in freeMethodInnards()
4585 void dvmSetRegisterMap(Method* method, const RegisterMap* pMap) in dvmSetRegisterMap() argument
[all …]