Home
last modified time | relevance | path

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

12

/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCPreparedStatement.java123 public void setNull(int parameterIndex, int sqlType) throws SQLException {
124 if (parameterIndex < 1 || parameterIndex > args.length) {
127 args[parameterIndex - 1] = nullrepl ? "" : null;
128 blobs[parameterIndex - 1] = false;
131 public void setBoolean(int parameterIndex, boolean x)
133 if (parameterIndex < 1 || parameterIndex > args.length) {
136 args[parameterIndex - 1] = x ? "1" : "0";
137 blobs[parameterIndex - 1] = false;
140 public void setByte(int parameterIndex, byte x) throws SQLException {
141 if (parameterIndex < 1 || parameterIndex > args.length) {
[all …]
/external/guice/core/src/com/google/inject/spi/
DDependency.java44 private final int parameterIndex; field in Dependency
46 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) { in Dependency() argument
50 this.parameterIndex = parameterIndex; in Dependency()
100 return parameterIndex; in getParameterIndex()
104 return Objects.hashCode(injectionPoint, parameterIndex, key); in hashCode()
111 && Objects.equal(parameterIndex, dependency.parameterIndex) in equals()
123 if (parameterIndex != -1) { in toString()
124 builder.append("[").append(parameterIndex).append("]"); in toString()
/external/proguard/src/proguard/optimize/info/
DMethodOptimizationInfo.java218 public void setParameterUsed(int parameterIndex) in setParameterUsed() argument
220 usedParameters |= 1L << parameterIndex; in setParameterUsed()
230 public boolean isParameterUsed(int parameterIndex) in isParameterUsed() argument
232 return parameterIndex >= 64 || (usedParameters & (1L << parameterIndex)) != 0; in isParameterUsed()
242 public void generalizeParameter(int parameterIndex, Value parameter) in generalizeParameter() argument
244 parameters[parameterIndex] = parameters[parameterIndex] != null ? in generalizeParameter()
245 parameters[parameterIndex].generalize(parameter) : in generalizeParameter()
250 public Value getParameter(int parameterIndex) in getParameter() argument
253 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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
DImpl_RowSet.java105 public void setArray(int parameterIndex, Array theArray) in setArray() argument
109 public void setAsciiStream(int parameterIndex, InputStream theInputStream, in setAsciiStream() argument
113 public void setBigDecimal(int parameterIndex, BigDecimal theBigDecimal) in setBigDecimal() argument
117 public void setBinaryStream(int parameterIndex, InputStream theInputStream, in setBinaryStream() argument
121 public void setBlob(int parameterIndex, Blob theBlob) throws SQLException { in setBlob() argument
124 public void setBoolean(int parameterIndex, boolean theBoolean) in setBoolean() argument
128 public void setByte(int parameterIndex, byte theByte) throws SQLException { in setByte() argument
131 public void setBytes(int parameterIndex, byte[] theByteArray) in setBytes() argument
135 public void setCharacterStream(int parameterIndex, Reader theReader, in setCharacterStream() argument
139 public void setClob(int parameterIndex, Clob theClob) throws SQLException { in setClob() argument
[all …]
/external/proguard/src/proguard/classfile/attribute/annotation/
DParameterAnnotationsAttribute.java69 for (int parameterIndex = 0; parameterIndex < u1parametersCount; 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/optimize/
DParameterShrinker.java110 for (int parameterIndex = 0; parameterIndex < oldParameterSize; parameterIndex++) in visitCodeAttribute()
113 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in visitCodeAttribute()
116 variableMap[parameterIndex] = usedParameterIndex++; in visitCodeAttribute()
122 System.out.println(" Deleting parameter #"+parameterIndex); in visitCodeAttribute()
127 variableMap[parameterIndex] = unusedParameterIndex++; in visitCodeAttribute()
DTailRecursionSimplifier.java294 for (int parameterIndex = 0; parameterIndex < parameterSize; parameterIndex++) in storeParameters()
297 parameterTypes[parameterIndex] = parameterType; in storeParameters()
300 parameterIndex++; in storeParameters()
308 for (int parameterIndex = parameterSize-1; parameterIndex >= 0; parameterIndex--) in storeParameters()
310 String parameterType = parameterTypes[parameterIndex]; in storeParameters()
341 codeAttributeComposer.appendInstruction(parameterSize-parameterIndex-1, in storeParameters()
342 … new VariableInstruction(opcode, parameterOffset + parameterIndex)); in storeParameters()
DMethodDescriptorShrinker.java179 int parameterIndex = in visitAnyParameterAnnotationsAttribute() local
194 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in visitAnyParameterAnnotationsAttribute()
202 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in visitAnyParameterAnnotationsAttribute()
226 int parameterIndex = in shrinkDescriptor() local
244 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkDescriptor()
250 System.out.println(" Deleting parameter #"+parameterIndex+" ["+type+"]"); in shrinkDescriptor()
253 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in shrinkDescriptor()
275 int parameterIndex = in shrinkReferencedClasses() local
303 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkReferencedClasses()
318 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/evaluation/
DBasicInvocationUnit.java83 int parameterIndex = 0; in enterMethod() local
92 parameterIndex++, in enterMethod()
116 parameterIndex++, in enterMethod()
221 for (int parameterIndex = parameterCount-1; parameterIndex >= 0; parameterIndex--) in visitAnyMethodrefConstant()
223 setMethodParameterValue(clazz, methodrefConstant, parameterIndex, stack.pop()); in visitAnyMethodrefConstant()
246 for (int parameterIndex = parameterCount-1; parameterIndex >= 0; parameterIndex--) in visitInvokeDynamicConstant()
321 int parameterIndex, in setMethodParameterValue() argument
333 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.java119 int parameterIndex, in getMethodParameterValue() argument
126 Value value = StoringInvocationUnit.getMethodParameterValue(method, parameterIndex); in getMethodParameterValue()
135 parameterIndex, in getMethodParameterValue()
/external/proguard/src/proguard/optimize/peephole/
DMethodInliner.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, variableOffset + parameterOffset + parameterIndex)); in storeParameters()
/external/proguard/src/proguard/classfile/editor/
DParameterAnnotationsAttributeEditor.java50 public void addAnnotation(int parameterIndex, Annotation annotation) in addAnnotation() argument
52 ArrayUtil.add(targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex], in addAnnotation()
53 … targetParameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]++, in addAnnotation()
DParameterInfoAdder.java52 …public void visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo param… in visitParameterInfo() argument
60 targetMethodParametersAttribute.parameters[parameterIndex] = newParameterInfo; in visitParameterInfo()
DAnnotationAdder.java132 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument
151 parameterAnnotationsAttributeEditor.addAnnotation(parameterIndex, newAnnotation); in visitAnnotation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java125 int parameterIndex = 0; in iterator() local
128 locals[parameterIndex++] = new LocalInfo() { in iterator()
135 locals[parameterIndex++] = parameterIterator.next(); in iterator()
138 if (parameterIndex < registerCount) { in iterator()
141 while(--parameterIndex > -1) { in iterator()
142 LocalInfo currentLocal = locals[parameterIndex]; in iterator()
146 if (localIndex == parameterIndex) { in iterator()
152 locals[parameterIndex] = EMPTY_LOCAL_INFO; in iterator()
/external/proguard/src/proguard/shrink/
DClassShrinker.java248 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; par… in visitAnyParameterAnnotationsAttribute()
251 parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = in visitAnyParameterAnnotationsAttribute()
252 shrinkArray(parameterAnnotationsAttribute.parameterAnnotations[parameterIndex], in visitAnyParameterAnnotationsAttribute()
253 … parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]); in visitAnyParameterAnnotationsAttribute()
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/
DAnnotationTypeFilter.java86 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument
90 annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation); in visitAnnotation()
/external/proguard/src/proguard/classfile/util/
DAllParameterVisitor.java167 int parameterIndex = 0; in visitParameters() local
227 parameterIndex++, in visitParameters()
/external/testng/src/main/java/org/testng/internal/
DTestMethodWithDataProviderMethodWorker.java37 int parameterIndex, in TestMethodWithDataProviderMethodWorker() argument
46 m_parameterIndex = parameterIndex; in TestMethodWithDataProviderMethodWorker()
/external/proguard/src/proguard/classfile/visitor/
DParameterVisitor.java50 int parameterIndex, in visitParameter() argument
/external/proguard/src/proguard/classfile/attribute/visitor/
DParameterInfoVisitor.java36 …public void visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo param… in visitParameterInfo() argument
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java477 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; par… in visitAnyParameterAnnotationsAttribute()
480 … u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
481 …notation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
571 …public void visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo param… in visitParameterInfo() argument

12