Searched refs:getInstructionIndexAtCodeOffset (Results 1 – 3 of 3) sorted by relevance
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/ |
D | InstructionOffsetMapTest.java | 87 …Assert.assertEquals(i, instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[i], tr… in testInstructionOffsetMap() 88 …Assert.assertEquals(i, instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[i], fa… in testInstructionOffsetMap() 99 instructionOffsetMap.getInstructionIndexAtCodeOffset(codeOffset, false)); in testInstructionOffsetMap() 102 instructionOffsetMap.getInstructionIndexAtCodeOffset(codeOffset, true); in testInstructionOffsetMap() 110 …instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[expectedOffsets.length-1]+1, … in testInstructionOffsetMap() 112 …instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[expectedOffsets.length-1]+10,… in testInstructionOffsetMap()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | InstructionOffsetMap.java | 54 public int getInstructionIndexAtCodeOffset(int codeOffset) { in getInstructionIndexAtCodeOffset() method in InstructionOffsetMap 55 return getInstructionIndexAtCodeOffset(codeOffset, true); in getInstructionIndexAtCodeOffset() 58 public int getInstructionIndexAtCodeOffset(int codeOffset, boolean exact) { in getInstructionIndexAtCodeOffset() method in InstructionOffsetMap
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | MethodDefinition.java | 251 targetIndex = instructionOffsetMap.getInstructionIndexAtCodeOffset(targetOffset); in findSwitchPayload() 280 targetIndex = instructionOffsetMap.getInstructionIndexAtCodeOffset(targetOffset); in findPayloadOffset() 558 …int lastCoveredIndex = instructionOffsetMap.getInstructionIndexAtCodeOffset(endAddress - 1, false); in addTries()
|