Searched refs:smaliMethod (Results 1 – 10 of 10) sorted by relevance
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliMethodTest.java | 95 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testStaticRegisterCount() local 97 Assert.assertEquals(127, smaliMethod.getRegisterCount()); in testStaticRegisterCount() 98 Assert.assertEquals(4, smaliMethod.getParameterRegisterCount()); in testStaticRegisterCount() 100 …Assert.assertEquals(0, smaliMethod.getParameterList().getParameters()[0].getParameterRegisterNumbe… in testStaticRegisterCount() 101 … Assert.assertEquals(123, smaliMethod.getParameterList().getParameters()[0].getRegisterNumber()); in testStaticRegisterCount() 135 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testMethodParams() local 137 SmaliMethodParamList paramList = smaliMethod.getParameterList(); in testMethodParams() 178 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testVarArgsMethod() local 180 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod() 181 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod() [all …]
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/ |
D | SmaliCodeFragmentFactory.java | 279 public static Value evaluateRegister(EvaluationContext context, final SmaliMethod smaliMethod, 282 if (registerNum >= smaliMethod.getRegisterCount()) { 310 for (SmaliInstruction instruction: smaliMethod.getInstructions()) { 326 … mapRegister(frameProxy.getStackFrame().virtualMachine(), smaliMethod, registerNum), 343 …private static int mapRegister(final VirtualMachine vm, final SmaliMethod smaliMethod, final int r… 345 return mapRegisterForDalvik(smaliMethod, register); 347 return mapRegisterForArt(smaliMethod, register); 351 private static int mapRegisterForArt(final SmaliMethod smaliMethod, final int register) { 355 int totalRegisters = smaliMethod.getRegisterCount(); 356 int parameterRegisters = smaliMethod.getParameterRegisterCount(); [all …]
|
D | SmaliPositionManager.java | 79 for (SmaliMethod smaliMethod: smaliClass.getMethods()) { in getSourcePosition() 80 if (smaliMethod.getName().equals(methodName) && in getSourcePosition() 81 smaliMethod.getMethodPrototype().getText().equals(methodSignature)) { in getSourcePosition() 82 return smaliMethod.getSourcePositionForCodeOffset(codeIndex * 2); in getSourcePosition()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/ |
D | SmalideaMethodTest.java | 92 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testSmalideaMethod() local 94 SmalideaMethod method = new SmalideaMethod(smaliMethod); in testSmalideaMethod() 346 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testCatchBlocks() local 348 SmalideaMethod method = new SmalideaMethod(smaliMethod); in testCatchBlocks() 418 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testPackedSwitch() local 420 SmalideaMethod method = new SmalideaMethod(smaliMethod); in testPackedSwitch() 484 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testSparseSwitch() local 486 SmalideaMethod method = new SmalideaMethod(smaliMethod); in testSparseSwitch() 559 SmaliMethod smaliMethod = smaliClass.getMethods()[0]; in testArrayData() local 561 SmalideaMethod method = new SmalideaMethod(smaliMethod); in testArrayData()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/ |
D | SmalideaMethod.java | 149 final SmaliMethod smaliMethod = (SmaliMethod)this.psiMethod; 151 List<SmaliInstruction> instructions = smaliMethod.getInstructions(); 159 return smaliMethod.getRegisterCount(); 163 return Lists.transform(smaliMethod.getInstructions(), 173 return Lists.transform(smaliMethod.getCatchStatements(),
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliMethodParameter.java | 154 SmaliMethod smaliMethod = findStubOrPsiAncestorOfType(SmaliMethod.class); in getParentMethod() local 155 assert smaliMethod != null; in getParentMethod() 156 return smaliMethod; in getParentMethod()
|
D | SmaliInstruction.java | 67 SmaliMethod smaliMethod = findAncestorByClass(SmaliMethod.class); in getParentMethod() local 68 assert smaliMethod != null; in getParentMethod() 69 return smaliMethod; in getParentMethod()
|
D | SmaliClass.java | 397 for (SmaliMethod smaliMethod: smaliMethods) { in getLocationForSourcePosition() 399 int offset = smaliMethod.getOffsetForLine(position.getLine()); in getLocationForSourcePosition() 401 List<Method> methods = type.methodsByName(smaliMethod.getName(), in getLocationForSourcePosition() 402 smaliMethod.getMethodPrototype().getText()); in getLocationForSourcePosition()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/ |
D | SmalideaSparseSwitchPayload.java | 53 SmaliMethod smaliMethod = psiInstruction.getParentMethod(); in getSwitchElements() local 55 smaliMethod, Opcode.SPARSE_SWITCH, psiInstruction.getOffset()); in getSwitchElements()
|
D | SmalideaPackedSwitchPayload.java | 54 SmaliMethod smaliMethod = psiInstruction.getParentMethod(); in getSwitchElements() local 56 smaliMethod, Opcode.PACKED_SWITCH, psiInstruction.getOffset()); in getSwitchElements()
|