/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
D | VerificationTypeVisitor.java | 36 …public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitIntegerType() argument 37 …public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitFloatType() argument 38 …public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitLongType() argument 39 …public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitDoubleType() argument 40 …public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitTopType() argument 41 …public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitObjectType() argument 42 …public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitNullType() argument 43 …public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitUninitializedType() argument 44 …public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, in… in visitUninitializedThisType() argument 46 …tStackIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, i… in visitStackIntegerType() argument [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | CodeAttributeEditor.java | 395 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 406 visitCodeAttribute0(clazz, method, codeAttribute); in visitCodeAttribute() 420 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute0() argument 431 if (canPerformSimpleReplacements(codeAttribute)) in visitCodeAttribute0() 439 performSimpleReplacements(codeAttribute); in visitCodeAttribute0() 449 codeAttribute.u4codeLength = in visitCodeAttribute0() 450 updateInstructions(clazz, method, codeAttribute); in visitCodeAttribute0() 453 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute0() 456 codeAttribute.u2exceptionTableLength = in visitCodeAttribute0() 457 removeEmptyExceptions(codeAttribute.exceptionTable, in visitCodeAttribute0() [all …]
|
D | CodeAttributeComposer.java | 417 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 433 if (codeAttribute.u4codeLength < codeLength) in visitCodeAttribute() 435 codeAttribute.code = new byte[codeLength]; in visitCodeAttribute() 439 codeAttribute.u4codeLength = codeLength; in visitCodeAttribute() 440 System.arraycopy(code, 0, codeAttribute.code, 0, codeLength); in visitCodeAttribute() 448 if (codeAttribute.exceptionTable.length < exceptionTableLength) in visitCodeAttribute() 450 codeAttribute.exceptionTable = new ExceptionInfo[exceptionTableLength]; in visitCodeAttribute() 454 codeAttribute.u2exceptionTableLength = exceptionTableLength; in visitCodeAttribute() 455 System.arraycopy(exceptionTable, 0, codeAttribute.exceptionTable, 0, exceptionTableLength); in visitCodeAttribute() 458 stackSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() [all …]
|
D | VariableRemapper.java | 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 94 for (int index= 0; index < codeAttribute.u2maxLocals; index++) in visitCodeAttribute() 102 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 105 codeAttributeEditor.reset(codeAttribute.u4codeLength); in visitCodeAttribute() 108 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 111 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 115 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument 118 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); in visitLocalVariableTableAttribute() 122 …lVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTypeTableAttribute() argument 125 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); in visitLocalVariableTypeTableAttribute() [all …]
|
D | ConstantPoolRemapper.java | 358 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 360 codeAttribute.u2attributeNameIndex = in visitCodeAttribute() 361 remapConstantIndex(codeAttribute.u2attributeNameIndex); in visitCodeAttribute() 364 codeAttributeEditor.reset(codeAttribute.u4codeLength); in visitCodeAttribute() 367 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 371 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 374 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 375 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 379 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 385 stackMapAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapAttribute() [all …]
|
D | VariableSizeUpdater.java | 57 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 64 codeAttribute.u2maxLocals = in visitCodeAttribute() 71 System.out.println(" Max locals: "+codeAttribute.u2maxLocals+" <- parameters"); in visitCodeAttribute() 75 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 78 variableCleaner.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 84 …public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offse… in visitAnyInstruction() argument 87 …public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitVariableInstruction() argument 95 if (codeAttribute.u2maxLocals < variableSize) in visitVariableInstruction() 97 codeAttribute.u2maxLocals = variableSize; in visitVariableInstruction() 101 …System.out.println(" Max locals: "+codeAttribute.u2maxLocals+" <- "+variableInstruction.toString(… in visitVariableInstruction()
|
D | InstructionWriter.java | 87 …public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitSimpleInstruction() argument 91 simpleInstruction.write(codeAttribute, offset); in visitSimpleInstruction() 95 …public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitConstantInstruction() argument 100 constantInstruction.write(codeAttribute, offset); in visitConstantInstruction() 120 constantInstruction.write(codeAttribute, offset); in visitConstantInstruction() 125 …public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitVariableInstruction() argument 130 variableInstruction.write(codeAttribute, offset); in visitVariableInstruction() 150 variableInstruction.write(codeAttribute, offset); in visitVariableInstruction() 155 …public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitBranchInstruction() argument 160 branchInstruction.write(codeAttribute, offset); in visitBranchInstruction() [all …]
|
D | ConstantPoolShrinker.java | 273 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 275 markConstant(clazz, codeAttribute.u2attributeNameIndex); in visitCodeAttribute() 279 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 280 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 281 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 285 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 290 stackMapAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapAttribute() 294 …public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, S… in visitStackMapTableAttribute() argument 299 stackMapTableAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapTableAttribute() 303 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument [all …]
|
D | AttributeAdder.java | 259 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 263 new CodeAttribute(constantAdder.addConstant(clazz, codeAttribute.u2attributeNameIndex), in visitCodeAttribute() 264 codeAttribute.u2maxStack, in visitCodeAttribute() 265 codeAttribute.u2maxLocals, in visitCodeAttribute() 269 codeAttribute.u2exceptionTableLength > 0 ? in visitCodeAttribute() 270 new ExceptionInfo[codeAttribute.u2exceptionTableLength] : in visitCodeAttribute() 273 codeAttribute.u2attributesCount > 0 ? in visitCodeAttribute() 274 new Attribute[codeAttribute.u2attributesCount] : in visitCodeAttribute() 279 codeAttributeComposer.beginCodeFragment(codeAttribute.u4codeLength + 32); in visitCodeAttribute() 282 codeAttribute.instructionsAccept(clazz, in visitCodeAttribute() [all …]
|
/external/proguard/src/proguard/classfile/util/ |
D | SimplifiedVisitor.java | 373 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 375 visitAnyAttribute(clazz, codeAttribute); in visitCodeAttribute() 379 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 385 …public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, S… in visitStackMapTableAttribute() argument 391 …sitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTab… in visitLineNumberTableAttribute() argument 397 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument 403 …lVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTypeTableAttribute() argument 529 …bleTypeAnnotationsAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, RuntimeVisibl… in visitRuntimeVisibleTypeAnnotationsAttribute() argument 562 …bleTypeAnnotationsAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, RuntimeInvisi… in visitRuntimeInvisibleTypeAnnotationsAttribute() argument 579 …public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offse… in visitAnyInstruction() argument [all …]
|
/external/proguard/src/proguard/optimize/peephole/ |
D | ReachableCodeMarker.java | 84 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 87 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() 100 markCode(clazz, method, codeAttribute, 0); in visitCodeAttribute() 107 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 115 …public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitSimpleInstruction() argument 131 …public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitConstantInstruction() argument 136 …public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitVariableInstruction() argument 145 …public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitBranchInstruction() argument 150 codeAttribute, in visitBranchInstruction() 162 …public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int… in visitAnySwitchInstruction() argument [all …]
|
D | MethodInliner.java | 138 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 145 visitCodeAttribute0(clazz, method, codeAttribute); in visitCodeAttribute() 176 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute0() argument 188 estimatedResultingCodeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() 193 stackSizeComputer.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute0() 196 copyCode(clazz, method, codeAttribute); in visitCodeAttribute0() 205 codeAttributeComposer.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute0() 208 codeAttribute.instructionsAccept(clazz, method, accessMethodMarker); in visitCodeAttribute0() 211 catchExceptionMarker.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute0() 218 codeAttribute.u4codeLength <= MAXIMUM_INLINED_CODE_LENGTH) && in visitCodeAttribute0() [all …]
|
D | UnreachableExceptionRemover.java | 69 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 72 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 75 codeAttribute.u2exceptionTableLength = in visitCodeAttribute() 76 removeEmptyExceptions(codeAttribute.exceptionTable, in visitCodeAttribute() 77 codeAttribute.u2exceptionTableLength); in visitCodeAttribute() 83 …public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionI… in visitExceptionInfo() argument 87 codeAttribute, in visitExceptionInfo() 96 … extraExceptionInfoVisitor.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); in visitExceptionInfo() 109 CodeAttribute codeAttribute, in mayThrowExceptions() argument 113 byte[] code = codeAttribute.code; in mayThrowExceptions()
|
D | GotoCommonCodeReplacer.java | 72 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 79 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 82 codeAttributeEditor.reset(codeAttribute.u4codeLength); in visitCodeAttribute() 85 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 88 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 94 …public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offse… in visitAnyInstruction() argument 97 …public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitBranchInstruction() argument 110 int commonCount = commonByteCodeCount(codeAttribute, offset, targetOffset); in visitBranchInstruction() 113 !exceptionBoundary(codeAttribute, offset, targetOffset)) in visitBranchInstruction() 144 …extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruc… in visitBranchInstruction() [all …]
|
/external/proguard/src/proguard/optimize/ |
D | ChangedCodePrinter.java | 158 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 160 attributeVisitor.visitStackMapAttribute(clazz, method, codeAttribute, stackMapAttribute); in visitStackMapAttribute() 164 …public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, S… in visitStackMapTableAttribute() argument 166 …attributeVisitor.visitStackMapTableAttribute(clazz, method, codeAttribute, stackMapTableAttribute); in visitStackMapTableAttribute() 170 …sitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTab… in visitLineNumberTableAttribute() argument 172 …attributeVisitor.visitLineNumberTableAttribute(clazz, method, codeAttribute, lineNumberTableAttrib… in visitLineNumberTableAttribute() 176 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument 178 …attributeVisitor.visitLocalVariableTableAttribute(clazz, method, codeAttribute, localVariableTable… in visitLocalVariableTableAttribute() 182 …lVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTypeTableAttribute() argument 184 …attributeVisitor.visitLocalVariableTypeTableAttribute(clazz, method, codeAttribute, localVariableT… in visitLocalVariableTypeTableAttribute() [all …]
|
/external/proguard/src/proguard/classfile/visitor/ |
D | ClassCleaner.java | 146 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 148 clean(codeAttribute); in visitCodeAttribute() 150 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 151 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 155 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 159 stackMapAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapAttribute() 163 …public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, S… in visitStackMapTableAttribute() argument 167 stackMapTableAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapTableAttribute() 171 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument 175 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); in visitLocalVariableTableAttribute() [all …]
|
D | ClassPrinter.java | 517 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 519 println(visitorInfo(codeAttribute) + in visitCodeAttribute() 520 " Code attribute instructions (code length = "+ codeAttribute.u4codeLength + in visitCodeAttribute() 521 ", locals = "+ codeAttribute.u2maxLocals + in visitCodeAttribute() 522 ", stack = "+ codeAttribute.u2maxStack + "):"); in visitCodeAttribute() 526 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 529 codeAttribute.u2exceptionTableLength + "):"); in visitCodeAttribute() 531 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 534 codeAttribute.u2attributesCount + "):"); in visitCodeAttribute() 536 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() [all …]
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
D | StackSizeComputer.java | 99 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 110 visitCodeAttribute0(clazz, method, codeAttribute); in visitCodeAttribute() 129 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute0() argument 137 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() 153 evaluateInstructionBlock(clazz, method, codeAttribute, 0); in visitCodeAttribute0() 156 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute0() 162 …public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitSimpleInstruction() argument 177 …public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitConstantInstruction() argument 183 …public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitVariableInstruction() argument 192 …public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitBranchInstruction() argument [all …]
|
/external/proguard/src/proguard/classfile/io/ |
D | ProgramClassWriter.java | 395 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 398 dataOutput.writeShort(codeAttribute.u2maxStack); in visitCodeAttribute() 399 dataOutput.writeShort(codeAttribute.u2maxLocals); in visitCodeAttribute() 402 dataOutput.writeInt(codeAttribute.u4codeLength); in visitCodeAttribute() 404 dataOutput.write(codeAttribute.code, 0, codeAttribute.u4codeLength); in visitCodeAttribute() 407 dataOutput.writeShort(codeAttribute.u2exceptionTableLength); in visitCodeAttribute() 409 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 412 dataOutput.writeShort(codeAttribute.u2attributesCount); in visitCodeAttribute() 414 codeAttribute.attributesAccept(clazz, method, ProgramClassWriter.this); in visitCodeAttribute() 418 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument [all …]
|
/external/proguard/src/proguard/optimize/info/ |
D | ExceptionInstructionChecker.java | 49 CodeAttribute codeAttribute) in mayThrowExceptions() argument 53 codeAttribute, in mayThrowExceptions() 55 codeAttribute.u4codeLength); in mayThrowExceptions() 64 CodeAttribute codeAttribute, in mayThrowExceptions() argument 68 byte[] code = codeAttribute.code; in mayThrowExceptions() 80 codeAttribute, in mayThrowExceptions() 100 CodeAttribute codeAttribute, in mayThrowExceptions() argument 103 Instruction instruction = InstructionFactory.create(codeAttribute.code, offset); in mayThrowExceptions() 107 codeAttribute, in mayThrowExceptions() 118 CodeAttribute codeAttribute, in mayThrowExceptions() argument [all …]
|
/external/proguard/src/proguard/preverify/ |
D | CodeSubroutineInliner.java | 64 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 76 visitCodeAttribute0(clazz, method, codeAttribute); in visitCodeAttribute() 95 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute0() argument 97 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute0() 112 codeAttributeComposer.beginCodeFragment(codeAttribute.u4codeLength); in visitCodeAttribute0() 116 while (offset < codeAttribute.u4codeLength) in visitCodeAttribute0() 118 Instruction instruction = InstructionFactory.create(codeAttribute.code, offset); in visitCodeAttribute0() 137 instruction.accept(clazz, method, codeAttribute, offset, this); in visitCodeAttribute0() 145 codeAttribute.exceptionsAccept(clazz, in visitCodeAttribute0() 155 codeAttributeComposer.appendLabel(codeAttribute.u4codeLength); in visitCodeAttribute0() [all …]
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
D | MultiInstructionVisitor.java | 84 …public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitSimpleInstruction() argument 88 …instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInst… in visitSimpleInstruction() 92 …public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitVariableInstruction() argument 96 …instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variable… in visitVariableInstruction() 100 …public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int … in visitConstantInstruction() argument 104 …instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constant… in visitConstantInstruction() 108 …public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int of… in visitBranchInstruction() argument 112 …instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInst… in visitBranchInstruction() 116 …public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, i… in visitTableSwitchInstruction() argument 120 …instructionVisitors[index].visitTableSwitchInstruction(clazz, method, codeAttribute, offset, table… in visitTableSwitchInstruction() [all …]
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | PartialEvaluator.java | 176 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 187 visitCodeAttribute0(clazz, method, codeAttribute); in visitCodeAttribute() 215 Instruction instruction = InstructionFactory.create(codeAttribute.code, in visitCodeAttribute() 239 while (offset < codeAttribute.u4codeLength); in visitCodeAttribute() 247 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute0() argument 254 System.out.println(" Max locals = "+codeAttribute.u2maxLocals); in visitCodeAttribute0() 255 System.out.println(" Max stack = "+codeAttribute.u2maxStack); in visitCodeAttribute0() 259 TracedVariables variables = new TracedVariables(codeAttribute.u2maxLocals); in visitCodeAttribute0() 260 TracedStack stack = new TracedStack(codeAttribute.u2maxStack); in visitCodeAttribute0() 263 initializeArrays(codeAttribute); in visitCodeAttribute0() [all …]
|
D | VariableOptimizer.java | 95 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 102 initializeArrays(codeAttribute); in visitCodeAttribute() 105 livenessAnalyzer.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 110 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 120 int variableSize = codeAttribute.u2maxLocals; in visitCodeAttribute() 121 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() 167 variableRemapper.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 178 variableCleaner.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute() 183 …LocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariable… in visitLocalVariableTableAttribute() argument 186 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); in visitLocalVariableTableAttribute() [all …]
|
/external/proguard/src/proguard/shrink/ |
D | UsageMarker.java | 242 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 244 if (codeAttribute.u4codeLength > 1) in visitCodeAttribute() 711 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) in visitCodeAttribute() argument 713 markAsUsed(codeAttribute); in visitCodeAttribute() 715 markConstant(clazz, codeAttribute.u2attributeNameIndex); in visitCodeAttribute() 719 codeAttribute.instructionsAccept(clazz, method, this); in visitCodeAttribute() 720 codeAttribute.exceptionsAccept(clazz, method, this); in visitCodeAttribute() 721 codeAttribute.attributesAccept(clazz, method, this); in visitCodeAttribute() 725 …public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackM… in visitStackMapAttribute() argument 732 stackMapAttribute.stackMapFramesAccept(clazz, method, codeAttribute, this); in visitStackMapAttribute() [all …]
|