Home | History | Annotate | Download | only in analysis

Lines Matching defs:vsrc

114     u4 vsrc, RegType checkType, VerifyError* pFailure);
1413 static inline RegType getRegisterType(const RegisterLine* registerLine, u4 vsrc)
1415 return registerLine->regTypes[vsrc];
1427 u4 vsrc, VerifyError* pFailure)
1432 /* get the element type of the array held in vsrc */
1433 type = getRegisterType(registerLine, vsrc);
1441 vsrc, type);
1446 LOG_VFY("VFY: register %u holds uninitialized reference", vsrc);
1478 /* get the element type of the array held in vsrc */
1581 * If "vsrc" is a reference, both it and the "vsrc" register must be
1582 * initialized ("vsrc" may be Zero). This will verify that the value in
1586 static void verifyRegisterType(RegisterLine* registerLine, u4 vsrc,
1590 RegType srcType = insnRegs[vsrc];
1592 //ALOGD("check-reg v%u = %d", vsrc, checkType);
1604 vsrc, srcType, checkType);
1610 setRegisterType(registerLine, vsrc, checkType);
1613 setRegisterType(registerLine, vsrc, constTypeToRegType(srcType));
1618 if (insnRegs[vsrc+1] != srcType+1) {
1620 vsrc, vsrc+1, insnRegs[vsrc], insnRegs[vsrc+1]);
1625 vsrc, srcType, checkType);
1631 setRegisterType(registerLine, vsrc, checkType);
1662 LOG_VFY("VFY: register1 v%u type %d, wanted ref", vsrc, srcType);
1667 LOG_VFY("VFY: register1 v%u holds uninitialized ref", vsrc);
1965 * "vsrc" to "vdst".
1967 static void copyRegister1(RegisterLine* registerLine, u4 vdst, u4 vsrc,
1971 RegType type = getRegisterType(registerLine, vsrc);
1974 LOG_VFY("VFY: copy1 v%u<-v%u type=%d cat=%d", vdst, vsrc, type, cat);
1979 registerLine->monitorEntries[vsrc];
1986 * "vsrc" to "vdst". This copies both halves of the register.
1988 static void copyRegister2(RegisterLine* registerLine, u4 vdst, u4 vsrc,
1991 RegType typel = getRegisterType(registerLine, vsrc);
1992 RegType typeh = getRegisterType(registerLine, vsrc+1);
1997 LOG_VFY("VFY: copy2 v%u<-v%u type=%d/%d", vdst, vsrc, typel, typeh);
2012 u4 vsrc;
2016 vsrc = RESULT_REGISTER(insnRegCount);
2017 type = getRegisterType(registerLine, vsrc);
2021 vdst, vsrc, cat, type);
2024 setRegisterType(registerLine, vsrc, kRegTypeUnknown);
2037 u4 vsrc;
2041 vsrc = RESULT_REGISTER(insnRegCount);
2042 typel = getRegisterType(registerLine, vsrc);
2043 typeh = getRegisterType(registerLine, vsrc+1);
2048 vdst, vsrc, typel, typeh);
2051 setRegisterType(registerLine, vsrc, kRegTypeUnknown);
2052 setRegisterType(registerLine, vsrc+1, kRegTypeUnknown);