Searched defs:length (Results 1 - 25 of 39) sorted by relevance

12

/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/
H A DSpecialDBOperation.java79 * @param length length of the column to which strVal is bound.
82 int index, String strVal, int length) throws SQLException;
81 bindFixedCharColumn(PreparedStatement ps, int index, String strVal, int length) argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/database/
H A DBaseSpecialDBOperation.java74 int index, String strVal, int length) throws SQLException {
73 bindFixedCharColumn(PreparedStatement ps, int index, String strVal, int length) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DExpressionTokenizer.java87 private int length; field in class:ExpressionTokenizer
95 this.length = this.expr.length;
103 return index < length;
127 while (index < length && Character.isWhitespace(expr[index]))
131 if (index == length) return TOKEN_END; // End of string
136 if (index < length) nextChar = expr[index];
188 for (; index < length; index++) {
200 for (; index < length; index++) {
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStringParser.java119 * character of the string (i.e. equal to the string length) if you
127 * The length of the String we are currently parsing. Stored when the
130 private int length = 0; field in class:StringParser
154 * Return the length of the string we are parsing.
158 return (this.length);
183 this.length = string.length();
186 this.length = 0;
203 if (index < length)
212 * possible, a zero-length strin
[all...]
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/streams/
H A DJMXInbandStream.java49 long length = -1; field in class:JMXInbandStream.JMXInbandStreamContext
58 ctx.length = len;
69 return ctx.length;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/
H A DInputObject.java216 public int length() { method in class:InputObject
264 if (s.length() > 2 &&
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/monitor/
H A DDeploymentLifecycleStatsProvider.java128 if (appName.length() > appNameLength) {
129 appNameLength = appName.length() + 1;
132 if (moduleType.length() > moduleTypeLength) {
133 moduleTypeLength = moduleType.length() + 1;
195 private void appendColumn(StringBuffer buf, String text, int length) { argument
197 for (int i=text.length(); i<length; i++){
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DUploadDownloadMgrTest.java129 final long actual = remaining < junk.length ? remaining : junk.length;
142 assert (temp.length() == totalSize);
167 final long length = mgr.getDownloadLength(id);
169 while (doneSoFar < length) {
171 doneSoFar += bytes.length;
246 public UploadDownloadTestThread(final int length) { argument
249 mLength = length;
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/monitoring/
H A DTransactionServiceStatsProvider.java144 if (componentName.length() > componentNameLength) {
145 componentNameLength = componentName.length() + 1;
148 if (txnId.length() > txIdLength) {
149 txIdLength = txnId.length() + 1;
220 private void appendColumn(StringBuffer buf, String text, int length) { argument
222 for (int i=text.length(); i<length; i++){
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DParameterParser.java172 for (int i = 0; i < charray.length; i++) {
272 if (separators == null || separators.length == 0) {
277 int idx = str.length();
278 for (int i = 0; i < separators.length; i++) {
321 return parse(chars, 0, chars.length, separator);
331 * @param length - the length.
339 int length,
349 this.len = length;
365 if ((paramName != null) && (paramName.length() >
336 parse( final char[] chars, int offset, int length, char separator) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DNodeCreateRule.java198 * @param length the number of characters to read from the array
201 public void characters(char[] ch, int start, int length) argument
205 String str = new String(ch, start, length);
206 if (str.trim().length() > 0) {
283 if ((localName == null) || (localName.length() == 0)) {
291 (atts.getLocalName(i).length() == 0)) {
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/
H A DPreparedStatementWrapper40.java116 * @param length the number of characters in the parameter data.
126 public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { argument
127 preparedStatement.setNCharacterStream(parameterIndex, value, length);
151 * of characters specified by length otherwise a <code>SQLException</code> will be
161 * @param length the number of characters in the parameter data.
164 * a closed <code>PreparedStatement</code> or if the length specified is less than zero.
169 public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { argument
170 preparedStatement.setClob(parameterIndex, reader, length);
175 * of characters specified by length otherwise a <code>SQLException</code> will be
187 * @param length th
198 setBlob(int parameterIndex, InputStream inputStream, long length) argument
225 setNClob(int parameterIndex, Reader reader, long length) argument
272 setAsciiStream(int parameterIndex, InputStream x, long length) argument
296 setBinaryStream(int parameterIndex, InputStream x, long length) argument
322 setCharacterStream(int parameterIndex, Reader reader, long length) argument
[all...]
H A DResultSetWrapper40.java568 * @param length the length of the stream
577 public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { argument
578 resultSet.updateNCharacterStream(columnIndex, x, length);
599 * @param length the length of the stream
608 public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { argument
609 resultSet.updateNCharacterStream(columnLabel, reader, length);
623 * @param length the length o
633 updateAsciiStream(int columnIndex, InputStream x, long length) argument
658 updateBinaryStream(int columnIndex, InputStream x, long length) argument
683 updateCharacterStream(int columnIndex, Reader x, long length) argument
709 updateAsciiStream(String columnLabel, InputStream x, long length) argument
735 updateBinaryStream(String columnLabel, InputStream x, long length) argument
762 updateCharacterStream(String columnLabel, Reader reader, long length) argument
789 updateBlob(int columnIndex, InputStream inputStream, long length) argument
817 updateBlob(String columnLabel, InputStream inputStream, long length) argument
847 updateClob(int columnIndex, Reader reader, long length) argument
878 updateClob(String columnLabel, Reader reader, long length) argument
910 updateNClob(int columnIndex, Reader reader, long length) argument
943 updateNClob(String columnLabel, Reader reader, long length) argument
[all...]
H A DCallableStatementWrapper40.java201 * For the fixed-length type JDBC <code>NCHAR</code>,
229 * For the fixed-length type JDBC <code>NCHAR</code>,
341 * <code>setAsciiStream</code> which takes a length parameter.
371 * @param length the number of bytes in the stream
380 public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { argument
381 callableStatement.setAsciiStream(parameterName, x, length);
396 * <code>setBinaryStream</code> which takes a length parameter.
425 * @param length the number of bytes in the stream
434 public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { argument
435 callableStatement.setBinaryStream(parameterName, x, length);
508 setBlob(String parameterName, InputStream inputStream, long length) argument
567 setCharacterStream(String parameterName, Reader reader, long length) argument
662 setNCharacterStream(String parameterName, Reader value, long length) argument
714 setClob(String parameterName, Reader reader, long length) argument
768 setNClob(String parameterName, Reader reader, long length) argument
881 setAsciiStream(int parameterIndex, InputStream x, long length) argument
932 setBinaryStream(int parameterIndex, InputStream x, long length) argument
990 setBlob(int parameterIndex, InputStream inputStream, long length) argument
1046 setCharacterStream(int parameterIndex, Reader reader, long length) argument
1096 setClob(int parameterIndex, Reader reader, long length) argument
1146 setNCharacterStream(int parameterIndex, Reader value, long length) argument
1219 setNClob(int parameterIndex, Reader reader, long length) argument
[all...]
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DGSSUtils.java132 for( int i = 0; i < octets.length; i++ ) {
137 if( hex.length() == 1 ) {
169 _logger.log(Level.FINE,"Mech OID length = " + mechoidlen);
170 if (externalName.length < (4 + mechoidlen + 4))
192 if (externalName.length != (4 + mechoidlen + 4 + namelen))
195 byte[] name = new byte[externalName.length - pos];
196 System.arraycopy(externalName, pos, name, 0, externalName.length - pos);
226 _logger.log(Level.FINE,"Mech OID length = " + mechoidlen);
228 if (externalName.length < (4 + mechoidlen + 4))
254 * 2 mech OID length (le
480 getDERLengthSize(int length) argument
494 writeDERLength(byte [] token, int index, int length) argument
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/
H A DLogViewerResource.java90 long length(); method in interface:LogViewerResource.Source
140 if (source.length() < start) {
193 public long length() {
194 return file.length();
335 * Variable length byte buffer implemented as a linked list of fixed length buffer.
350 int chunk = f.read(buf, size, buf.length - size);
359 return buf.length == size;
375 int read(byte[] buf, int offset, int length) throws IOException; argument
405 public int read(byte[] buf, int offset, int length) throw argument
[all...]
/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dinflate.c284 uInt length = dictLength; local
292 if (length >= ((uInt)1<<z->state->wbits))
294 length = (1<<z->state->wbits)-1;
295 dictionary += dictLength - length;
297 inflate_set_dictionary(z->state->blocks, dictionary, length);
357 * but removes the length bytes of the resulting empty stored block. When
359 * waiting for these length bytes.
H A Ddeflate.c92 int length));
105 /* Matches of length 3 are discarded if their distance exceeds TOO_FAR */
118 ush good_length; /* reduce lazy search above this match length */
119 ush max_lazy; /* do not perform lazy search above this match length */
120 ush nice_length; /* quit search above this match length */
161 * the previous length of the hash chain.
218 * output size for (length,distance) codes is <= 24 bits.
296 uInt length = dictLength; local
306 if (length < MIN_MATCH) return Z_OK;
307 if (length > MAX_DIS
[all...]
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DCallableStatementWrapper.java144 * For the fixed-length type JDBC <code>CHAR</code>,
918 * @param length the number of bytes in the stream
922 public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException { argument
923 callableStatement.setAsciiStream(parameterName, x, length);
940 * @param length the number of bytes in the stream
944 public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException { argument
945 callableStatement.setBinaryStream(parameterName, x, length);
1053 * @param length the number of characters in the stream
1057 public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException { argument
1058 callableStatement.setCharacterStream(parameterName, reader, length);
[all...]
/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/
H A DJDBCInfo.java76 /** Indicator that property designates length of a mapped SQL type. */
80 /** Indicator that a type does not have a length associated with it. */
83 /** Flag value which indicates that a JDBCInfo does not have a length. */
102 /** Indicates length of a char, etc. column; default is null. */
103 private Integer length = null; field in class:JDBCInfo
125 /** Mask to indicate whether or not {@link #length} has a value. */
138 * @param length See {@link length}.
142 Integer length, boolean nullable) {
147 this.length
141 JDBCInfo(int jdbcType, Integer precision, Integer scale, Integer length, boolean nullable) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/database/oracle/
H A DOracleSpecialDBOperation.java266 int index, String strVal, int length) throws SQLException {
269 driverHandler.bindFixedCharColumn(index, strVal, length);
299 void defineColumnType( int index, int type, int length) argument
302 public void bindFixedCharColumn(int index, String strVal, int length) argument
316 // public void defineColumnType( int index, int type,int length)
318 // oraclePreparedStatement.defineColumnType(index, type, length);
323 // public void bindFixedCharColumn(int index, String strVal, int length)
339 // public void defineColumnType( int index, int type,int length)
341 // oraclePreparedStatement.defineColumnType(index, type, length);
346 // public void bindFixedCharColumn(int index, String strVal, int length)
265 bindFixedCharColumn(PreparedStatement stmt, int index, String strVal, int length) argument
360 defineColumnType( int index, int type,int length) argument
363 bindFixedCharColumn(int index, String strVal, int length) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DManager.java165 * Gets the session id length (in bytes) of Sessions created by
168 * @return The session id length
173 * Sets the session id length (in bytes) for Sessions created by this
176 * @param length The session id length
178 public void setSessionIdLength(int length); argument
430 * If this Manager has no active Sessions, a zero-length array is returned.
H A DRequest.java293 * Set the content length associated with this Request.
295 * @param length The new content length
297 public void setContentLength(int length); argument
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DFileDirContext.java945 if ((absoluteBase.length() < absPath.length())
946 && (absoluteBase.length() < canPath.length())) {
947 absPath = absPath.substring(absoluteBase.length() + 1);
950 canPath = canPath.substring(absoluteBase.length() + 1);
1010 for (int i = 0; i < names.length; i++) {
1065 * File length.
1067 protected long length = -1L; field in class:FileDirContext.FileResource
1140 * Get content length
[all...]
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/
H A DMappingGenerator.java222 for (int i = 0; i < allFields.length; i++) {
431 * Update column in the SchemaElement with jdbc type and its length,
435 * @param length an Integer for length or <code>null</code>
443 Integer length, Integer scale, Integer precision)
447 column.setLength(length);
458 * @param length an Integer for length or <code>null</code>
466 String fieldName, int jdbcType, Integer length, Integer scale,
474 className, fieldName), length);
442 updateColumn(ColumnElement column, int jdbcType, Integer length, Integer scale, Integer precision) argument
465 updateProperties(Properties prop, String className, String fieldName, int jdbcType, Integer length, Integer scale, Integer precision) argument
[all...]

Completed in 178 milliseconds

12