Home | History | Annotate | Download | only in analysis

Lines Matching defs:vsrc

125     u4 vsrc, RegType checkType, VerifyError* pFailure);
1370 const int insnRegCount, u4 vsrc, VerifyError* pFailure)
1372 if (vsrc >= (u4) insnRegCount) {
1376 return insnRegs[vsrc];
1389 const int insnRegCount, u4 vsrc, VerifyError* pFailure)
1394 /* get the element type of the array held in vsrc */
1395 type = getRegisterType(insnRegs, insnRegCount, vsrc, pFailure);
1405 vsrc, type);
1410 LOG_VFY("VFY: register %u holds uninitialized reference\n", vsrc);
1443 /* get the element type of the array held in vsrc */
1545 * If "vsrc" is a reference, both it and the "vsrc" register must be
1546 * initialized ("vsrc" may be Zero). This will verify that the value in
1551 u4 vsrc, RegType checkType, VerifyError* pFailure)
1553 if (vsrc >= (u4) insnRegCount) {
1558 RegType srcType = insnRegs[vsrc];
1560 //LOGD("check-reg v%u = %d\n", vsrc, checkType);
1572 vsrc, srcType, checkType);
1578 if (vsrc+1 >= (u4) insnRegCount) {
1580 vsrc, insnRegCount);
1582 } else if (insnRegs[vsrc+1] != srcType+1) {
1584 vsrc, vsrc+1, insnRegs[vsrc], insnRegs[vsrc+1]);
1588 vsrc, srcType, checkType);
1619 LOG_VFY("VFY: register1 v%u type %d, wanted ref\n", vsrc, srcType);
1624 LOG_VFY("VFY: register1 v%u holds uninitialized ref\n", vsrc);
1853 * "vsrc" to "vdst".
1856 * "vsrc" values are checked against this.
1859 u4 vsrc, TypeCategory cat, VerifyError* pFailure)
1861 RegType type = getRegisterType(insnRegs, insnRegCount, vsrc, pFailure);
1868 LOG_VFY("VFY: copy1 v%u<-v%u type=%d cat=%d\n", vdst, vsrc, type, cat);
1874 * "vsrc" to "vdst". This copies both halves of the register.
1877 u4 vsrc, VerifyError* pFailure)
1879 RegType typel = getRegisterType(insnRegs, insnRegCount, vsrc, pFailure);
1880 RegType typeh = getRegisterType(insnRegs, insnRegCount, vsrc+1, pFailure);
1889 LOG_VFY("VFY: copy2 v%u<-v%u type=%d/%d\n", vdst, vsrc, typel, typeh);
1904 u4 vsrc;
1906 vsrc = RESULT_REGISTER(insnRegCount);
1907 type = getRegisterType(insnRegs, insnRegCount + kExtraRegs, vsrc, pFailure);
1912 insnRegs[vsrc] = kRegTypeUnknown;
1917 vdst, vsrc, cat, type);
1932 u4 vsrc;
1934 vsrc = RESULT_REGISTER(insnRegCount);
1935 typel = getRegisterType(insnRegs, insnRegCount + kExtraRegs, vsrc,
1937 typeh = getRegisterType(insnRegs, insnRegCount + kExtraRegs, vsrc+1,
1945 insnRegs[vsrc] = kRegTypeUnknown;
1946 insnRegs[vsrc+1] = kRegTypeUnknown;
1951 vdst, vsrc, typel, typeh);