Searched refs:end (Results 1 - 25 of 81) sorted by relevance

1234

/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/plugin/
H A DConsoleClassLoader.java105 int end = name.indexOf('/');
107 while (end == start) {
108 end = name.indexOf('/', ++start);
110 if (end == -1) {
114 String moduleName = name.substring(start, end);
115 name = name.substring(end + 1);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DCoyoteAdapter.java661 int end = uriBC.getEnd();
664 if (start == end)
668 if ((end - start == 1) && b[start] == (byte) '*')
676 for (pos = start; pos < end; pos++) {
696 for (pos = start; pos < (end - 1); pos++) {
698 while ((pos + 1 < end) && (b[pos + 1] == (byte) '/')) {
699 copyBytes(b, pos, pos + 1, end - pos - 1);
700 end--;
709 if (((end - start) > 2) && (b[end
[all...]
H A DCoyoteReader.java245 int end = -1;
248 while (end < 0) {
250 while ((pos < MAX_LINE_LENGTH) && (end < 0)) {
256 end = pos;
259 for (int i = pos; (i < (pos + nRead)) && (end < 0); i++) {
261 end = i;
273 end = i;
281 if (end < 0) {
294 result = new String(lineBuffer, 0, end);
296 aggregator.append(lineBuffer, 0, end);
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DRule.java238 * This method is called when the end of a matching XML element
241 * @deprecated Use the {@link #end(String,String) end} method with
244 public void end() throws Exception { method in class:Rule
252 * This method is called when the end of a matching XML element
254 * method {@link #end end} without the
265 public void end(String namespace, String name) method in class:Rule
268 end();
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/
H A DLineEndNormalizingWriter.java52 * normalize the line end, and if we only send LF without CR, it will
87 int end = off+len;
90 for( int i=off; i<end; i++ ) {
101 super.write(cbuf,writeBegin,end-writeBegin);
106 int end = off+len;
109 for( int i=off; i<end; i++ ) {
120 super.write(str,writeBegin,end-writeBegin);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStringParser.java120 * parse off the end of the string. This value is useful for extracting
121 * substrings that include the end of the string.
199 * past the end of the string.
211 * and extends to the end of the string being parsed. If this is not
232 * @param end Ending index, zero relative, exclusive
234 public String extract(int start, int end) { argument
236 if ((start < 0) || (start >= end) || (end > length))
239 return (string.substring(start, end));
304 * specified character, or until it moves past the end o
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRelayService.java120 int start = 0, end = 0;
125 start = line.indexOf(STRING_TOKEN, end);
128 buf.append(line.substring(end, start));
133 // Find end of token
134 end = line.indexOf(END_TOKEN, start);
135 if (end != -1) {
139 bundle.getString(line.substring(start, end)));
142 buf.append(STRING_TOKEN + line.substring(start, end) + END_TOKEN);
146 end += END_TOKEN.length();
148 // Add back the %%% because we didn't find a matching end
[all...]
/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dinfutil.c37 /* compute number of bytes to copy as far as end of window */
38 n = (uInt)((q <= s->write ? s->write : s->end) - q);
50 /* copy as far as end of window */
56 if (q == s->end)
60 if (s->write == s->end)
H A Dinfutil.h16 TYPE, /* get type bits (3, including end bit) */
56 Bytef *end; /* one byte after sliding window */ member in struct:inflate_blocks_state
79 #define WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q)
81 #define WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/utility/
H A DStringScanner.java63 int end = s.length();
66 return end;
67 while (offset < end && Character.isWhitespace(s.charAt(offset)))
74 int end = s.length();
77 return end;
78 while (offset < end && delim.indexOf(s.charAt(offset)) == -1)
85 int end = s.length();
88 return end;
89 while (offset < end && delim != s.charAt(offset))
103 int end
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DHttpUtils.java80 int end = curPosition;
85 for (int i = start; i <= (end - srcEnd); i++) {
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/
H A DTokenResolver.java220 token.end = s.indexOf(Token.TOKEN_END, token.start + 2);
222 if (token.end <= 0 || token.start < 0) {
226 token.token = s.substring(token.start, token.end + 1);
227 token.name = s.substring(token.start + Token.TOKEN_START.length(), token.end);
260 int end; field in class:TokenResolver.Token
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DRequestItemIterator.java260 // Whether we have seen the end of the file.
498 int end = parseEndOfLine(headerPart, start);
499 if (start == end) {
503 new StringBuilder(headerPart.substring(start, end));
504 start = end + 2;
518 end = parseEndOfLine(headerPart, nonWs);
519 header.append(" ").append(headerPart.substring(nonWs, end));
520 start = end + 2;
536 * Skips bytes until the end of the current line.
538 * @param end Inde
543 parseEndOfLine(String headerPart, int end) argument
[all...]
/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/xa/
H A DXAResource.java64 * <code>end</code> method to disassociate the transaction from
67 * work performed on its data between the start and end method invocations.
123 void end(Xid xid, int flags) throws XAException; method in interface:XAResource
/glassfish-3.1.2/admin/rest/src/main/resources/org/glassfish/admin/rest/static/
H A Dajax.javascript60 var end = xmlhttp.responseText.indexOf("</body");
62 document.body.innerHTML = xmlhttp.responseText.substring(start+6, end);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DXAResourceImpl.java79 //reaches here. the end() method might not really signal
81 //suspended. In case of transaction suspension, the end
101 public void end(Xid xid, int flags) throws XAException { method in class:XAResourceImpl
102 xar.end(xid, flags);
190 //reaches here. the end() method might not really signal
192 //suspended. In case of transaction suspension, the end
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/
H A DCMPDeployerImpl.java199 } // end while ejbs.hasNext()
204 long end = System.currentTimeMillis();
205 _logger.fine("CMP Generation: " + (end - start) + " msec");
221 long end = System.currentTimeMillis();
223 _logger.fine("Java Compilation: " + (end - start) + " msec");
231 end = System.currentTimeMillis();
232 _logger.fine("Java2DB processing: " + (end - start) + " msec");
351 long end = start;
356 end = System.currentTimeMillis();
358 + " files) = " + (end
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DTimerSchedule.java178 end(se.getEnd());
195 end(sd.getEnd());
329 public TimerSchedule end(Date e) { method in class:TimerSchedule
390 end(end_);
706 int end = getNumericValue(arr[1], start, size, field);
719 //System.out.println("== RANGE from: " + begin + " to " + end);
722 setBitsRange(bits, begin, end, 1, 8);
724 setBitsRange(bits, begin, end, 0, size);
774 int end = 31;
776 end
1069 setBitsRange(BitSet bits, int begin, int end, int start, int size) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIMediator.java295 int end = -1;
303 // Find the end of the var reference
307 end = i;
308 nameEnd = end;
309 if (endChar == '}') end++;
315 sb.replace(start, end, value);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DXAResourceWrapper.java77 public void end(Xid xid, int flags) throws XAException { method in class:XAResourceWrapper
78 print("XAResource.end: " + xidToString(xid) + "," +
80 res.end(xid, flags);
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/
H A DTransactionState.java160 res.end(xid, XAResource.TMSUCCESS);
198 res.end(xid, XAResource.TMSUCCESS);
358 xares.end(xid, XAResource.TMSUCCESS);
361 xares.end(xid, XAResource.TMSUSPEND);
364 xares.end(xid, XAResource.TMFAIL);
372 xares.end(xid, XAResource.TMSUCCESS);
379 xares.end(xid, XAResource.TMSUCCESS);
385 xares.end(xid, XAResource.TMFAIL);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DProfilerImpl.java96 item.end();
152 void end() { method in class:ProfilerImpl.Item
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DXAResourceWrapper.java73 public void end(Xid xid, int i) throws XAException{ method in class:XAResourceWrapper
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/
H A DMsgAjp.java140 public void end() { method in class:MsgAjp
234 int end = cc.getEnd();
235 appendInt(end - start);
237 for (int i = start; i < end; i) {
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/
H A DMsg.java96 public abstract void end(); method in class:Msg

Completed in 126 milliseconds

1234