Home
last modified time | relevance | path

Searched refs:exceptionInfo (Results 1 – 25 of 26) sorted by relevance

12

/external/proguard/src/proguard/optimize/peephole/
DUnreachableExceptionRemover.java83 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
88 exceptionInfo.u2startPC, in visitExceptionInfo()
89 exceptionInfo.u2endPC)) in visitExceptionInfo()
92 exceptionInfo.u2endPC = exceptionInfo.u2startPC; in visitExceptionInfo()
96 … extraExceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo()
147 ExceptionInfo exceptionInfo = exceptionInfos[index]; in removeEmptyExceptions() local
148 if (exceptionInfo.u2startPC < exceptionInfo.u2endPC) in removeEmptyExceptions()
150 exceptionInfos[newIndex++] = exceptionInfo; in removeEmptyExceptions()
DReachableCodeMarker.java183 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
186 if (!isReachable(exceptionInfo.u2handlerPC) && in visitExceptionInfo()
187 isReachable(exceptionInfo.u2startPC, exceptionInfo.u2endPC)) in visitExceptionInfo()
189 markCode(clazz, method, codeAttribute, exceptionInfo.u2handlerPC); in visitExceptionInfo()
DBranchTargetFinder.java627 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
629 int startPC = exceptionInfo.u2startPC; in visitExceptionInfo()
630 int endPC = exceptionInfo.u2endPC; in visitExceptionInfo()
631 int handlerPC = exceptionInfo.u2handlerPC; in visitExceptionInfo()
/external/proguard/src/proguard/classfile/editor/
DExceptionInfoAdder.java54 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
58 new ExceptionInfo(exceptionInfo.u2startPC, in visitExceptionInfo()
59 exceptionInfo.u2endPC, in visitExceptionInfo()
60 exceptionInfo.u2handlerPC, in visitExceptionInfo()
61 exceptionInfo.u2catchType == 0 ? 0 : in visitExceptionInfo()
62 constantAdder.addConstant(clazz, exceptionInfo.u2catchType)); in visitExceptionInfo()
DCodeAttributeComposer.java308 public void appendException(ExceptionInfo exceptionInfo) in appendException() argument
312 …print(" ", "Exception ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+excepti… in appendException()
316 visitExceptionInfo(null, null, null, exceptionInfo); in appendException()
320 …System.out.println(" -> ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.u2endPC+": "+exceptionInfo in appendException()
324 if (exceptionInfo.u2startPC == exceptionInfo.u2endPC) in appendException()
338 exceptionInfo); in appendException()
390 ExceptionInfo exceptionInfo = exceptionTable[index]; in endCodeFragment() local
393 int handlerPC = -exceptionInfo.u2handlerPC; in endCodeFragment()
398 exceptionInfo.u2handlerPC = newInstructionOffset(handlerPC); in endCodeFragment()
588 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
[all …]
DCodeAttributeEditor.java915 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
919 exceptionInfo.u2startPC = newInstructionOffset(exceptionInfo.u2startPC); in visitExceptionInfo()
920 exceptionInfo.u2endPC = newInstructionOffset(exceptionInfo.u2endPC); in visitExceptionInfo()
921 exceptionInfo.u2handlerPC = newInstructionOffset(exceptionInfo.u2handlerPC); in visitExceptionInfo()
1132 ExceptionInfo exceptionInfo = exceptionInfos[index]; in removeEmptyExceptions() local
1133 if (exceptionInfo.u2startPC < exceptionInfo.u2endPC) in removeEmptyExceptions()
1135 exceptionInfos[newIndex++] = exceptionInfo; in removeEmptyExceptions()
DConstantPoolRemapper.java495 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
497 if (exceptionInfo.u2catchType != 0) in visitExceptionInfo()
499 exceptionInfo.u2catchType = in visitExceptionInfo()
500 remapConstantIndex(exceptionInfo.u2catchType); in visitExceptionInfo()
/external/proguard/src/proguard/preverify/
DCodeSubroutineInliner.java346 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
348 int startPC = Math.max(exceptionInfo.u2startPC, clipStart); in visitExceptionInfo()
349 int endPC = Math.min(exceptionInfo.u2endPC, clipEnd); in visitExceptionInfo()
350 int handlerPC = exceptionInfo.u2handlerPC; in visitExceptionInfo()
351 int catchType = exceptionInfo.u2catchType; in visitExceptionInfo()
363 … if (!exceptionInfo.isApplicable(offset + ((BranchInstruction)instruction).branchOffset)) in visitExceptionInfo()
384 if (startPC == exceptionInfo.u2startPC && in visitExceptionInfo()
385 endPC == exceptionInfo.u2endPC) in visitExceptionInfo()
391 …System.out.println(" Appending clipped exception ["+exceptionInfo.u2startPC+" -> "+exceptionInfo.… in visitExceptionInfo()
/external/proguard/src/proguard/classfile/attribute/
DCodeAttribute.java166 ExceptionInfo exceptionInfo = exceptionTable[index]; in exceptionsAccept() local
167 if (exceptionInfo.isApplicable(offset)) in exceptionsAccept()
169 exceptionInfoVisitor.visitExceptionInfo(clazz, method, this, exceptionInfo); in exceptionsAccept()
183 ExceptionInfo exceptionInfo = exceptionTable[index]; in exceptionsAccept() local
184 if (exceptionInfo.isApplicable(startOffset, endOffset)) in exceptionsAccept()
186 exceptionInfoVisitor.visitExceptionInfo(clazz, method, this, exceptionInfo); in exceptionsAccept()
/external/proguard/src/proguard/classfile/visitor/
DExceptionOffsetFilter.java57 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
59 if (exceptionInfo.isApplicable(instructionOffset)) in visitExceptionInfo()
61 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo()
DExceptionExcludedOffsetFilter.java57 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
59 if (!exceptionInfo.isApplicable(instructionOffset)) in visitExceptionInfo()
61 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo()
DExceptionRangeFilter.java61 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
63 if (exceptionInfo.isApplicable(startOffset, endOffset)) in visitExceptionInfo()
65 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo()
DExceptionHandlerFilter.java61 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
63 int handlerPC = exceptionInfo.u2handlerPC; in visitExceptionInfo()
67 exceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo()
DExceptionHandlerConstantVisitor.java54 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
56 int catchType = exceptionInfo.u2catchType; in visitExceptionInfo()
DExceptionCounter.java48 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
DClassPrinter.java774 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
776 println(visitorInfo(exceptionInfo) + in visitExceptionInfo()
778 exceptionInfo.u2startPC + " -> " + in visitExceptionInfo()
779 exceptionInfo.u2endPC + ": " + in visitExceptionInfo()
780 exceptionInfo.u2handlerPC + "):"); in visitExceptionInfo()
782 if (exceptionInfo.u2catchType != 0) in visitExceptionInfo()
784 clazz.constantPoolEntryAccept(exceptionInfo.u2catchType, this); in visitExceptionInfo()
DClassCleaner.java237 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
239 clean(exceptionInfo); in visitExceptionInfo()
/external/proguard/src/proguard/optimize/
DTailRecursionSimplifier.java224 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
226 codeAttributeComposer.appendException(new ExceptionInfo(exceptionInfo.u2startPC, in visitExceptionInfo()
227 exceptionInfo.u2endPC, in visitExceptionInfo()
228 exceptionInfo.u2handlerPC, in visitExceptionInfo()
229 exceptionInfo.u2catchType)); in visitExceptionInfo()
264 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
/external/proguard/src/proguard/optimize/evaluation/
DLivenessAnalyzer.java386 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
389 long alive = isAliveBefore[exceptionInfo.u2handlerPC];
393 int startOffset = exceptionInfo.u2startPC;
394 int endOffset = exceptionInfo.u2endPC;
DPartialEvaluator.java1030 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
1032 int startPC = exceptionInfo.u2startPC; in visitExceptionInfo()
1033 int endPC = exceptionInfo.u2endPC; in visitExceptionInfo()
1038 int handlerPC = exceptionInfo.u2handlerPC; in visitExceptionInfo()
1039 int catchType = exceptionInfo.u2catchType; in visitExceptionInfo()
1102 …on for partial evaluation of exception ["+startPC +" -> "+endPC +": "+exceptionInfo.u2handlerPC+"]… in visitExceptionInfo()
/external/proguard/src/proguard/classfile/attribute/visitor/
DExceptionInfoVisitor.java36 …xceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo); in visitExceptionInfo() argument
DStackSizeComputer.java255 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
270 exceptionInfo.u2handlerPC); in visitExceptionInfo()
/external/proguard/src/proguard/classfile/io/
DProgramClassReader.java432 ExceptionInfo exceptionInfo = new ExceptionInfo(); in visitCodeAttribute() local
433 visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitCodeAttribute()
434 codeAttribute.exceptionTable[index] = exceptionInfo; in visitCodeAttribute()
632 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
634 exceptionInfo.u2startPC = dataInput.readUnsignedShort(); in visitExceptionInfo()
635 exceptionInfo.u2endPC = dataInput.readUnsignedShort(); in visitExceptionInfo()
636 exceptionInfo.u2handlerPC = dataInput.readUnsignedShort(); in visitExceptionInfo()
637 exceptionInfo.u2catchType = dataInput.readUnsignedShort(); in visitExceptionInfo()
DProgramClassWriter.java539 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
541 dataOutput.writeShort(exceptionInfo.u2startPC); in visitExceptionInfo()
542 dataOutput.writeShort(exceptionInfo.u2endPC); in visitExceptionInfo()
543 dataOutput.writeShort(exceptionInfo.u2handlerPC); in visitExceptionInfo()
544 dataOutput.writeShort(exceptionInfo.u2catchType); in visitExceptionInfo()
/external/proguard/src/proguard/shrink/
DUsageMarker.java822 …ExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo) in visitExceptionInfo() argument
824 markAsUsed(exceptionInfo); in visitExceptionInfo()
826 if (exceptionInfo.u2catchType != 0) in visitExceptionInfo()
828 markConstant(clazz, exceptionInfo.u2catchType); in visitExceptionInfo()

12