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

/javamail/mail/src/main/java/com/sun/mail/iap/
H A DResponse.java55 protected int index; // internal index (updated during the parse) field in class:Response
56 protected int pindex; // index after parse, for reset
127 index = r.index;
151 index = 0; // position internal index at start
155 if (buffer[index] == '+') { // Continuation statement
157 index += 1; // Position beyond the '+'
159 } else if (buffer[index]
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DIMAPResponse.java111 if (buffer[index] != '(') // not what we expected
113 index++; // skip '('
117 for (start = index; buffer[index] != ')'; index++) {
118 if (buffer[index] == ' ') { // got one item
119 v.add(ASCIIUtility.toString(buffer, start, index));
120 start = index+1; // index gets incremented at the top
123 if (index > star
[all...]
H A DFetchResponse.java103 public Item getItem(int index) { argument
104 return items[index];
200 if (buffer[index] != '(')
202 "error in FETCH parsing, missing '(' at index " + index);
207 index++; // skip '(', or SPACE
209 if (index >= size)
218 "error in FETCH parsing, unrecognized item at index " +
219 index + ", starts with \"" + next20() + "\"");
220 } while (buffer[index] !
[all...]
H A DBASE64MailboxEncoder.java116 for(int index = 0; index < length; index++) {
117 char current = origchars[index];
/javamail/mail/src/main/java/javax/mail/
H A DMultipartDataSource.java74 * @param index the index of the desired Part
76 * @exception IndexOutOfBoundsException if the given index
80 public BodyPart getBodyPart(int index) throws MessagingException; argument
H A DMultipart.java148 * @param index the index of the desired Part
150 * @exception IndexOutOfBoundsException if the given index
154 public synchronized BodyPart getBodyPart(int index) argument
159 return (BodyPart)parts.elementAt(index);
187 * @param index Index of the part to remove
188 * @exception IndexOutOfBoundsException if the given index
195 public synchronized void removeBodyPart(int index) argument
200 BodyPart part = (BodyPart)parts.elementAt(index);
201 parts.removeElementAt(index);
240 addBodyPart(BodyPart part, int index) argument
[all...]
/javamail/mail/src/main/java/javax/mail/internet/
H A DInternetAddress.java694 int start, end, index, nesting;
705 for (start = end = -1, index = 0; index < length; index++) {
706 c = s.charAt(index);
714 end = index;
715 int pindex = index;
716 for (index++, nesting = 1; index < length && nesting > 0;
717 index
[all...]
H A DMimeMultipart.java341 * @param index the index of the desired BodyPart
345 public synchronized BodyPart getBodyPart(int index) argument
348 return super.getBodyPart(index);
393 * @param index Index of the part to remove
394 * @exception IndexOutOfBoundsException if the given index
401 public void removeBodyPart(int index) throws MessagingException { argument
403 super.removeBodyPart(index);
423 * Adds a BodyPart at position <code>index</code>.
424 * If <code>index</cod
436 addBodyPart(BodyPart part, int index) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMultipartDataSource.java80 public BodyPart getBodyPart(int index) throws MessagingException { argument
81 return parts.get(index);
H A DIMAPStore.java1394 for (int index = pool.authenticatedConnections.size() - 1;
1395 index >= 0; --index) {
1398 pool.authenticatedConnections.elementAt(index);
1438 for (int index = pool.authenticatedConnections.size() - 1;
1439 index > 0; index--) {
1441 elementAt(index);
1453 pool.authenticatedConnections.removeElementAt(index);
H A DIMAPFolder.java131 * is its index into the messageCache, and a sequenceNumber - which is
563 int index;
564 if ((index = fullName.lastIndexOf(c)) != -1)
566 fullName.substring(0, index), c);
686 start = 1; // start from index = 1
/javamail/mail/src/main/java/com/sun/mail/util/
H A DBASE64DecoderStream.java59 private int index = 0; // index into the cache field in class:BASE64DecoderStream
109 if (index >= bufsize) {
113 index = 0; // reset index into buffer
115 return buffer[index++] & 0xff; // Zero off the MSB
135 while (index < bufsize && len > 0) {
136 buf[off++] = buffer[index++];
139 if (index >= bufsize)
140 bufsize = index
[all...]
H A DUUDecoderStream.java61 private int index = 0; // index into the cache field in class:UUDecoderStream
118 if (index >= bufsize) {
122 index = 0; // reset index into buffer
124 return buffer[index++] & 0xff; // return lower byte
147 return ((in.available() * 3)/4 + (bufsize-index));
/javamail/outlook/src/main/java/
H A DMSMultipartDataSource.java101 public BodyPart getBodyPart(int index) throws MessagingException { argument
102 return (BodyPart)parts.get(index);
/javamail/webapp/
H A Dbuild.sh45 jar cvf ../../javamail.war index.html *.jsp WEB-INF
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DMultipartReport.java376 private synchronized void setBodyPart(BodyPart part, int index) argument
381 if (index < parts.size())
382 super.removeBodyPart(index);
383 super.addBodyPart(part, index);
416 * @param index Index of the part to remove
419 public void removeBodyPart(int index) throws MessagingException { argument
442 * Adds a BodyPart at position <code>index</code>.
446 * @param index Location where to insert the part
449 public synchronized void addBodyPart(BodyPart part, int index) argument
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DDigestMD5.java234 for (int index = 0, i = 0; index < bytes.length; index++) {
235 int temp = bytes[index] & 0xFF;
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DCompactFormatter.java702 final int index = name.lastIndexOf('.');
703 name = index > -1 ? name.substring(index + 1) : name;
717 final int index = name.lastIndexOf('.');
718 name = index > -1 ? name.substring(0, index) : name;
H A DMailHandler.java299 * The attachment order maps directly to the array index order in this
300 * <tt>Handler</tt> with zero index being the first attachment. The number of
390 * 3. The index of the first filter to accept a log record.
397 * This must be less than the body filter index (-1).
434 * A mapping of log record to matching filter index. Negative one is used
743 * This is used to get the filter index from when {@code isLoggable} and
746 * @return the filter index or MUTEX_PUBLISH if unknown.
760 * This is used to record the filter index when {@code isLoggable} and
763 * @param index the filter index
766 setMatchedPart(int index) argument
778 clearMatches(int index) argument
3457 createBodyPart(int index) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/auth/
H A DMD4.java145 int index = (int)bytesProcessed & 0x3f;
146 int padLen = (index < 56) ? (56 - index) : (120 - index);
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DProtocol.java332 for (int index = 0, i = 0; index < bytes.length; index++) {
333 int temp = bytes[index] & 0xFF;
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxFolder.java714 int index = messageIndexOf(msgno);
716 if (index == 0)
719 start = ((MessageMetadata)messages.get(index - 1)).end;
720 long end = ((MessageMetadata)messages.get(index)).end;
979 * Return the first index of any of the characters in "any" in "s",
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DMailHandlerTest.java2249 fail("Verify index=" + v);
2263 fail("Verify index=" + v);
2267 fail("Verify index=" + v);
3750 fail("Null index was allowed.");
3814 fail("Null index was allowed.");
6763 int index = result.indexOf(ErrorManager.class.getName() + ": "
6766 assertTrue(index > -1);
6768 "java.lang.ClassNotFoundException: InvalidErrorManager") > index);

Completed in 892 milliseconds