HomeSort by relevance Sort by last modified time
    Searched refs:ExceptionInfo (Results 1 - 25 of 32) 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 256 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
271 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 74 private ExceptionInfo[] exceptionTable = new ExceptionInfo[ClassConstants.TYPICAL_EXCEPTION_TABLE_LENGTH];
219 * @param exceptionInfo the exception to be appended.
221 public void appendException(ExceptionInfo exceptionInfo)
225 print(" ", "Exception ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+exceptionInfo.u2handlerPC+"]");
229 visitExceptionInfo(null, null, null, exceptionInfo);
233 System.out.println(" -> ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+exceptionInfo.u2handlerPC+"]")
    [all...]
AttributeAdder.java 43 private static final ExceptionInfo[] EMPTY_EXCEPTIONS = new ExceptionInfo[0];
250 new ExceptionInfo[codeAttribute.u2exceptionTableLength] :
CodeAttributeEditor.java 826 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
830 exceptionInfo.u2startPC = remapInstructionOffset(exceptionInfo.u2startPC);
831 exceptionInfo.u2endPC = remapInstructionOffset(exceptionInfo.u2endPC);
832 exceptionInfo.u2handlerPC = remapInstructionOffset(exceptionInfo.u2handlerPC);
    [all...]
  /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 184 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
187 if (!isReachable(exceptionInfo.u2handlerPC) &&
188 isReachable(exceptionInfo.u2startPC, exceptionInfo.u2endPC))
190 markCode(clazz, method, codeAttribute, exceptionInfo.u2handlerPC);
BranchTargetFinder.java 601 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
604 instructionMarks[exceptionInfo.u2startPC] |= EXCEPTION_START;
605 instructionMarks[exceptionInfo.u2endPC] |= EXCEPTION_END;
606 instructionMarks[exceptionInfo.u2handlerPC] |= EXCEPTION_HANDLER;
  /external/webkit/JavaScriptCore/runtime/
Executable.h 42 struct ExceptionInfo;
143 virtual ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*) = 0;
175 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*);
222 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*) { ASSERT_NOT_REACHED(); return 0; }
291 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*);
Executable.cpp 181 ExceptionInfo* FunctionExecutable::reparseExceptionInfo(JSGlobalData* globalData, ScopeChainNode* scopeChainNode, CodeBlock* codeBlock)
210 ExceptionInfo* EvalExecutable::reparseExceptionInfo(JSGlobalData* globalData, ScopeChainNode* scopeChainNode, CodeBlock* codeBlock)
  /external/proguard/src/proguard/preverify/
CodeSubroutineInliner.java 349 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
351 int startPC = Math.max(exceptionInfo.u2startPC, clipStart);
352 int endPC = Math.min(exceptionInfo.u2endPC, clipEnd);
353 int handlerPC = exceptionInfo.u2handlerPC;
354 int catchType = exceptionInfo.u2catchType;
366 if (!exceptionInfo.isApplicable(offset + ((BranchInstruction)instruction).branchOffset))
374 codeAttributeComposer.appendException(new ExceptionInfo(startPC,
387 if (startPC == exceptionInfo.u2startPC &&
388 endPC == exceptionInfo.u2endPC
    [all...]
  /external/webkit/JavaScriptCore/bytecode/
CodeBlock.h 251 struct ExceptionInfo : FastAllocBase {
419 ExceptionInfo* extractExceptionInfo() { ASSERT(m_exceptionInfo); return m_exceptionInfo.release(); }
543 OwnPtr<ExceptionInfo> m_exceptionInfo;
  /external/proguard/src/proguard/classfile/io/
ProgramClassReader.java 371 codeAttribute.exceptionTable = new ExceptionInfo[codeAttribute.u2exceptionTableLength];
374 ExceptionInfo exceptionInfo = new ExceptionInfo();
375 this.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
376 codeAttribute.exceptionTable[index] = exceptionInfo;
543 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
545 exceptionInfo.u2startPC = dataInput.readUnsignedShort();
546 exceptionInfo.u2endPC = dataInput.readUnsignedShort()
    [all...]
  /external/proguard/src/proguard/optimize/
TailRecursionSimplifier.java 240 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
  /external/proguard/src/proguard/optimize/evaluation/
LivenessAnalyzer.java 376 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
379 long alive = isAliveBefore[exceptionInfo.u2handlerPC];
383 int startOffset = exceptionInfo.u2startPC;
384 int endOffset = exceptionInfo.u2endPC;

Completed in 338 milliseconds

1 2