Home
last modified time | relevance | path

Searched refs:parameterIndex (Results 1 – 21 of 21) sorted by relevance

/external/proguard/src/proguard/optimize/info/
DMethodOptimizationInfo.java205 public void setParameterUsed(int parameterIndex) in setParameterUsed() argument
207 usedParameters |= 1 << parameterIndex; in setParameterUsed()
217 public boolean isParameterUsed(int parameterIndex) in isParameterUsed() argument
219 return parameterIndex >= 64 || (usedParameters & (1 << parameterIndex)) != 0; in isParameterUsed()
229 public void generalizeParameter(int parameterIndex, Value parameter) in generalizeParameter() argument
231 parameters[parameterIndex] = parameters[parameterIndex] != null ? in generalizeParameter()
232 parameters[parameterIndex].generalize(parameter) : in generalizeParameter()
237 public Value getParameter(int parameterIndex) in getParameter() argument
240 parameters[parameterIndex] : in getParameter()
DParameterUsageMarker.java193 int parameterIndex = variableInstruction.variableIndex; in visitVariableInstruction() local
194 if (parameterIndex < codeAttribute.u2maxLocals) in visitVariableInstruction()
197 partialEvaluator.getVariablesBefore(offset).getProducerValue(parameterIndex); in visitVariableInstruction()
202 markParameterUsed(method, parameterIndex); in visitVariableInstruction()
207 markParameterUsed(method, parameterIndex + 1); in visitVariableInstruction()
/external/proguard/src/proguard/classfile/editor/
DParameterAnnotationsAttributeEditor.java49 public void addAnnotation(int parameterIndex, Annotation annotation) in addAnnotation() argument
51 …annotationsCount = targetParameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; in addAnnotation()
52 …tion[] annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in addAnnotation()
58 …targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex] = new Annotation[annotati… in addAnnotation()
62 … targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex], 0, in addAnnotation()
65 annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in addAnnotation()
69 …annotations[targetParameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]++] = a… in addAnnotation()
DAnnotationAdder.java132 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument
151 parameterAnnotationsAttributeEditor.addAnnotation(parameterIndex, newAnnotation); in visitAnnotation()
/external/proguard/src/proguard/optimize/
DTailRecursionSimplifier.java270 for (int parameterIndex = 0; parameterIndex < parameterSize; parameterIndex++) in storeParameters()
273 parameterTypes[parameterIndex] = parameterType; in storeParameters()
276 parameterIndex++; in storeParameters()
284 for (int parameterIndex = parameterSize-1; parameterIndex >= 0; parameterIndex--) in storeParameters()
286 String parameterType = parameterTypes[parameterIndex]; in storeParameters()
317 codeAttributeComposer.appendInstruction(parameterSize-parameterIndex-1, in storeParameters()
318 … new VariableInstruction(opcode, parameterOffset + parameterIndex).shrink()); in storeParameters()
DParameterShrinker.java106 for (int parameterIndex = 0; parameterIndex < oldParameterSize; parameterIndex++) in visitCodeAttribute()
109 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in visitCodeAttribute()
112 variableMap[parameterIndex] = usedParameterIndex++; in visitCodeAttribute()
118 System.out.println(" Deleting parameter #"+parameterIndex); in visitCodeAttribute()
123 variableMap[parameterIndex] = unusedParameterIndex++; in visitCodeAttribute()
DMethodDescriptorShrinker.java164 int parameterIndex = in visitAnyParameterAnnotationsAttribute() local
179 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in visitAnyParameterAnnotationsAttribute()
187 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in visitAnyParameterAnnotationsAttribute()
211 int parameterIndex = in shrinkDescriptor() local
227 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkDescriptor()
233 System.out.println(" Deleting parameter #"+parameterIndex+" ["+type+"]"); in shrinkDescriptor()
236 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in shrinkDescriptor()
257 int parameterIndex = in shrinkReferencedClasses() local
283 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkReferencedClasses()
298 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in shrinkReferencedClasses()
DMemberDescriptorSpecializer.java111 … for (int parameterIndex = firstParameterIndex; parameterIndex < parameterCount; parameterIndex++) in visitProgramMethod()
113 …alue parameterValue = StoringInvocationUnit.getMethodParameterValue(programMethod, parameterIndex); in visitProgramMethod()
/external/proguard/src/proguard/classfile/attribute/annotation/
DParameterAnnotationsAttribute.java69 for (int parameterIndex = 0; parameterIndex < u2parametersCount; parameterIndex++) in annotationsAccept()
71 int annotationsCount = u2parameterAnnotationsCount[parameterIndex]; in annotationsAccept()
72 Annotation[] annotations = parameterAnnotations[parameterIndex]; in annotationsAccept()
79 … annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotations[index]); in annotationsAccept()
/external/proguard/src/proguard/evaluation/
DBasicInvocationUnit.java83 int parameterIndex = 0; in enterMethod() local
92 parameterIndex++, in enterMethod()
116 parameterIndex++, in enterMethod()
220 for (int parameterIndex = parameterCount-1; parameterIndex >= 0; parameterIndex--) in visitAnyMethodrefConstant()
222 setMethodParameterValue(clazz, methodrefConstant, parameterIndex, stack.pop()); in visitAnyMethodrefConstant()
295 int parameterIndex, in setMethodParameterValue() argument
307 int parameterIndex, in getMethodParameterValue() argument
/external/proguard/src/proguard/optimize/evaluation/
DStoringInvocationUnit.java104 int parameterIndex, in setMethodParameterValue() argument
113 parameterIndex, in setMethodParameterValue() local
171 … private static void generalizeMethodParameterValue(Method method, int parameterIndex, Value value) in generalizeMethodParameterValue() argument
176 info.generalizeParameter(parameterIndex, value); in generalizeMethodParameterValue()
181 public static Value getMethodParameterValue(Method method, int parameterIndex) in getMethodParameterValue() argument
185 info.getParameter(parameterIndex) : in getMethodParameterValue()
DLoadingInvocationUnit.java125 int parameterIndex, in getMethodParameterValue() argument
132 Value value = StoringInvocationUnit.getMethodParameterValue(method, parameterIndex); in getMethodParameterValue()
144 parameterIndex, in getMethodParameterValue()
/external/proguard/src/proguard/optimize/peephole/
DMethodInliner.java233 for (int parameterIndex = 0; parameterIndex < parameterSize; parameterIndex++) in storeParameters()
236 parameterTypes[parameterIndex] = parameterType; in storeParameters()
239 parameterIndex++; in storeParameters()
247 for (int parameterIndex = parameterSize-1; parameterIndex >= 0; parameterIndex--) in storeParameters()
249 String parameterType = parameterTypes[parameterIndex]; in storeParameters()
280 codeAttributeComposer.appendInstruction(parameterSize-parameterIndex-1, in storeParameters()
281 … new VariableInstruction(opcode, variableOffset + parameterOffset + parameterIndex).shrink()); in storeParameters()
/external/proguard/src/proguard/shrink/
DClassShrinker.java194 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u2parametersCount; par… in visitAnyParameterAnnotationsAttribute()
197 parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = in visitAnyParameterAnnotationsAttribute()
198 shrinkArray(parameterAnnotationsAttribute.parameterAnnotations[parameterIndex], in visitAnyParameterAnnotationsAttribute()
199 … parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]); in visitAnyParameterAnnotationsAttribute()
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/
DAnnotationTypeFilter.java87 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument
91 annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation); in visitAnnotation()
DAnnotationVisitor.java39 …public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation); in visitAnnotation() argument
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java431 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u2parametersCount; par… in visitAnyParameterAnnotationsAttribute()
434 … u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
435 …notation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
DProgramClassReader.java501 …for (int parameterIndex = parameterStart; parameterIndex < parameterAnnotationsAttribute.u2paramet… in visitAnyParameterAnnotationsAttribute()
515 … parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = u2annotationsCount; in visitAnyParameterAnnotationsAttribute()
516 parameterAnnotationsAttribute.parameterAnnotations[parameterIndex] = annotations; in visitAnyParameterAnnotationsAttribute()
/external/webkit/WebCore/bindings/scripts/
DCodeGeneratorObjC.pm800 my $parameterIndex = 0;
809 if ($parameterIndex >= 1) {
819 $parameterIndex++;
1343 my $parameterIndex = 0;
1368 if ($parameterIndex >= 1) {
1376 $parameterIndex++;
DCodeGeneratorV8.pm2282 my $parameterIndex = shift;
2291 $type = GetNativeType($type, $parameterIndex >= 0 ? 1 : 0);
2293 if ($parameterIndex >= 0 && $type eq "V8Parameter") {
/external/proguard/src/proguard/classfile/util/
DSimplifiedVisitor.java768 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument