Home
last modified time | relevance | path

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

123

/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/mockito/cglib-and-asm/src/org/mockito/asm/
DAttribute.java158 final 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.java234 private int maxLocals; field in MethodWriter
452 maxLocals = size; in MethodWriter()
715 if (n > maxLocals) { in visitVarInsn()
716 maxLocals = n; in visitVarInsn()
1043 if (n > maxLocals) { in visitIincInsn()
1044 maxLocals = n; in visitIincInsn()
1190 if (n > maxLocals) { in visitLocalVariable()
1191 maxLocals = n; in visitLocalVariable()
1205 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
1238 f.initInputFrame(cw, access, args, this.maxLocals); in visitMaxs()
[all …]
DMethodAdapter.java188 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
189 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()
DMethodVisitor.java387 void visitMaxs(int maxStack, int maxLocals); in visitMaxs() argument
/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/mockito/cglib-and-asm/src/org/mockito/asm/tree/
DMethodNode.java132 public int maxLocals; field in MethodNode
353 public void visitMaxs(final int maxStack, final int maxLocals) {
355 this.maxLocals = maxLocals;
486 mv.visitMaxs(maxStack, maxLocals);
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DUndeclaredThrowableTransformer.java54 public void visitMaxs(int maxStack, int maxLocals) { in begin_method() argument
57 super.visitMaxs(maxStack, maxLocals); in begin_method()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DSubroutine.java56 final int maxLocals, in Subroutine() argument
60 this.access = new boolean[maxLocals]; in Subroutine()
DAnalyzer.java130 Subroutine main = new Subroutine(null, m.maxLocals, null); in analyze()
138 sub = new Subroutine(jsr.label, m.maxLocals, jsr); in analyze()
152 Frame current = newFrame(m.maxLocals, m.maxStack); in analyze()
153 Frame handler = newFrame(m.maxLocals, m.maxStack); in analyze()
166 while (local < m.maxLocals) { in analyze()
202 m.maxLocals, in analyze()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
DMethodVisitorTee.java141 public void visitMaxs(int maxStack, int maxLocals) { in visitMaxs() argument
142 mv1.visitMaxs(maxStack, maxLocals); in visitMaxs()
143 mv2.visitMaxs(maxStack, maxLocals); in visitMaxs()
/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/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/mockito/cglib-and-asm/src/org/mockito/asm/util/
DTraceMethodVisitor.java485 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
491 buf.append(tab2).append("MAXLOCALS = ").append(maxLocals).append('\n'); in visitMaxs()
495 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()

123