Home
last modified time | relevance | path

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

/external/proguard/src/proguard/classfile/editor/
DVariableCleaner.java134 int maxLocals) in removeUnusedLocalVariables() argument
144 localVariableInfo.u2index < maxLocals && in removeUnusedLocalVariables()
165 int maxLocals) in removeUnusedLocalVariableTypes() argument
175 localVariableTypeInfo.u2index < maxLocals && in removeUnusedLocalVariableTypes()
197 int maxLocals) in trimLocalVariables() argument
202 int[] startPCs = createMaxArray(maxLocals); in trimLocalVariables()
231 int maxLocals) in trimLocalVariableTypes() argument
236 int[] startPCs = createMaxArray(maxLocals); in trimLocalVariableTypes()
DVariableEditor.java53 public void reset(int maxLocals) in reset() argument
56 if (deleted.length < maxLocals) in reset()
59 deleted = new boolean[maxLocals]; in reset()
64 Arrays.fill(deleted, 0, maxLocals, false); in reset()
DCodeAttributeComposer.java866 int maxLocals) in removeEmptyLocalVariables() argument
874 localVariableInfo.u2index < maxLocals) in removeEmptyLocalVariables()
893 int maxLocals) in removeEmptyLocalVariableTypes() argument
901 localVariableTypeInfo.u2index < maxLocals) in removeEmptyLocalVariableTypes()
/external/proguard/src/proguard/optimize/info/
DVariableUsageMarker.java62 int maxLocals = codeAttribute.u2maxLocals; in visitCodeAttribute() local
65 if (variableUsed.length < maxLocals) in visitCodeAttribute()
68 variableUsed = new boolean[maxLocals]; in visitCodeAttribute()
73 Arrays.fill(variableUsed, 0, maxLocals, false); 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.java94 int maxLocals = codeAttribute.u2maxLocals; in visitCodeAttribute() local
101 System.out.println(" Max locals = " + maxLocals); in visitCodeAttribute()
105 int[] variableMap = new int[maxLocals]; in visitCodeAttribute()
138 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++) in visitCodeAttribute()
DDuplicateInitializerFixer.java160 int maxLocals = in visitCodeAttribute() local
164 if (codeAttribute.u2maxLocals < maxLocals) in visitCodeAttribute()
166 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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DProbeInserter.java115 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
121 mv.visitMaxs(increasedStack, maxLocals + 1); in visitMaxs()
/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DFramesTest.java69 public void visitMaxs(int maxStack, int maxLocals) { in visitMethod()
70 super.visitMaxs(-1, maxLocals); in visitMethod()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DJarState.java177 public JarState(int maxLocals, Map<LocalVariableNode, DebugLocalInfo> localVariables) { in JarState() argument
178 int localsRegistersSize = maxLocals * 3; in JarState()
179 localsSize = maxLocals; in JarState()
DJarSourceCode.java176 state = new JarState(node.maxLocals, computeLocals(node.localVariables, application));
2773 builder.append("node.maxLocals = ").append(node.maxLocals);
/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/desugar/java/com/google/devtools/build/android/desugar/
DJava7Compatibility.java233 public void visitMaxs(int maxStack, int maxLocals) { in visitMaxs() argument
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java2028 int maxLocals = codeAttribute.u2maxLocals; in initializeNecessary() local