Home
last modified time | relevance | path

Searched refs:maxLocals (Results 1 – 25 of 29) 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()
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.java32 protected int maxLocals; field in TransformBefore
46 maxLocals = 0; in TransformBefore()
54 maxLocals = attr.getMaxLocals(); in initialize()
95 int var = maxLocals; in makeCode()
114 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.java112 if (codeAttr.getMaxLocals() < context.maxLocals) in doit()
113 codeAttr.setMaxLocals(context.maxLocals); in doit()
163 int maxLocals; field in ExprEditor.LoopContext
167 maxLocals = locals; in LoopContext()
173 if (maxLocals < locals) in updateMax()
174 maxLocals = locals; in updateMax()
DExpr.java51 int maxLocals, maxStack; field in Expr
82 return maxLocals; in locals()
298 maxLocals = bytecode.getMaxLocals(); in replace0()
322 maxLocals = context.maxLocals; in runEditor()
DHandler.java147 maxLocals = b.getMaxLocals(); in insertBefore()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DLocalVariables.java39 public LocalVariables(final int maxLocals) { in LocalVariables() argument
40 locals = new Type[maxLocals]; in LocalVariables()
41 for (int i=0; i<maxLocals; i++) { in LocalVariables()
79 public int maxLocals() { in maxLocals() method in LocalVariables
DFrame.java55 public Frame(final int maxLocals, final int maxStack) { in Frame() argument
56 locals = new LocalVariables(maxLocals); in Frame()
DPass3bVerifier.java255 for (int i=0; i<lvs.maxLocals(); i++) { in circulationPump()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java45 private int maxLocals; field in CodeAttribute
63 maxLocals = locals; in CodeAttribute()
84 maxLocals = src.getMaxLocals(); in CodeAttribute()
105 maxLocals = in.readUnsignedShort(); in CodeAttribute()
177 out.writeShort(maxLocals); // max_locals in write()
259 return maxLocals; in getMaxLocals()
266 maxLocals = value; in setMaxLocals()
DBytecode.java125 int maxStack, maxLocals; field in Bytecode
145 maxLocals = localvars; in Bytecode()
194 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
238 public int getMaxLocals() { return maxLocals; } in getMaxLocals()
244 maxLocals = size; in setMaxLocals()
278 maxLocals = locals; in setMaxLocals()
285 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/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/
DAndroidEntryPointClassTransformer.kt232 currentCodeAttribute.maxLocals = in <lambda>()
233 maxOf(newCodeAttribute.maxLocals, currentCodeAttribute.maxLocals) in <lambda>()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DProbeInserter.java110 public void visitMaxs(final int maxStack, final int maxLocals) { in visitMaxs() argument
116 mv.visitMaxs(increasedStack, maxLocals + 1); in visitMaxs()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java127 int maxLocals = codeAttribute.getMaxLocals(); in analyze() local
139 frames[iter.lookAhead()] = firstFrame(method, maxLocals, maxStack); in analyze()
232 private Frame firstFrame(MethodInfo method, int maxLocals, int maxStack) { in firstFrame() argument
235 Frame first = new Frame(maxLocals, maxStack); in firstFrame()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypedBlock.java139 void initFirstBlock(int maxStack, int maxLocals, String className, in initFirstBlock() argument
148 TypeData[] locals = TypeData.make(maxLocals); in initFirstBlock()
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/
DFramesTest.java67 public void visitMaxs(int maxStack, int maxLocals) { in visitMethod()
68 super.visitMaxs(-1, maxLocals); in visitMethod()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DCondyProbeArrayStrategyTest.java97 assertEquals(3, m.maxLocals); in should_add_bootstrap_method()
/external/javassist/src/main/javassist/
DCtBehavior.java627 int maxLocals = ca.getMaxLocals(); in addLocalVariable() local
630 cp.addUtf8Info(name), cp.addUtf8Info(desc), maxLocals); in addLocalVariable()
631 ca.setMaxLocals(maxLocals + Descriptor.dataSize(desc)); in addLocalVariable()
/external/desugar/java/com/google/devtools/build/android/desugar/
DJava7Compatibility.java287 public void visitMaxs(int maxStack, int maxLocals) { in visitMaxs() argument

12