/external/proguard/src/proguard/classfile/editor/ |
D | VariableCleaner.java | 141 LocalVariableInfo localVariableInfo = localVariableInfos[index]; in removeUnusedLocalVariables() local 143 if (localVariableInfo.u2index >= 0 && in removeUnusedLocalVariables() 144 localVariableInfo.u2index < maxLocals && in removeUnusedLocalVariables() 145 (localVariableInfo.u2startPC == 0 || in removeUnusedLocalVariables() 146 localVariableInfo.u2length > 0)) in removeUnusedLocalVariables() 207 LocalVariableInfo localVariableInfo = localVariableInfos[index]; in trimLocalVariables() local 211 int maxLength = startPCs[localVariableInfo.u2index] - in trimLocalVariables() 212 localVariableInfo.u2startPC; in trimLocalVariables() 214 if (localVariableInfo.u2length > maxLength) in trimLocalVariables() 216 localVariableInfo.u2length = maxLength; in trimLocalVariables() [all …]
|
D | LocalVariableInfoAdder.java | 52 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 56 new LocalVariableInfo(localVariableInfo.u2startPC, in visitLocalVariableInfo() 57 localVariableInfo.u2length, in visitLocalVariableInfo() 58 constantAdder.addConstant(clazz, localVariableInfo.u2nameIndex), in visitLocalVariableInfo() 59 … constantAdder.addConstant(clazz, localVariableInfo.u2descriptorIndex), in visitLocalVariableInfo() 60 localVariableInfo.u2index); in visitLocalVariableInfo() 62 newLocalVariableInfo.referencedClass = localVariableInfo.referencedClass; in visitLocalVariableInfo()
|
D | CodeAttributeComposer.java | 682 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 686 int startPC = newInstructionOffset(localVariableInfo.u2startPC); in visitLocalVariableInfo() 687 int endPC = newInstructionOffset(localVariableInfo.u2startPC + in visitLocalVariableInfo() 688 localVariableInfo.u2length); in visitLocalVariableInfo() 690 localVariableInfo.u2startPC = startPC; in visitLocalVariableInfo() 691 localVariableInfo.u2length = endPC - startPC; in visitLocalVariableInfo() 872 LocalVariableInfo localVariableInfo = localVariableInfos[index]; in removeEmptyLocalVariables() local 873 if (localVariableInfo.u2length > 0 && in removeEmptyLocalVariables() 874 localVariableInfo.u2index < maxLocals) in removeEmptyLocalVariables() 876 localVariableInfos[newIndex++] = localVariableInfo; in removeEmptyLocalVariables()
|
D | LocalVariableTableAttributeEditor.java | 50 public void addLocalVariableInfo(LocalVariableInfo localVariableInfo) in addLocalVariableInfo() argument 55 localVariableInfo); in addLocalVariableInfo()
|
D | VariableRemapper.java | 138 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 140 localVariableInfo.u2index = in visitLocalVariableInfo() 141 remapVariable(localVariableInfo.u2index); in visitLocalVariableInfo()
|
D | ConstantPoolRemapper.java | 577 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 579 localVariableInfo.u2nameIndex = in visitLocalVariableInfo() 580 remapConstantIndex(localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 581 localVariableInfo.u2descriptorIndex = in visitLocalVariableInfo() 582 remapConstantIndex(localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo()
|
D | ClassReferenceFixer.java | 367 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 370 String descriptor = localVariableInfo.getDescriptor(clazz); in visitLocalVariableInfo() 372 localVariableInfo.referencedClass); in visitLocalVariableInfo() 377 localVariableInfo.u2descriptorIndex = in visitLocalVariableInfo()
|
D | CodeAttributeEditor.java | 1001 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 1005 …localVariableInfo.u2length = newBranchOffset(localVariableInfo.u2startPC, localVariableInfo.u2len… in visitLocalVariableInfo() 1006 localVariableInfo.u2startPC = newInstructionOffset(localVariableInfo.u2startPC); in visitLocalVariableInfo()
|
D | Utf8Shrinker.java | 312 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 314 markCpUtf8Entry(clazz, localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 315 markCpUtf8Entry(clazz, localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo()
|
D | ConstantPoolShrinker.java | 428 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 430 markConstant(clazz, localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 431 markConstant(clazz, localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo()
|
/external/proguard/src/proguard/shrink/ |
D | LocalVariableTypeUsageMarker.java | 105 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 109 localVariableInfo.referencedClassAccept(this); in visitLocalVariableInfo() 114 usageMarker.markAsUsed(localVariableInfo); in visitLocalVariableInfo() 116 markConstant(clazz, localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 117 markConstant(clazz, localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo()
|
D | UsageMarker.java | 899 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 901 markConstant(clazz, localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 902 markConstant(clazz, localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | VariableOptimizer.java | 199 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 202 int variable = localVariableInfo.u2index; in visitLocalVariableInfo() 203 int startPC = localVariableInfo.u2startPC; in visitLocalVariableInfo() 204 int endPC = startPC + localVariableInfo.u2length; in visitLocalVariableInfo() 213 localVariableInfo.u2startPC = startPC; in visitLocalVariableInfo() 216 localVariableInfo.u2length = length; in visitLocalVariableInfo()
|
D | SimpleEnumDescriptorSimplifier.java | 326 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 329 String descriptor = localVariableInfo.getDescriptor(clazz); in visitLocalVariableInfo() 330 String newDescriptor = simplifyDescriptor(descriptor, localVariableInfo.referencedClass); in visitLocalVariableInfo() 335 localVariableInfo.u2descriptorIndex = in visitLocalVariableInfo() 339 localVariableInfo.referencedClass = null; in visitLocalVariableInfo()
|
/external/proguard/src/proguard/obfuscate/ |
D | ParameterNameMarker.java | 68 LocalVariableInfo localVariableInfo = in visitLocalVariableTableAttribute() local 71 if (localVariableInfo.u2startPC == 0) in visitLocalVariableTableAttribute() 74 localVariableInfo; in visitLocalVariableTableAttribute()
|
/external/proguard/src/proguard/classfile/io/ |
D | ProgramClassReader.java | 503 LocalVariableInfo localVariableInfo = new LocalVariableInfo(); in visitLocalVariableTableAttribute() local 504 visitLocalVariableInfo(clazz, method, codeAttribute, localVariableInfo); in visitLocalVariableTableAttribute() 505 localVariableTableAttribute.localVariableTable[index] = localVariableInfo; in visitLocalVariableTableAttribute() 753 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 755 localVariableInfo.u2startPC = dataInput.readUnsignedShort(); in visitLocalVariableInfo() 756 localVariableInfo.u2length = dataInput.readUnsignedShort(); in visitLocalVariableInfo() 757 localVariableInfo.u2nameIndex = dataInput.readUnsignedShort(); in visitLocalVariableInfo() 758 localVariableInfo.u2descriptorIndex = dataInput.readUnsignedShort(); in visitLocalVariableInfo() 759 localVariableInfo.u2index = dataInput.readUnsignedShort(); in visitLocalVariableInfo()
|
D | ProgramClassWriter.java | 580 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 582 dataOutput.writeShort(localVariableInfo.u2startPC); in visitLocalVariableInfo() 583 dataOutput.writeShort(localVariableInfo.u2length); in visitLocalVariableInfo() 584 dataOutput.writeShort(localVariableInfo.u2nameIndex); in visitLocalVariableInfo() 585 dataOutput.writeShort(localVariableInfo.u2descriptorIndex); in visitLocalVariableInfo() 586 dataOutput.writeShort(localVariableInfo.u2index); in visitLocalVariableInfo()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | TargetClassChanger.java | 303 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 306 localVariableInfo.referencedClass = in visitLocalVariableInfo() 307 updateReferencedClass(localVariableInfo.referencedClass); in visitLocalVariableInfo()
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
D | LocalVariableInfoVisitor.java | 37 …Info(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo); in visitLocalVariableInfo() argument
|
/external/proguard/src/proguard/classfile/visitor/ |
D | ReferencedClassVisitor.java | 210 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 213 localVariableInfo.referencedClassAccept(classVisitor); in visitLocalVariableInfo()
|
D | ClassPrinter.java | 925 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 927 println("v" + localVariableInfo.u2index + ": " + in visitLocalVariableInfo() 928 localVariableInfo.u2startPC + " -> " + in visitLocalVariableInfo() 929 (localVariableInfo.u2startPC + localVariableInfo.u2length) + " [" + in visitLocalVariableInfo() 930 localVariableInfo.getDescriptor(clazz) + " " + in visitLocalVariableInfo() 931 localVariableInfo.getName(clazz) + "]"); in visitLocalVariableInfo()
|
D | ClassCleaner.java | 300 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 302 clean(localVariableInfo); in visitLocalVariableInfo()
|
/external/proguard/src/proguard/classfile/util/ |
D | ClassReferenceInitializer.java | 369 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument 371 localVariableInfo.referencedClass = in visitLocalVariableInfo() 373 localVariableInfo.getDescriptor(clazz)); in visitLocalVariableInfo()
|