/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/ |
D | TryListBuilderTest.java | 54 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Beginning() local 59 Assert.assertEquals(expected, tryBlocks); in testSingleCatchAll_Beginning() 68 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Middle() local 73 Assert.assertEquals(expected, tryBlocks); in testSingleCatchAll_Middle() 82 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Beginning() local 87 Assert.assertEquals(expected, tryBlocks); in testSingleCatch_Beginning() 96 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Middle() local 101 Assert.assertEquals(expected, tryBlocks); in testSingleCatch_Middle() 111 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_End_After() local 119 Assert.assertEquals(expected, tryBlocks); in testOverlap_End_After() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableMethodImplementation.java | 51 @Nonnull protected final ImmutableList<? extends ImmutableTryBlock> tryBlocks; field in ImmutableMethodImplementation 56 … @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks, in ImmutableMethodImplementation() argument 60 this.tryBlocks = ImmutableTryBlock.immutableListOf(tryBlocks); in ImmutableMethodImplementation() 66 … @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks, in ImmutableMethodImplementation() argument 70 this.tryBlocks = ImmutableUtils.nullToEmptyList(tryBlocks); in ImmutableMethodImplementation() 91 …ll @Override public ImmutableList<? extends ImmutableTryBlock> getTryBlocks() { return tryBlocks; } in getTryBlocks()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/ |
D | SmalideaMethodTest.java | 353 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = impl.getTryBlocks(); in testCatchBlocks() local 354 Assert.assertEquals(2, tryBlocks.size()); in testCatchBlocks() 356 TryBlock<? extends ExceptionHandler> tryBlock = tryBlocks.get(0); in testCatchBlocks() 363 tryBlock = tryBlocks.get(1); in testCatchBlocks()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 788 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = 811 tryBlocks = mutableMethodImplementation.getTryBlocks(); 821 codeWriter, ehBuf, methodKey, tryBlocks, instructions, debugItemOffset); 927 … @Nonnull List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks, 949 tryBlocks = TryListBuilder.massageTryBlocks(tryBlocks); 966 writer.writeUshort(tryBlocks.size()); 1081 if (tryBlocks.size() > 0) { 1086 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) { 1091 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | MutableMethodImplementation.java | 59 private final ArrayList<BuilderTryBlock> tryBlocks = Lists.newArrayList(); field in MutableMethodImplementation 119 tryBlocks.add(new BuilderTryBlock(startLabel, endLabel, in MutableMethodImplementation() 169 return Collections.unmodifiableList(tryBlocks); 191 tryBlocks.add(new BuilderTryBlock(from, to, type, handler)); 196 tryBlocks.add(new BuilderTryBlock(from, to, type, handler)); 200 tryBlocks.add(new BuilderTryBlock(from, to, handler));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/ |
D | TryListBuilder.java | 61 List<? extends TryBlock<? extends EH>> tryBlocks) { in massageTryBlocks() argument 64 for (TryBlock<? extends EH> tryBlock: tryBlocks) { in massageTryBlocks()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | MethodDefinition.java | 529 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = methodImpl.getTryBlocks(); in addTries() local 530 if (tryBlocks.size() == 0) { in addTries() 537 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) { in addTries()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | ClassPool.java | 149 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks(); in internCode() local 150 if (!hasInstruction && tryBlocks.size() > 0) { in internCode()
|
/external/smali/smali/src/main/antlr/ |
D | smaliTreeWalker.g | 397 List<BuilderTryBlock> tryBlocks = $catches.tryBlocks; 545 catches returns[List<BuilderTryBlock> tryBlocks] 546 @init {tryBlocks = Lists.newArrayList();}
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliTreeWalker.java | 2187 List<BuilderTryBlock> tryBlocks = catches69; in method() local 2680 List<BuilderTryBlock> tryBlocks = null; in catches() local 2683 tryBlocks = Lists.newArrayList(); in catches() 2754 return tryBlocks; in catches()
|