Home
last modified time | relevance | path

Searched refs:TryBlock (Results 1 – 25 of 30) sorted by relevance

12

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java37 import org.jf.dexlib2.iface.TryBlock;
54 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Beginning()
56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning()
68 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Middle()
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle()
82 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Beginning()
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning()
96 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Middle()
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle()
111 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_End_After()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DTryBlockRewriter.java36 import org.jf.dexlib2.iface.TryBlock;
41 public class TryBlockRewriter implements Rewriter<TryBlock<? extends ExceptionHandler>> {
48 @Nonnull @Override public TryBlock<? extends ExceptionHandler> rewrite( in rewrite()
49 @Nonnull TryBlock<? extends ExceptionHandler> tryBlock) { in rewrite()
54 @Nonnull protected TryBlock<? extends ExceptionHandler> tryBlock;
56 public RewrittenTryBlock(@Nonnull TryBlock<? extends ExceptionHandler> tryBlock) { in RewrittenTryBlock()
DMethodImplementationRewriter.java36 import org.jf.dexlib2.iface.TryBlock;
70 … @Override @Nonnull public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks() { in getTryBlocks()
DDexRewriter.java76 private final Rewriter<TryBlock<? extends ExceptionHandler>> tryBlockRewriter;
127 …@Nonnull @Override public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter() { r… in getTryBlockRewriter()
DRewriters.java51 @Nonnull Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(); in getTryBlockRewriter()
DRewriterModule.java68 …@Nonnull public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(@Nonnull Rewrit… in getTryBlockRewriter()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableTryBlock.java37 import org.jf.dexlib2.iface.TryBlock;
66 public static ImmutableTryBlock of(TryBlock<? extends ExceptionHandler> tryBlock) { in of()
85 @Nullable List<? extends TryBlock<? extends ExceptionHandler>> list) { in immutableListOf()
89 …private static final ImmutableConverter<ImmutableTryBlock, TryBlock<? extends ExceptionHandler>> C…
90 new ImmutableConverter<ImmutableTryBlock, TryBlock<? extends ExceptionHandler>>() {
92 protected boolean isImmutable(@Nonnull TryBlock item) {
98 … protected ImmutableTryBlock makeImmutable(@Nonnull TryBlock<? extends ExceptionHandler> item) {
DImmutableMethodImplementation.java37 import org.jf.dexlib2.iface.TryBlock;
56 … @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks, in ImmutableMethodImplementation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/
DBaseTryBlock.java35 import org.jf.dexlib2.iface.TryBlock;
37 public abstract class BaseTryBlock<EH extends ExceptionHandler> implements TryBlock<EH> {
39 if (o instanceof TryBlock) { in equals()
40 TryBlock other = (TryBlock)o; in equals()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java37 import org.jf.dexlib2.iface.TryBlock;
60 public static <EH extends ExceptionHandler> List<TryBlock<EH>> massageTryBlocks( in massageTryBlocks()
61 List<? extends TryBlock<? extends EH>> tryBlocks) { in massageTryBlocks()
64 for (TryBlock<? extends EH> tryBlock: tryBlocks) { in massageTryBlocks()
315 public List<TryBlock<EH>> getTryBlocks() { in getTryBlocks()
316 return Lists.newArrayList(new Iterator<TryBlock<EH>>() { in getTryBlocks()
352 @Override @Nonnull public TryBlock<EH> next() { in getTryBlocks()
356 TryBlock<EH> ret = next; in getTryBlocks()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DClassSection.java36 import org.jf.dexlib2.iface.TryBlock;
80 …@Nonnull List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(@Nonnull MethodKey key); in getTryBlocks()
DDexWriter.java48 import org.jf.dexlib2.iface.TryBlock;
739 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks =
871 … @Nonnull List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
1018 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) {
1023 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) {
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DFixOffsetsTest.java41 import org.jf.dexlib2.iface.TryBlock;
110 … List<? extends TryBlock<? extends ExceptionHandler>> exceptionHandlers = impl.getTryBlocks(); in testFixOffsets()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
DTryBlock.java41 public interface TryBlock<EH extends ExceptionHandler> { interface
DMethodImplementation.java73 @Nonnull List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(); in getTryBlocks()
/external/clang/lib/Parse/
DParseStmt.cpp427 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseSEHTryBlock() local
429 if(TryBlock.isInvalid()) in ParseSEHTryBlock()
430 return TryBlock; in ParseSEHTryBlock()
449 TryBlock.get(), in ParseSEHTryBlock()
1978 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseCXXTryBlockCommon() local
1981 if (TryBlock.isInvalid()) in ParseCXXTryBlockCommon()
1982 return TryBlock; in ParseCXXTryBlockCommon()
2004 TryBlock.get(), in ParseCXXTryBlockCommon()
2026 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp325 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
326 BuildScopeInformation(TryBlock, (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
348 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
349 BuildScopeInformation(TryBlock, (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
DSemaStmt.cpp3522 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock() argument
3609 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock()
3613 Stmt *TryBlock, Stmt *Handler) { in ActOnSEHTryBlock() argument
3614 assert(TryBlock && Handler); in ActOnSEHTryBlock()
3640 return SEHTryStmt::Create(Context, IsCXXTry, TryLoc, TryBlock, Handler); in ActOnSEHTryBlock()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java167 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks(); in internCode()
173 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) { in internCode()
422 @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassPool.java42 import org.jf.dexlib2.iface.TryBlock;
303 …public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(@Nonnull BuilderMethod bu…
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java403 List<? extends TryBlock<? extends ExceptionHandler>> tries = methodImpl.getTryBlocks();
405 TryBlock currentTry = null;
425 TryBlock<? extends ExceptionHandler> tryBlock = tries.get(triesIndex);
535 …private AnalyzedInstruction[] buildExceptionHandlerArray(@Nonnull TryBlock<? extends ExceptionHand…
1041 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) {
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java468 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = methodImpl.getTryBlocks(); in addTries()
476 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) { in addTries()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DJumboStringConversionTest.java162 … @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks() { in testJumboStringConversion_NonMethodBuilder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java44 import org.jf.dexlib2.iface.TryBlock;
114 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImplementation.getTryBlocks()) { in MutableMethodImplementation()
/external/clang/lib/AST/
DStmt.cpp1020 Stmt *TryBlock, in SEHTryStmt() argument
1026 Children[TRY] = TryBlock; in SEHTryStmt()
1031 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
1033 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()

12