Home
last modified time | relevance | path

Searched refs:maxLocals (Results 1 – 21 of 21) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
DVariableEditor.java51 public void reset(int maxLocals) in reset() argument
54 if (deleted.length < maxLocals) in reset()
56 deleted = new boolean[maxLocals]; in reset()
60 for (int index = 0; index < maxLocals; index++) in reset()
DVariableCleaner.java87 int maxLocals) in removeEmptyLocalVariables() argument
91 for (int index = 0; index < localVariableInfoCount && index < maxLocals; index++) in removeEmptyLocalVariables()
115 int maxLocals) in removeEmptyLocalVariableTypes() argument
119 for (int index = 0; index < localVariableTypeInfoCount && index < maxLocals; index++) in removeEmptyLocalVariableTypes()
DCodeAttributeComposer.java752 int maxLocals) in removeEmptyLocalVariables() argument
760 localVariableInfo.u2index < maxLocals) in removeEmptyLocalVariables()
782 int maxLocals) in removeEmptyLocalVariableTypes() argument
790 localVariableTypeInfo.u2index < maxLocals) in removeEmptyLocalVariableTypes()
DCodeAttributeEditor.java1026 int maxLocals) in removeEmptyLocalVariables() argument
1034 localVariableInfo.u2index < maxLocals) in removeEmptyLocalVariables()
1050 int maxLocals) in removeEmptyLocalVariableTypes() argument
1058 localVariableTypeInfo.u2index < maxLocals) in removeEmptyLocalVariableTypes()
/external/proguard/src/proguard/optimize/info/
DVariableUsageMarker.java60 int maxLocals = codeAttribute.u2maxLocals; in visitCodeAttribute() local
63 if (variableUsed.length < maxLocals) in visitCodeAttribute()
65 variableUsed = new boolean[maxLocals]; in visitCodeAttribute()
69 for (int index = 0; index < maxLocals; index++) in visitCodeAttribute()
/external/javassist/src/main/javassist/convert/
DTransformBefore.java26 protected int maxLocals; field in TransformBefore
40 maxLocals = 0; in TransformBefore()
47 maxLocals = attr.getMaxLocals(); in initialize()
86 int var = maxLocals; in makeCode()
105 locals = var - maxLocals; in makeCode2()
/external/proguard/src/proguard/optimize/peephole/
DVariableShrinker.java89 int maxLocals = codeAttribute.u2maxLocals; in visitCodeAttribute() local
95 System.out.println(" Max locals = " + maxLocals); in visitCodeAttribute()
102 variableEditor.reset(maxLocals); in visitCodeAttribute()
104 for (int variableIndex = parameterSize; variableIndex < maxLocals; variableIndex++) in visitCodeAttribute()
/external/proguard/src/proguard/optimize/
DParameterShrinker.java90 int maxLocals = codeAttribute.u2maxLocals; in visitCodeAttribute() local
97 System.out.println(" Max locals = " + maxLocals); in visitCodeAttribute()
101 int[] variableMap = new int[maxLocals]; in visitCodeAttribute()
134 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++) in visitCodeAttribute()
DDuplicateInitializerFixer.java152 int maxLocals = in visitCodeAttribute() local
156 if (codeAttribute.u2maxLocals < maxLocals) in visitCodeAttribute()
158 codeAttribute.u2maxLocals = maxLocals; in visitCodeAttribute()
/external/javassist/src/main/javassist/expr/
DExprEditor.java106 if (codeAttr.getMaxLocals() < context.maxLocals) in doit()
107 codeAttr.setMaxLocals(context.maxLocals); in doit()
157 int maxLocals; field in ExprEditor.LoopContext
161 maxLocals = locals; in LoopContext()
167 if (maxLocals < locals) in updateMax()
168 maxLocals = locals; in updateMax()
DExpr.java50 int maxLocals, maxStack; field in Expr
81 return maxLocals; in locals()
302 maxLocals = bytecode.getMaxLocals(); in replace0()
326 maxLocals = context.maxLocals; in runEditor()
DHandler.java132 maxLocals = b.getMaxLocals(); in insertBefore()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java44 private int maxLocals; field in CodeAttribute
62 maxLocals = locals; in CodeAttribute()
83 maxLocals = src.getMaxLocals(); in CodeAttribute()
103 maxLocals = in.readUnsignedShort(); in CodeAttribute()
169 out.writeShort(maxLocals); // max_locals in write()
246 return maxLocals; in getMaxLocals()
253 maxLocals = value; in setMaxLocals()
DBytecode.java121 int maxStack, maxLocals; field in Bytecode
141 maxLocals = localvars; in Bytecode()
189 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
233 public int getMaxLocals() { return maxLocals; } in getMaxLocals()
239 maxLocals = size; in setMaxLocals()
273 maxLocals = locals; in setMaxLocals()
280 maxLocals += diff; in incMaxLocals()
DClassFileWriter.java447 public void codeEnd(int maxStack, int maxLocals) { in codeEnd() argument
450 output.writeShort(startPos + 8, maxLocals); in codeEnd()
/external/javassist/src/main/javassist/bytecode/stackmap/
DLiveness.java34 public void compute(CodeIterator ci, TypedBlock[] blocks, int maxLocals, in compute() argument
38 computeUsage(ci, blocks, maxLocals); in compute()
208 private void computeUsage(CodeIterator ci, TypedBlock[] blocks, int maxLocals) in computeUsage() argument
214 localsUsage = tb.localsUsage = new byte[maxLocals]; in computeUsage()
DTypedBlock.java147 void initFirstBlock(int maxStack, int maxLocals, String className, in initFirstBlock() argument
156 TypeData[] locals = new TypeData[maxLocals]; in initFirstBlock()
DTracer.java39 public Tracer(ClassPool classes, ConstPool cp, int maxStack, int maxLocals, in Tracer() argument
46 localsTypes = new TypeData[maxLocals]; in Tracer()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java128 int maxLocals = codeAttribute.getMaxLocals(); in analyze() local
140 frames[iter.lookAhead()] = firstFrame(method, maxLocals, maxStack); in analyze()
233 private Frame firstFrame(MethodInfo method, int maxLocals, int maxStack) { in firstFrame() argument
236 Frame first = new Frame(maxLocals, maxStack); in firstFrame()
/external/javassist/src/main/javassist/
DCtBehavior.java558 int maxLocals = ca.getMaxLocals(); in addLocalVariable() local
561 cp.addUtf8Info(name), cp.addUtf8Info(desc), maxLocals); in addLocalVariable()
562 ca.setMaxLocals(maxLocals + Descriptor.dataSize(desc)); in addLocalVariable()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java1586 int maxLocals = codeAttribute.u2maxLocals; in initializeNecessary() local
1591 variablesNecessaryAfter[0].length < maxLocals) in initializeNecessary()
1593 variablesNecessaryAfter = new boolean[codeLength][maxLocals]; in initializeNecessary()
1599 for (int index = 0; index < maxLocals; index++) in initializeNecessary()