HomeSort by relevance Sort by last modified time
    Searched refs:tryBlock (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
TryBlockRewriter.java 36 import org.jf.dexlib2.iface.TryBlock;
41 public class TryBlockRewriter implements Rewriter<TryBlock<? extends ExceptionHandler>> {
48 @Nonnull @Override public TryBlock<? extends ExceptionHandler> rewrite(
49 @Nonnull TryBlock<? extends ExceptionHandler> tryBlock) {
50 return new RewrittenTryBlock(tryBlock);
54 @Nonnull protected TryBlock<? extends ExceptionHandler> tryBlock;
56 public RewrittenTryBlock(@Nonnull TryBlock<? extends ExceptionHandler> tryBlock) {
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
TryListBuilder.java 37 import org.jf.dexlib2.iface.TryBlock;
60 public static <EH extends ExceptionHandler> List<TryBlock<EH>> massageTryBlocks(
61 List<? extends TryBlock<? extends EH>> tryBlocks) {
64 for (TryBlock<? extends EH> tryBlock: tryBlocks) {
65 int startAddress = tryBlock.getStartCodeAddress();
66 int endAddress = startAddress + tryBlock.getCodeUnitCount();
68 for (EH exceptionHandler: tryBlock.getExceptionHandlers()) {
150 public void append(@Nonnull MutableTryBlock<EH> tryBlock) {
151 next.prev = tryBlock;
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/program/mutators/
TryBlockShifter.java 99 MTryBlock tryBlock = mutatableCode.mutatableTries.get(tryIdx);
111 if (tryBlock.handlers.isEmpty()) {
114 } else if (tryBlock.catchAllHandler != null) {
121 shiftingHandlerIdx = rng.nextInt(tryBlock.handlers.size());
128 oldInsn = tryBlock.startInsn;
130 oldInsn = tryBlock.endInsn;
132 oldInsn = tryBlock.catchAllHandler;
135 oldInsn = tryBlock.handlers.get(shiftingHandlerIdx);
182 MTryBlock tryBlock = mutatableCode.mutatableTries.get(mutation.tryIdx);
189 tryBlock.startInsn = newInsn
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableTryBlock.java 37 import org.jf.dexlib2.iface.TryBlock;
66 public static ImmutableTryBlock of(TryBlock<? extends ExceptionHandler> tryBlock) {
67 if (tryBlock instanceof ImmutableTryBlock) {
68 return (ImmutableTryBlock)tryBlock;
71 tryBlock.getStartCodeAddress(),
72 tryBlock.getCodeUnitCount(),
73 tryBlock.getExceptionHandlers());
85 @Nullable List<? extends TryBlock<? extends ExceptionHandler>> list) {
89 private static final ImmutableConverter<ImmutableTryBlock, TryBlock<? extends ExceptionHandler>> CONVERTER
    [all...]
  /external/clang/lib/AST/
StmtCXX.cpp 27 Stmt *tryBlock, ArrayRef<Stmt *> handlers) {
32 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers);
44 CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock,
48 Stmts[0] = tryBlock;
  /external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
SmalideaMethodTest.java 41 import org.jf.dexlib2.iface.TryBlock;
353 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = impl.getTryBlocks();
356 TryBlock<? extends ExceptionHandler> tryBlock = tryBlocks.get(0);
357 Assert.assertEquals(8, tryBlock.getStartCodeAddress());
358 Assert.assertEquals(14, tryBlock.getCodeUnitCount());
359 Assert.assertEquals(1, tryBlock.getExceptionHandlers().size());
360 Assert.assertEquals("Ljava/lang/RuntimeException;", tryBlock.getExceptionHandlers().get(0).getExceptionType());
361 Assert.assertEquals(23, tryBlock.getExceptionHandlers().get(0).getHandlerCodeAddress());
363 tryBlock = tryBlocks.get(1)
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
MethodDefinition.java 529 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = methodImpl.getTryBlocks();
537 for (TryBlock<? extends ExceptionHandler> tryBlock: tryBlocks) {
538 int startAddress = tryBlock.getStartCodeAddress();
539 int endAddress = startAddress + tryBlock.getCodeUnitCount();
561 for (ExceptionHandler handler: tryBlock.getExceptionHandlers()) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DexWriter.java 49 import org.jf.dexlib2.iface.TryBlock;
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
MethodAnalyzer.java 452 List<? extends TryBlock<? extends ExceptionHandler>> tries = methodImpl.getTryBlocks();
455 TryBlock currentTry = null;
475 TryBlock<? extends ExceptionHandler> tryBlock = tries.get(triesIndex);
476 if (tryBlock.getStartCodeAddress() <= currentCodeAddress) {
477 assert(tryBlock.getStartCodeAddress() + tryBlock.getCodeUnitCount() > currentCodeAddress);
479 currentTry = tryBlock;
481 currentExceptionHandlers = buildExceptionHandlerArray(tryBlock);
593 private AnalyzedInstruction[] buildExceptionHandlerArray(@Nonnull TryBlock<? extends ExceptionHandler> tryBlock)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
MutableMethodImplementation.java 44 import org.jf.dexlib2.iface.TryBlock;
114 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImplementation.getTryBlocks()) {
115 Label startLabel = newLabel(codeAddressToIndex, tryBlock.getStartCodeAddress());
116 Label endLabel = newLabel(codeAddressToIndex, tryBlock.getStartCodeAddress() + tryBlock.getCodeUnitCount());
118 for (ExceptionHandler exceptionHandler: tryBlock.getExceptionHandlers()) {
    [all...]
  /external/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
83 Stmt *tryBlock, ArrayRef<Stmt*> handlers);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
ClassPool.java 149 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks();
155 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) {
156 for (ExceptionHandler handler: tryBlock.getExceptionHandlers()) {
404 @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(
  /prebuilts/tools/common/m2/repository/org/smali/dexlib2/2.1.3/
dexlib2-2.1.3.jar 
  /external/r8/src/main/java/com/android/tools/r8/ir/conversion/
JarSourceCode.java 653 TryCatchBlockNode tryBlock = (TryCatchBlockNode) node.tryCatchBlocks.get(i);
654 if (tryBlockRelevant(tryBlock, offset)) {
655 handlers.add(new TryCatchBlock(tryBlock, this));
    [all...]
  /prebuilts/tools/common/m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.14/
htmlunit-core-js-2.14.jar 
  /prebuilts/tools/common/m2/repository/org/mozilla/rhino/1.7R3/
rhino-1.7R3.jar 
  /prebuilts/devtools/tools/lib/
lint.jar 

Completed in 7106 milliseconds

1 2 3 4