Searched refs:index (Results 1 - 25 of 257) sorted by relevance

1234567891011

/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/
H A DTableIndex.java53 private int index; field in class:TableIndex
55 public TableIndex(int index) { argument
56 this.index = index;
60 return index;
64 return Integer.toString(index);
67 public void setValue(int index) { argument
68 this.index = index;
H A DInputParamValue.java53 * This class holds the index of the parameter, which is used
60 * @param index parameter index
64 public InputParamValue(Integer index, ColumnElement columnElement) { argument
65 super(index, columnElement);
H A DDBStatement.java195 * the specified index reference.
196 * @param index the index
199 * marker at specified index. This parameter will always contain correct
209 public void bindInputColumn(int index, Object val, ColumnElement columnElement, DBVendorType vendorType) argument
214 Object[] items = {new Integer(index),val,new Integer(sqlType)};
221 preparedStmt.setNull(index, sqlType);
226 preparedStmt.setInt(index, number.intValue());
228 preparedStmt.setLong(index, number.longValue());
230 preparedStmt.setShort(index, numbe
287 bindStringValue(int index, String strVal, ColumnElement columnElement, DBVendorType vendorType) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStringParser.java116 * The zero-relative index of the current point at which we are
118 * the value of this index can be one larger than the index of the last
123 private int index = 0; field in class:StringParser
143 * Return the zero-relative index of our current parsing position
148 return (this.index);
203 if (index < length)
204 index++;
214 * @param start Starting index, zero relative, inclusive
231 * @param start Starting index, zer
[all...]
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DLogRestartDescriptor.java102 * @param index The index in the array where copy is to start.
108 LogRestartDescriptor(byte[] bytes, int index) { argument
109 restartValid = (bytes[index++]&255) +
110 ((bytes[index++]&255) << 8) +
111 ((bytes[index++]&255) << 16) +
112 ((bytes[index++]&255) << 24);
114 restartDataLength = (bytes[index++]&255) +
115 ((bytes[index++]&255) << 8) +
116 ((bytes[index
135 toBytes(byte[] bytes, int index) argument
[all...]
H A DLogRecordHeader.java100 * @param index The index in the array where copy is to start.
106 LogRecordHeader(byte[] bytes, int index) { argument
107 recordType = (bytes[index++]&255) +
108 ((bytes[index++]&255) << 8) +
109 ((bytes[index++]&255) << 16) +
110 ((bytes[index++]&255) << 24);
112 currentLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF;
113 previousLSN = new LogLSN(bytes,index); inde
149 toBytes(byte[] bytes, int index) argument
[all...]
H A DLogControlDescriptor.java110 * @param index The index in the array where copy is to start.
117 int index ) {
118 headLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF;
119 tailLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF;
120 nextLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF;
126 * @param index Th
[all...]
H A DLogLSN.java148 * @param index The index in the array where copy is to start.
155 int index ) {
156 offset = (bytes[index++]&255) +
157 ((bytes[index++]&255) << 8) +
158 ((bytes[index++]&255) << 16) +
159 ((bytes[index++]&255) << 24);
160 extent = (bytes[index++]&255) +
161 ((bytes[index++]&255) << 8) +
162 ((bytes[index
[all...]
H A DLogRecordEnding.java107 * @param index The index in the array where copy is to start.
114 int index ) {
115 currentLSN = new LogLSN(bytes,index);
121 * @param index The index in the array where copy is to start.
128 int index ) {
129 currentLSN.toBytes(bytes,index);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/util/
H A DCookieTokenizer.java71 * @param beginIndex The index in cookies to begin parsing from, inclusive
75 int index = beginIndex;
77 while (index < length) {
78 switch (cookies.charAt(index)) {
82 tokens[numTokens] = cookies.substring(beginIndex, index).trim();
88 return index + 1;
92 tokens[numTokens] = cookies.substring(beginIndex, index).trim();
94 return parseValue(cookies, index + 1);
98 do index++; while (cookies.charAt(index) !
157 tokenAt(int index) argument
[all...]
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DParameterInfo.java53 * Parameter index.
54 * The index corresponds to JDO QL parameters.
56 private final int index; field in class:ParameterInfo
71 public ParameterInfo(int index, int type) argument
73 this(index, type, null);
77 * Constructs a new ParameterInfo with the specified index, type and
79 * @param index
83 public ParameterInfo(int index, int type, String associatedField) argument
85 this.index = index;
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DExpressionTokenizer.java86 private int index; field in class:ExpressionTokenizer
103 return index < length;
108 * Returns the current index for error reporting purposes.
111 return index;
127 while (index < length && Character.isWhitespace(expr[index]))
128 index++;
131 if (index == length) return TOKEN_END; // End of string
132 int start = index;
133 char currentChar = expr[index];
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DXModuleType.java94 final Integer index; field in class:XModuleType
96 this.index = value;
99 public static XModuleType create(int index) { argument
101 if (!ModuleTypes.containsKey(index)) {
102 ModuleTypes.put(index, new XModuleType(index));
105 return ModuleTypes.get(index);
111 * Considers only {@link #index} for equality.
115 return this==o || (o!=null && getClass()==o.getClass() && index.equals((((XModuleType) o).index)));
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DConstBasic.java51 /* The index of the constant entry in the constant pool */
52 protected int index = 0; field in class:ConstBasic
56 /* Get the index of this constant entry */
57 public int getIndex() { return index; }
65 * Sets the index of this constant with its containing constant pool
67 void setIndex(int ind) { index = ind; }
75 * Resolve integer index references to the actual constant pool
83 * Return the index of this constant in the constant pool as
86 String indexAsString() { return Integer.toString(index); }
H A DInsnIInc.java122 int store(byte[] buf, int index) { argument
124 buf[index++] = (byte) opc_wide;
125 buf[index++] = (byte) opcode();
127 index = storeShort(buf, index, (short) localVarIndex);
128 index = storeShort(buf, index, (short) value);
130 buf[index++] = (byte)localVarIndex;
131 buf[index++] = (byte)value;
133 return index;
[all...]
H A DInsnTableSwitch.java130 int index = i + lowOp;
133 out.println(index + " -> " + targetsOp[i].offset());//NOI18N
140 int store(byte[] buf, int index) { argument
141 buf[index++] = (byte) opcode();
142 index = (index + 3) & ~3;
143 index = storeInt(buf, index, defaultOp.offset() - offset());
144 index = storeInt(buf, index, lowO
[all...]
H A DInsnLookupSwitch.java155 int store(byte[] buf, int index) { argument
156 buf[index++] = (byte) opcode();
157 index = (index + 3) & ~3;
158 index = storeInt(buf, index, defaultOp.offset() - offset());
159 index = storeInt(buf, index, targetsOp.length);
161 index = storeInt(buf, index, matchesO
[all...]
H A DInsnInterfaceInvoke.java122 int store(byte[] buf, int index) { argument
123 buf[index++] = (byte) opcode();
124 index = storeShort(buf, index, (short)method().getIndex());
125 buf[index++] = (byte) nArgsOp;
126 buf[index++] = (byte) 0;
127 return index;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/web/
H A DConstraintField.java75 public void setValue(int index, String value) argument
77 this.setValue(VALUE, index, value);
81 public String getValue(int index) argument
83 return (String)this.getValue(VALUE, index);
104 // Add a new element returning its index in the list
107 int index = this.addValue(VALUE, value);
108 if (getAttributeValue(VALUE, index, MATCH_EXPR)==null)
109 setAttributeValue(VALUE, index, MATCH_EXPR, "equals");
110 if (getAttributeValue(VALUE, index, CACHE_ON_MATCH)==null)
111 setAttributeValue(VALUE, index, CACHE_ON_MATC
[all...]
H A DSunWebApp.java82 public void setSecurityRoleMapping(int index, SecurityRoleMapping value) argument
84 this.setValue(SECURITY_ROLE_MAPPING, index, value);
88 public SecurityRoleMapping getSecurityRoleMapping(int index) argument
90 return (SecurityRoleMapping)this.getValue(SECURITY_ROLE_MAPPING, index);
111 // Add a new element returning its index in the list
119 // Returns the index the element had in the list
127 public void setWLSecurityRoleAssignment(int index, WLSecurityRoleAssignment value) argument
129 this.setValue(WL_SECURITY_ROLE_ASSIGNMENT, index, value);
133 public WLSecurityRoleAssignment getWLSecurityRoleAssignment(int index) argument
135 return (WLSecurityRoleAssignment)this.getValue(WL_SECURITY_ROLE_ASSIGNMENT, index);
172 setServlet(int index, Servlet value) argument
178 getServlet(int index) argument
217 setIdempotentUrlPattern(int index, IdempotentUrlPattern value) argument
223 getIdempotentUrlPattern(int index) argument
273 setResourceEnvRef(int index, ResourceEnvRef value) argument
279 getResourceEnvRef(int index) argument
318 setResourceRef(int index, ResourceRef value) argument
324 getResourceRef(int index) argument
363 setEjbRef(int index, EjbRef value) argument
369 getEjbRef(int index) argument
480 setValve(int index, Valve value) argument
485 getValve(int index) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DPropertiesDecoder.java95 int index = element.indexOf("=");
98 if(index < 0)
102 else if(element.length() - 1 <= index ) {
104 map.put(element.substring(0, index), null);
108 map.put(element.substring(0, index), element.substring(index + 1));
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DUtil.java101 int index = normalized.indexOf("//");
102 if (index < 0)
104 normalized = normalized.substring(0, index) +
105 normalized.substring(index + 1);
110 int index = normalized.indexOf("/./");
111 if (index < 0)
113 normalized = normalized.substring(0, index) +
114 normalized.substring(index + 2);
119 int index = normalized.indexOf("/../");
120 if (index <
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/
H A DInputReader.java63 this.index = 0;
81 if (useLastChar || index <= 0) {
84 index -= 1;
98 this.index += 1;
113 this.index += 1;
176 this.index += pos;
202 private int index; field in class:InputReader
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/
H A DRuntimeDescriptor.java126 protected void setValue(String name, int index, Object value) { argument
128 list.set(index, value);
132 protected Object getValue(String name, int index) { argument
134 return list.get(index);
146 int index = list.indexOf(value);
147 list.remove(index);
148 return index;
151 protected void removeValue(String name, int index) { argument
153 list.remove(index);
199 int index
221 setAttributeValue(String elementName, int index, String attributeName, Object value) argument
225 getAttributeValue(String elementName, int index, String attributeName) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/connector/
H A DRoleMap.java66 public void setMapElement(int index, MapElement value) argument
68 this.setValue(MAP_ELEMENT, index, value);
72 public MapElement getMapElement(int index) argument
74 return (MapElement)this.getValue(MAP_ELEMENT, index);
95 // Add a new element returning its index in the list
103 // Returns the index the element had in the list

Completed in 6670 milliseconds

1234567891011