Home
last modified time | relevance | path

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

12

/external/mockito/cglib-and-asm/src/org/mockito/asm/
DAttribute.java157 final int maxStack, in write() argument
205 final int maxStack, in getSize() argument
212 size += attr.write(cw, code, len, maxStack, maxLocals).length + 6; in getSize()
242 final int maxStack, in put() argument
248 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); in put()
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
DMethodWriter.java229 private int maxStack; field in MethodWriter
1205 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
1280 this.maxStack = max; in visitMaxs()
1426 this.maxStack = max; in visitMaxs()
1428 this.maxStack = maxStack; in visitMaxs()
1821 maxStack,
1943 maxStack, in put()
1947 out.putShort(maxStack).putShort(maxLocals); in put()
1999 cattrs.put(cw, code.data, code.length, maxLocals, maxStack, out); in put()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java43 private int maxStack; field in CodeAttribute
61 maxStack = stack; in CodeAttribute()
82 maxStack = src.getMaxStack(); in CodeAttribute()
102 maxStack = in.readUnsignedShort(); in CodeAttribute()
168 out.writeShort(maxStack); // max_stack in write()
220 return maxStack; in getMaxStack()
227 maxStack = value; in setMaxStack()
238 maxStack = new CodeAnalyzer(this).computeMaxStack(); in computeMaxStack()
239 return maxStack; in computeMaxStack()
DCodeAnalyzer.java53 int maxStack = 1; in computeMaxStack() local
55 if (stack[i] > maxStack) in computeMaxStack()
56 maxStack = stack[i]; in computeMaxStack()
58 return maxStack - 1; // the base is 1. in computeMaxStack()
DBytecode.java121 int maxStack, maxLocals; field in Bytecode
140 maxStack = stacksize; in Bytecode()
189 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
210 public int getMaxStack() { return maxStack; } in getMaxStack()
227 maxStack = size; in setMaxStack()
441 if (stackDepth > maxStack) in setStackDepth()
442 maxStack = stackDepth; in setStackDepth()
DClassFileWriter.java447 public void codeEnd(int maxStack, int maxLocals) { in codeEnd() argument
449 output.writeShort(startPos + 6, maxStack); in codeEnd()
/external/javassist/src/main/javassist/expr/
DExprEditor.java109 codeAttr.setMaxStack(codeAttr.getMaxStack() + context.maxStack); in doit()
158 int maxStack; field in ExprEditor.LoopContext
162 maxStack = 0; in LoopContext()
170 if (maxStack < stack) in updateMax()
171 maxStack = stack; in updateMax()
DExpr.java50 int maxLocals, maxStack; field in Expr
85 return maxStack; in stack()
303 maxStack = bytecode.getMaxStack(); in replace0()
327 maxStack += context.maxStack; in runEditor()
DHandler.java131 maxStack = b.getMaxStack(); in insertBefore()
/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/
DMethodNode.java127 public int maxStack; field in MethodNode
353 public void visitMaxs(final int maxStack, final int maxLocals) {
354 this.maxStack = maxStack;
486 mv.visitMaxs(maxStack, maxLocals);
/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/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DLocalVariablesSorter.java102 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
103 mv.visitMaxs(maxStack, state.nextLocal); in visitMaxs()
DClassEmitter.java147 public void visitMaxs(int maxStack, int maxLocals) { in begin_method()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java129 int maxStack = codeAttribute.getMaxStack(); 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/bytecode/stackmap/
DTypedBlock.java147 void initFirstBlock(int maxStack, int maxLocals, String className, in initFirstBlock() argument
155 stackTypes = new TypeData[maxStack]; in initFirstBlock()
DTracer.java39 public Tracer(ClassPool classes, ConstPool cp, int maxStack, int maxLocals, in Tracer() argument
45 stackTypes = new TypeData[maxStack]; in Tracer()
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
DTraceMethodVisitor.java485 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
487 buf.append(tab2).append("MAXSTACK = ").append(maxStack).append('\n'); in visitMaxs()
495 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()
DASMifierMethodVisitor.java362 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
365 .append(maxStack) in visitMaxs()
DCheckMethodAdapter.java635 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
639 checkUnsignedShort(maxStack, "Invalid max stack"); in visitMaxs()
641 mv.visitMaxs(maxStack, maxLocals); in visitMaxs()
DCheckClassAdapter.java224 while (s.length() < method.maxStack + method.maxLocals + 1) { in verify()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java1953 int maxStack = codeAttribute.u2maxStack; in initializeNecessary() local
1957 stacksNecessaryAfter[0].length < maxStack) in initializeNecessary()
1959 stacksNecessaryAfter = new boolean[codeLength][maxStack]; in initializeNecessary()
1965 Arrays.fill(stacksNecessaryAfter[offset], 0, maxStack, false); in initializeNecessary()
1970 stacksSimplifiedBefore[0].length < maxStack) in initializeNecessary()
1972 stacksSimplifiedBefore = new boolean[codeLength][maxStack]; in initializeNecessary()
1978 Arrays.fill(stacksSimplifiedBefore[offset], 0, maxStack, false); in initializeNecessary()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DAnalyzer.java152 Frame current = newFrame(m.maxLocals, m.maxStack); in analyze()
153 Frame handler = newFrame(m.maxLocals, m.maxStack); in analyze()

12