Home
last modified time | relevance | path

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

12

/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()
/external/annotation-tools/asmx/src/org/objectweb/asm/
DAttribute.java158 int maxLocals) in write() argument
206 final int maxLocals) in getSize() argument
212 size += attr.write(cw, code, len, maxStack, maxLocals).length + 6; in getSize()
243 final int maxLocals, in put() argument
248 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); in put()
DMethodWriter.java178 private int maxLocals; field in MethodWriter
580 maxLocals = size; in MethodWriter()
748 if (n > maxLocals) { in visitVarInsn()
749 maxLocals = n; in visitVarInsn()
1020 if (n > maxLocals) { in visitIincInsn()
1021 maxLocals = n; in visitIincInsn()
1193 if (n > maxLocals) { in visitLocalVariable()
1194 maxLocals = n; in visitLocalVariable()
1208 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
1255 this.maxLocals = maxLocals; in visitMaxs()
[all …]
DMethodAdapter.java207 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
208 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()
/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()
/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()
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/
DMethodNode.java144 public int maxLocals; field in MethodNode
355 public void visitMaxs(final int maxStack, final int maxLocals) {
357 this.maxLocals = maxLocals;
457 mv.visitMaxs(maxStack, maxLocals);
/external/annotation-tools/asmx/src/org/objectweb/asm/attrs/
DStackMapAttribute.java317 int maxLocals) in write() argument
329 maxLocals, in write() local
347 int maxLocals, in writeFrame() argument
351 writeTypeInfo(bv, cw, frame.locals, maxLocals); in writeFrame()
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/analysis/
DSubroutine.java56 final int maxLocals, in Subroutine() argument
60 this.access = new boolean[maxLocals]; in Subroutine()
DAnalyzer.java135 Frame current = newFrame(m.maxLocals, m.maxStack); in analyze()
136 Frame handler = newFrame(m.maxLocals, m.maxStack); in analyze()
149 while (local < m.maxLocals) { in analyze()
183 new Subroutine(j.label, m.maxLocals, j)); in analyze()
/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()
/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/annotation-tools/asmx/test/perf/org/objectweb/asm/
DASMPerfTest.java134 public void visitMaxs(int maxStack, int maxLocals) { in visitMaxs() argument
135 super.visitMaxs(Math.max(maxStack, 2), maxLocals); in visitMaxs() local
/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/annotation-tools/asmx/src/org/objectweb/asm/optimizer/
DMethodConstantsCollector.java164 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
166 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DFramesTest.java68 public void visitMaxs(int maxStack, int maxLocals) { in visitMethod()
69 super.visitMaxs(-1, maxLocals); in visitMethod()

12