Home
last modified time | relevance | path

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

123

/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.java77 private final Rewriter<TryBlock<? extends ExceptionHandler>> tryBlockRewriter;
132 …@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/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaMethod.java172 … @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks() {
174 … new Function<SmaliCatchStatement, TryBlock<? extends ExceptionHandler>>() {
176 public TryBlock<? extends ExceptionHandler> apply(
/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.java47 import org.jf.dexlib2.iface.TryBlock;
881 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks =
1020 … @Nonnull List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
1200 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) {
1205 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.cpp445 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseSEHTryBlock() local
447 if(TryBlock.isInvalid()) in ParseSEHTryBlock()
448 return TryBlock; in ParseSEHTryBlock()
467 TryBlock.get(), in ParseSEHTryBlock()
2072 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseCXXTryBlockCommon() local
2075 if (TryBlock.isInvalid()) in ParseCXXTryBlockCommon()
2076 return TryBlock; in ParseCXXTryBlockCommon()
2098 TryBlock.get(), in ParseCXXTryBlockCommon()
2120 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
DSmalideaMethodTest.java41 import org.jf.dexlib2.iface.TryBlock;
353 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = impl.getTryBlocks(); in testCatchBlocks()
356 TryBlock<? extends ExceptionHandler> tryBlock = tryBlocks.get(0); in testCatchBlocks()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp365 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
366 BuildScopeInformation(TryBlock, NewParentScope); in BuildScopeInformation()
390 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
391 BuildScopeInformation(TryBlock, NewParentScope); in BuildScopeInformation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java158 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks(); in internCode()
164 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) { in internCode()
379 @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp489 StmtResult TryBlock(ParseCompoundStatement( in ParseSEHTryBlock() local
492 if (TryBlock.isInvalid()) in ParseSEHTryBlock()
493 return TryBlock; in ParseSEHTryBlock()
512 TryBlock.get(), in ParseSEHTryBlock()
2381 StmtResult TryBlock(ParseCompoundStatement( in ParseCXXTryBlockCommon() local
2385 if (TryBlock.isInvalid()) in ParseCXXTryBlockCommon()
2386 return TryBlock; in ParseCXXTryBlockCommon()
2408 TryBlock.get(), in ParseCXXTryBlockCommon()
2430 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp405 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
406 BuildScopeInformation(TryBlock, NewParentScope); in BuildScopeInformation()
430 if (Stmt *TryBlock = TS->getTryBlock()) in BuildScopeInformation() local
431 BuildScopeInformation(TryBlock, NewParentScope); in BuildScopeInformation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassPool.java42 import org.jf.dexlib2.iface.TryBlock;
293 …public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(@Nonnull BuilderMethod bu…
/external/clang/lib/AST/
DStmt.cpp908 Stmt *TryBlock, in SEHTryStmt() argument
914 Children[TRY] = TryBlock; in SEHTryStmt()
919 SourceLocation TryLoc, Stmt *TryBlock, in Create() argument
921 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler); in Create()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DJumboStringConversionTest.java162 … @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks() { in testJumboStringConversion_NonMethodBuilder()

123