Home
last modified time | relevance | path

Searched refs:addresses (Results 1 – 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java44 private final BlockAddresses addresses; field in StdCatchBuilder
55 BlockAddresses addresses) { in StdCatchBuilder() argument
64 if (addresses == null) { in StdCatchBuilder()
70 this.addresses = addresses; in StdCatchBuilder()
76 return build(method, order, addresses); in build()
125 BlockAddresses addresses) { in build() argument
146 CatchHandlerList handlers = handlersFor(block, addresses); in build()
157 && rangeIsValid(currentStartBlock, block, addresses)) { in build()
176 currentHandlers, addresses); in build()
189 currentHandlers, addresses); in build()
[all …]
DRopTranslator.java66 private final BlockAddresses addresses; field in RopTranslator
126 this.addresses = new BlockAddresses(method); in RopTranslator()
216 new StdCatchBuilder(method, order, addresses); in translateAndGetResult()
248 CodeAddress startAddress = addresses.getStart(block); in outputBlock()
262 translationVisitor.setBlock(block, addresses.getLast(block)); in outputBlock()
266 output.add(addresses.getEnd(block)); in outputBlock()
293 output.reverseBranch(1, addresses.getStart(succ)); in outputBlock()
302 addresses.getStart(succ)); in outputBlock()
567 addresses.getStart(target)); in visitPlainInsn()
643 switchTargets[i] = addresses.getStart(label); in visitSwitchInsn()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DStdCatchBuilder.java45 private final BlockAddresses addresses; field in StdCatchBuilder
56 BlockAddresses addresses) { in StdCatchBuilder() argument
65 if (addresses == null) { in StdCatchBuilder()
71 this.addresses = addresses; in StdCatchBuilder()
76 return build(method, order, addresses); in build()
123 BlockAddresses addresses) { in build() argument
144 CatchHandlerList handlers = handlersFor(block, addresses); in build()
155 && rangeIsValid(currentStartBlock, block, addresses)) { in build()
174 currentHandlers, addresses); in build()
187 currentHandlers, addresses); in build()
[all …]
DRopTranslator.java62 private final BlockAddresses addresses; field in RopTranslator
120 this.addresses = new BlockAddresses(method); in RopTranslator()
209 new StdCatchBuilder(method, order, addresses); in translateAndGetResult()
241 CodeAddress startAddress = addresses.getStart(block); in outputBlock()
255 translationVisitor.setBlock(block, addresses.getLast(block)); in outputBlock()
259 output.add(addresses.getEnd(block)); in outputBlock()
286 output.reverseBranch(1, addresses.getStart(succ)); in outputBlock()
295 addresses.getStart(succ)); in outputBlock()
559 addresses.getStart(target)); in visitPlainInsn()
633 switchTargets[i] = addresses.getStart(label); in visitSwitchInsn()
/dalvik/dx/src/com/android/dex/
DCode.java97 final int[] addresses; field in Code.CatchHandler
101 public CatchHandler(int[] typeIndexes, int[] addresses, int catchAllAddress, int offset) { in CatchHandler() argument
103 this.addresses = addresses; in CatchHandler()
113 return addresses; in getAddresses()
DDex.java540 int[] addresses = new int[handlersCount]; in readCatchHandler() local
543 addresses[i] = readUleb128(); in readCatchHandler()
546 return new CatchHandler(typeIndexes, addresses, catchAllAddress, offset); in readCatchHandler()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java1035 int[] addresses = catchHandler.getAddresses(); in transformEncodedCatchHandler() local
1045 codeOut.writeUleb128(addresses[i]); in transformEncodedCatchHandler()