Home
last modified time | relevance | path

Searched refs:localVariableInfo (Results 1 – 23 of 23) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
DVariableCleaner.java141 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 …]
DLocalVariableInfoAdder.java52 …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()
DCodeAttributeComposer.java682 …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()
DLocalVariableTableAttributeEditor.java50 public void addLocalVariableInfo(LocalVariableInfo localVariableInfo) in addLocalVariableInfo() argument
55 localVariableInfo); in addLocalVariableInfo()
DVariableRemapper.java138 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument
140 localVariableInfo.u2index = in visitLocalVariableInfo()
141 remapVariable(localVariableInfo.u2index); in visitLocalVariableInfo()
DConstantPoolRemapper.java577 …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()
DClassReferenceFixer.java367 …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()
DCodeAttributeEditor.java1001 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument
1005localVariableInfo.u2length = newBranchOffset(localVariableInfo.u2startPC, localVariableInfo.u2len… in visitLocalVariableInfo()
1006 localVariableInfo.u2startPC = newInstructionOffset(localVariableInfo.u2startPC); in visitLocalVariableInfo()
DUtf8Shrinker.java312 …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()
DConstantPoolShrinker.java428 …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/
DLocalVariableTypeUsageMarker.java105 …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()
DUsageMarker.java899 …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/
DVariableOptimizer.java199 …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()
DSimpleEnumDescriptorSimplifier.java326 …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/
DParameterNameMarker.java68 LocalVariableInfo localVariableInfo = in visitLocalVariableTableAttribute() local
71 if (localVariableInfo.u2startPC == 0) in visitLocalVariableTableAttribute()
74 localVariableInfo; in visitLocalVariableTableAttribute()
/external/proguard/src/proguard/classfile/io/
DProgramClassReader.java503 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()
DProgramClassWriter.java580 …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/
DTargetClassChanger.java303 …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/
DLocalVariableInfoVisitor.java37 …Info(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo); in visitLocalVariableInfo() argument
/external/proguard/src/proguard/classfile/visitor/
DReferencedClassVisitor.java210 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument
213 localVariableInfo.referencedClassAccept(classVisitor); in visitLocalVariableInfo()
DClassPrinter.java925 …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()
DClassCleaner.java300 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument
302 clean(localVariableInfo); in visitLocalVariableInfo()
/external/proguard/src/proguard/classfile/util/
DClassReferenceInitializer.java369 …eInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo) in visitLocalVariableInfo() argument
371 localVariableInfo.referencedClass = in visitLocalVariableInfo()
373 localVariableInfo.getDescriptor(clazz)); in visitLocalVariableInfo()