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

1 2

  /external/proguard/src/proguard/classfile/attribute/
ExceptionInfo.java 30 public class ExceptionInfo implements VisitorAccepter
44 * Creates an uninitialized ExceptionInfo.
46 public ExceptionInfo()
53 * Creates an ExceptionInfo with the given properties.
55 public ExceptionInfo(int u2startPC,
CodeAttribute.java 40 public ExceptionInfo[] exceptionTable;
62 ExceptionInfo[] exceptionTable,
152 // type of ExceptionInfo.
166 ExceptionInfo exceptionInfo = exceptionTable[index];
167 if (exceptionInfo.isApplicable(offset))
169 exceptionInfoVisitor.visitExceptionInfo(clazz, method, this, exceptionInfo);
183 ExceptionInfo exceptionInfo = exceptionTable[index];
184 if (exceptionInfo.isApplicable(startOffset, endOffset)
    [all...]
  /external/proguard/src/proguard/classfile/attribute/visitor/
ExceptionInfoVisitor.java 28 * <code>ExceptionInfo</code> objects. Note that there is only a single
29 * implementation of <code>ExceptionInfo</code>, such that this interface
36 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo);
StackSizeComputer.java 255 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
270 exceptionInfo.u2handlerPC);
  /external/proguard/src/proguard/classfile/editor/
ExceptionInfoAdder.java 54 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
57 ExceptionInfo newExceptionInfo =
58 new ExceptionInfo(exceptionInfo.u2startPC,
59 exceptionInfo.u2endPC,
60 exceptionInfo.u2handlerPC,
61 exceptionInfo.u2catchType == 0 ? 0 :
62 constantAdder.addConstant(clazz, exceptionInfo.u2catchType));
CodeAttributeComposer.java 78 private ExceptionInfo[] exceptionTable = new ExceptionInfo[ClassConstants.TYPICAL_EXCEPTION_TABLE_LENGTH];
297 * @param exceptionInfo the exception to be appended.
299 public void appendException(ExceptionInfo exceptionInfo)
303 print(" ", "Exception ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+exceptionInfo.u2handlerPC+"]");
307 visitExceptionInfo(null, null, null, exceptionInfo);
311 System.out.println(" -> ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+exceptionInfo.u2handlerPC+"]")
    [all...]
AttributeAdder.java 43 private static final ExceptionInfo[] EMPTY_EXCEPTIONS = new ExceptionInfo[0];
248 new ExceptionInfo[codeAttribute.u2exceptionTableLength] :
CodeAttributeEditor.java 902 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
906 exceptionInfo.u2startPC = newInstructionOffset(exceptionInfo.u2startPC);
907 exceptionInfo.u2endPC = newInstructionOffset(exceptionInfo.u2endPC)
    [all...]
ConstantPoolShrinker.java 361 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
363 if (exceptionInfo.u2catchType != 0)
365 markConstant(clazz, exceptionInfo.u2catchType);
  /external/proguard/src/proguard/classfile/visitor/
ExceptionCounter.java 48 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
ExceptionExcludedOffsetFilter.java 57 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
59 if (!exceptionInfo.isApplicable(instructionOffset))
61 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
ExceptionHandlerConstantVisitor.java 54 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
56 int catchType = exceptionInfo.u2catchType;
ExceptionHandlerFilter.java 61 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
63 int handlerPC = exceptionInfo.u2handlerPC;
67 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
ExceptionOffsetFilter.java 57 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
59 if (exceptionInfo.isApplicable(instructionOffset))
61 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
ExceptionRangeFilter.java 61 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
63 if (exceptionInfo.isApplicable(startOffset, endOffset))
65 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
ClassCleaner.java 184 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
186 clean(exceptionInfo);
  /external/proguard/src/proguard/optimize/peephole/
UnreachableExceptionRemover.java 86 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
91 exceptionInfo.u2startPC,
92 exceptionInfo.u2endPC))
95 exceptionInfo.u2endPC = exceptionInfo.u2startPC;
99 extraExceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
147 private int removeEmptyExceptions(ExceptionInfo[] exceptionInfos,
154 ExceptionInfo exceptionInfo = exceptionInfos[index]
    [all...]
ReachableCodeMarker.java 183 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
186 if (!isReachable(exceptionInfo.u2handlerPC) &&
187 isReachable(exceptionInfo.u2startPC, exceptionInfo.u2endPC))
189 markCode(clazz, method, codeAttribute, exceptionInfo.u2handlerPC);
BranchTargetFinder.java 622 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
625 instructionMarks[exceptionInfo.u2startPC] |= EXCEPTION_START;
626 instructionMarks[exceptionInfo.u2endPC] |= EXCEPTION_END;
627 instructionMarks[exceptionInfo.u2handlerPC] |= EXCEPTION_HANDLER;
  /external/javassist/src/main/javassist/bytecode/analysis/
Analyzer.java 88 private ExceptionInfo[] exceptions;
92 private static class ExceptionInfo {
98 private ExceptionInfo(int start, int end, int handler, Type type) {
212 private ExceptionInfo[] buildExceptionInfo(MethodInfo method) {
217 ExceptionInfo[] exceptions = new ExceptionInfo[table.size()];
227 exceptions[i] = new ExceptionInfo(table.startPc(i), table.endPc(i), table.handlerPc(i), type);
294 ExceptionInfo exception = exceptions[i];
  /external/proguard/src/proguard/optimize/
TailRecursionSimplifier.java 225 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
227 codeAttributeComposer.appendException(new ExceptionInfo(exceptionInfo.u2startPC,
228 exceptionInfo.u2endPC,
229 exceptionInfo.u2handlerPC,
230 exceptionInfo.u2catchType));
265 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
  /external/proguard/src/proguard/preverify/
CodeSubroutineInliner.java 333 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
335 int startPC = Math.max(exceptionInfo.u2startPC, clipStart);
336 int endPC = Math.min(exceptionInfo.u2endPC, clipEnd);
337 int handlerPC = exceptionInfo.u2handlerPC;
338 int catchType = exceptionInfo.u2catchType;
350 if (!exceptionInfo.isApplicable(offset + ((BranchInstruction)instruction).branchOffset))
358 codeAttributeComposer.appendException(new ExceptionInfo(startPC,
371 if (startPC == exceptionInfo.u2startPC &&
372 endPC == exceptionInfo.u2endPC
    [all...]
  /external/llvm/lib/Support/
CrashRecoveryContext.cpp 156 static LONG CALLBACK ExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
  /external/proguard/src/proguard/classfile/io/
ProgramClassReader.java 407 codeAttribute.exceptionTable = new ExceptionInfo[codeAttribute.u2exceptionTableLength];
410 ExceptionInfo exceptionInfo = new ExceptionInfo();
411 visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
412 codeAttribute.exceptionTable[index] = exceptionInfo;
595 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
597 exceptionInfo.u2startPC = dataInput.readUnsignedShort();
598 exceptionInfo.u2endPC = dataInput.readUnsignedShort()
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
LivenessAnalyzer.java 386 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
389 long alive = isAliveBefore[exceptionInfo.u2handlerPC];
393 int startOffset = exceptionInfo.u2startPC;
394 int endOffset = exceptionInfo.u2endPC;

Completed in 2584 milliseconds

1 2