Home
last modified time | relevance | path

Searched refs:parameterIndex (Results 1 – 25 of 28) 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/proguard/src/proguard/optimize/info/
DMethodOptimizationInfo.java205 public void setParameterUsed(int parameterIndex) in setParameterUsed() argument
207 usedParameters |= 1L << parameterIndex; in setParameterUsed()
217 public boolean isParameterUsed(int parameterIndex) in isParameterUsed() argument
219 return parameterIndex >= 64 || (usedParameters & (1L << 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/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 < 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/optimize/
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()
DTailRecursionSimplifier.java295 for (int parameterIndex = 0; parameterIndex < parameterSize; parameterIndex++) in storeParameters()
298 parameterTypes[parameterIndex] = parameterType; in storeParameters()
301 parameterIndex++; in storeParameters()
309 for (int parameterIndex = parameterSize-1; parameterIndex >= 0; parameterIndex--) in storeParameters()
311 String parameterType = parameterTypes[parameterIndex]; in storeParameters()
342 codeAttributeComposer.appendInstruction(parameterSize-parameterIndex-1, in storeParameters()
343 … new VariableInstruction(opcode, parameterOffset + parameterIndex)); in storeParameters()
DMethodDescriptorShrinker.java162 int parameterIndex = in visitAnyParameterAnnotationsAttribute() local
177 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in visitAnyParameterAnnotationsAttribute()
185 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in visitAnyParameterAnnotationsAttribute()
209 int parameterIndex = in shrinkDescriptor() local
225 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkDescriptor()
231 System.out.println(" Deleting parameter #"+parameterIndex+" ["+type+"]"); in shrinkDescriptor()
234 parameterIndex += ClassUtil.isInternalCategory2Type(type) ? 2 : 1; in shrinkDescriptor()
255 int parameterIndex = in shrinkReferencedClasses() local
281 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) in shrinkReferencedClasses()
296 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.java121 int parameterIndex, in getMethodParameterValue() argument
128 Value value = StoringInvocationUnit.getMethodParameterValue(method, parameterIndex); in getMethodParameterValue()
138 parameterIndex, in getMethodParameterValue()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java121 int parameterIndex = 0; in iterator() local
124 locals[parameterIndex++] = new LocalInfo() { in iterator()
131 locals[parameterIndex++] = parameterIterator.next(); in iterator()
134 if (parameterIndex < registerCount) { in iterator()
137 while(--parameterIndex > -1) { in iterator()
138 LocalInfo currentLocal = locals[parameterIndex]; in iterator()
142 if (localIndex == parameterIndex) { in iterator()
148 locals[parameterIndex] = EMPTY_LOCAL_INFO; in iterator()
/external/proguard/src/proguard/optimize/peephole/
DMethodInliner.java268 for (int parameterIndex = 0; parameterIndex < parameterSize; parameterIndex++) in storeParameters()
271 parameterTypes[parameterIndex] = parameterType; in storeParameters()
274 parameterIndex++; in storeParameters()
282 for (int parameterIndex = parameterSize-1; parameterIndex >= 0; parameterIndex--) in storeParameters()
284 String parameterType = parameterTypes[parameterIndex]; in storeParameters()
315 codeAttributeComposer.appendInstruction(parameterSize-parameterIndex-1, in storeParameters()
316 … new VariableInstruction(opcode, variableOffset + parameterOffset + parameterIndex)); in storeParameters()
/external/proguard/src/proguard/shrink/
DClassShrinker.java231 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u2parametersCount; par… in visitAnyParameterAnnotationsAttribute()
234 parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = in visitAnyParameterAnnotationsAttribute()
235 shrinkArray(parameterAnnotationsAttribute.parameterAnnotations[parameterIndex], in visitAnyParameterAnnotationsAttribute()
236 … parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]); in visitAnyParameterAnnotationsAttribute()
/external/chromium_org/third_party/angle/src/compiler/translator/
DStructureHLSL.cpp352 size_t parameterIndex = 0; in addConstructor() local
356 const TType &parameter = ctorParameters[parameterIndex]; in addConstructor()
358 bool moreParameters = parameterIndex + 1 < ctorParameters.size(); in addConstructor()
360 constructor += "x" + str(parameterIndex); in addConstructor()
420 constructor += ", x" + str(parameterIndex); in addConstructor()
431 parameterIndex++; in addConstructor()
/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()
DAnnotationVisitor.java39 …public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation); in visitAnnotation() argument
DAllElementValueVisitor.java155 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation() argument
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java461 …for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u2parametersCount; par… in visitAnyParameterAnnotationsAttribute()
464 … u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
465 …notation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in visitAnyParameterAnnotationsAttribute()
DProgramClassReader.java537 …for (int parameterIndex = parameterStart; parameterIndex < parameterAnnotationsAttribute.u2paramet… in visitAnyParameterAnnotationsAttribute()
551 … parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = u2annotationsCount; in visitAnyParameterAnnotationsAttribute()
552 parameterAnnotationsAttribute.parameterAnnotations[parameterIndex] = annotations; in visitAnyParameterAnnotationsAttribute()
/external/clang/include/clang/AST/
DDecl.h1260 void setObjCMethodScopeInfo(unsigned parameterIndex) { in setObjCMethodScopeInfo() argument
1262 setParameterIndex(parameterIndex); in setObjCMethodScopeInfo()
1265 void setScopeInfo(unsigned scopeDepth, unsigned parameterIndex) { in setScopeInfo() argument
1272 setParameterIndex(parameterIndex); in setScopeInfo()
1394 void setParameterIndex(unsigned parameterIndex) { in setParameterIndex() argument
1395 if (parameterIndex >= ParameterIndexSentinel) { in setParameterIndex()
1396 setParameterIndexLarge(parameterIndex); in setParameterIndex()
1400 ParmVarDeclBits.ParameterIndex = parameterIndex; in setParameterIndex()
1401 assert(ParmVarDeclBits.ParameterIndex == parameterIndex && "truncation!"); in setParameterIndex()
1408 void setParameterIndexLarge(unsigned parameterIndex);
/external/smali/smali/src/main/antlr3/
DsmaliTreeWalker.g570 int parameterIndex = LinearSearch.linearSearch(parameters, SmaliMethodParameter.COMPARATOR,
574 if (parameterIndex < 0) {
579 SmaliMethodParameter methodParameter = parameters.get(parameterIndex);

12