• Home
  • Raw
  • Download

Lines Matching refs:uninitMap

123     RegisterTable* regTable, UninitInstanceMap* uninitMap);
126 UninitInstanceMap* uninitMap, int* pStartGuess);
130 const UninitInstanceMap* uninitMap, int displayFlags);
370 UninitInstanceMap* uninitMap; in dvmCreateUninitInstanceMap() local
388 newInstanceCount * sizeof(uninitMap->map[0]); in dvmCreateUninitInstanceMap()
389 uninitMap = calloc(1, size); in dvmCreateUninitInstanceMap()
390 if (uninitMap == NULL) in dvmCreateUninitInstanceMap()
392 uninitMap->numEntries = newInstanceCount; in dvmCreateUninitInstanceMap()
396 uninitMap->map[idx++].addr = kUninitThisArgAddr; in dvmCreateUninitInstanceMap()
406 uninitMap->map[idx++].addr = addr; in dvmCreateUninitInstanceMap()
413 return uninitMap; in dvmCreateUninitInstanceMap()
419 void dvmFreeUninitInstanceMap(UninitInstanceMap* uninitMap) in dvmFreeUninitInstanceMap() argument
421 free(uninitMap); in dvmFreeUninitInstanceMap()
434 int dvmSetUninitInstance(UninitInstanceMap* uninitMap, int addr, in dvmSetUninitInstance() argument
442 for (idx = uninitMap->numEntries - 1; idx >= 0; idx--) { in dvmSetUninitInstance()
443 if (uninitMap->map[idx].addr == addr) { in dvmSetUninitInstance()
444 if (uninitMap->map[idx].clazz != NULL && in dvmSetUninitInstance()
445 uninitMap->map[idx].clazz != clazz) in dvmSetUninitInstance()
448 addr, uninitMap->map[idx].clazz, clazz); in dvmSetUninitInstance()
451 uninitMap->map[idx].clazz = clazz; in dvmSetUninitInstance()
464 ClassObject* dvmGetUninitInstance(const UninitInstanceMap* uninitMap, int idx) in dvmGetUninitInstance() argument
466 assert(idx >= 0 && idx < uninitMap->numEntries); in dvmGetUninitInstance()
467 return uninitMap->map[idx].clazz; in dvmGetUninitInstance()
502 const UninitInstanceMap* uninitMap) in regTypeReferenceToClass() argument
506 assert(uninitMap != NULL); in regTypeReferenceToClass()
507 return dvmGetUninitInstance(uninitMap, regTypeToUninitIndex(type)); in regTypeReferenceToClass()
712 UninitInstanceMap* uninitMap) in setTypesFromSignature() argument
735 int uidx = dvmSetUninitInstance(uninitMap, kUninitThisArgAddr, in setTypesFromSignature()
1020 UninitInstanceMap* uninitMap, MethodType methodType, bool isRange, in verifyInvocationArgs() argument
1148 actualThisRef = regTypeReferenceToClass(actualArgType, uninitMap); in verifyInvocationArgs()
1642 UninitInstanceMap* uninitMap, RegType uninitType, bool* pOkay) in markRefsAsInitialized() argument
1648 clazz = dvmGetUninitInstance(uninitMap, regTypeToUninitIndex(uninitType)); in markRefsAsInitialized()
1678 UninitInstanceMap* uninitMap, RegType uninitType) in markUninitRefsAsInvalid() argument
2336 const UninitInstanceMap* uninitMap, RegType objType, int fieldIdx, in getInstField() argument
2365 objClass = regTypeReferenceToClass(objType, uninitMap); in getInstField()
2783 UninitInstanceMap* uninitMap) in dvmVerifyCodeFlow() argument
2837 if (!setTypesFromSignature(meth, regTable.addrRegs[0], uninitMap)) in dvmVerifyCodeFlow()
2843 if (!doCodeVerification(meth, insnFlags, &regTable, uninitMap)) in dvmVerifyCodeFlow()
2933 RegisterTable* regTable, UninitInstanceMap* uninitMap) in doCodeVerification() argument
3005 dumpRegTypes(meth, insnFlags, workRegs, insnIdx, NULL,uninitMap, in doCodeVerification()
3011 dumpRegTypes(meth, insnFlags, workRegs, insnIdx, NULL,uninitMap, in doCodeVerification()
3030 uninitMap, DRT_SHOW_REF_TYPES | DRT_SHOW_LOCALS); in doCodeVerification()
3032 uninitMap, DRT_SHOW_REF_TYPES | DRT_SHOW_LOCALS); in doCodeVerification()
3040 uninitMap, &startGuess)) in doCodeVerification()
3162 UninitInstanceMap* uninitMap, int* pStartGuess) in verifyInstruction() argument
3531 int uidx = dvmSetUninitInstance(uninitMap, insnIdx, resClass); in verifyInstruction()
3539 markUninitRefsAsInvalid(workRegs, insnRegCount, uninitMap, in verifyInstruction()
4156 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4187 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4223 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4277 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4315 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4349 instField = getInstField(meth, uninitMap, objType, decInsn.vC, in verifyInstruction()
4656 &decInsn, uninitMap, METHOD_VIRTUAL, isRange, in verifyInstruction()
4674 &decInsn, uninitMap, METHOD_DIRECT, isRange, in verifyInstruction()
4704 thisClass = regTypeReferenceToClass(thisType, uninitMap); in verifyInstruction()
4736 markRefsAsInitialized(workRegs, insnRegCount, uninitMap, in verifyInstruction()
4756 &decInsn, uninitMap, METHOD_STATIC, isRange, in verifyInstruction()
4775 &decInsn, uninitMap, METHOD_INTERFACE, isRange, in verifyInstruction()
5321 const UninitInstanceMap* uninitMap, int displayFlags) in dumpRegTypes() argument
5392 clazz = regTypeReferenceToClass(addrRegs[i], uninitMap); in dumpRegTypes()