Searched refs:end (Results 26 - 50 of 124) sorted by relevance

12345

/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java102 * Adds the string representation of the specified boolean to the end of
118 * Adds the specified character to the end of this buffer.
131 * Adds the string representation of the specified double to the end of this
145 * Adds the string representation of the specified float to the end of this
159 * Adds the string representation of the specified integer to the end of
173 * Adds the string representation of the specified long to the end of this
187 * Adds the string representation of the specified object to the end of this
209 * Adds the specified string to the end of this buffer.
224 * Adds the specified StringBuffer to the end of this buffer.
248 * Adds the character array to the end o
322 append(CharSequence s, int start, int end) argument
376 delete(int start, int end) argument
418 getChars(int start, int end, char[] buffer, int idx) argument
649 insert(int index, CharSequence s, int start, int end) argument
681 replace(int start, int end, String string) argument
707 subSequence(int start, int end) argument
717 substring(int start, int end) argument
[all...]
H A DStringBuilder.java302 * @param end
306 * if {@code start} or {@code end} are negative, {@code start}
307 * is greater than {@code end} or {@code end} is greater than
310 public StringBuilder append(CharSequence csq, int start, int end) { argument
311 append0(csq, start, end);
331 * end}. Shifts any remaining characters to the left.
335 * @param end
336 * the exclusive end index.
340 * length or greater than {@code end}
342 delete(int start, int end) argument
614 insert(int offset, CharSequence s, int start, int end) argument
636 replace(int start, int end, String string) argument
[all...]
/libcore/luni/src/main/java/java/nio/
H A DCharBuffer.java115 * {@code end}, capacity will be the length of the char sequence. The new
123 * @param end
124 * the end index, must be no less than {@code start} and no
128 * if either {@code start} or {@code end} is invalid.
130 public static CharBuffer wrap(CharSequence cs, int start, int end) { argument
131 if (start < 0 || end < start || end > cs.length()) {
132 throw new IndexOutOfBoundsException("cs.length()=" + cs.length() + ", start=" + start + ", end=" + end);
136 result.limit = end;
562 put(String str, int start, int end) argument
622 subSequence(int start, int end) argument
696 append(CharSequence csq, int start, int end) argument
[all...]
H A DCharSequenceAdapter.java133 public CharBuffer put(String src, int start, int end) { argument
142 @Override public CharBuffer subSequence(int start, int end) { argument
143 checkStartEndRemaining(start, end);
146 result.limit = position + end;
H A DBuffer.java191 void checkStartEndRemaining(int start, int end) { argument
192 if (end < start || start < 0 || end > remaining()) {
193 throw new IndexOutOfBoundsException("start=" + start + ", end=" + end +
H A DCharArrayBuffer.java127 @Override public final CharBuffer subSequence(int start, int end) { argument
128 checkStartEndRemaining(start, end);
130 result.limit(position + end);
H A DByteBufferAsCharBuffer.java178 @Override public CharBuffer subSequence(int start, int end) { argument
179 checkStartEndRemaining(start, end);
181 result.limit(position + end);
/libcore/luni/src/main/java/java/util/
H A DTreeSet.java355 public NavigableSet<E> subSet(E start, boolean startInclusive, E end, argument
358 int compare = (c == null) ? ((Comparable<E>) start).compareTo(end) : c
359 .compare(start, end);
361 return new TreeSet<E>(backingMap.subMap(start, startInclusive, end,
374 public NavigableSet<E> headSet(E end, boolean endInclusive) { argument
378 ((Comparable<E>) end).compareTo(end);
380 c.compare(end, end);
382 return new TreeSet<E>(backingMap.headMap(end, endInclusiv
424 subSet(E start, E end) argument
445 headSet(E end) argument
[all...]
H A DVector.java127 * vector, the object is added at the end.
144 * Adds the specified object at the end of this vector.
203 * Adds the objects in the specified collection to the end of this vector.
215 * Adds the specified object at the end of this vector.
510 * for the object starts at the beginning and moves towards the end of this
528 * for the object starts at the specified location and moves towards the end
565 * equal to the size of this vector, the object is added at the end.
627 * for the object starts at the end and moves towards the start of this
711 * towards the end, of the specified object from this vector. All elements
760 * towards the end, o
823 removeRange(int start, int end) argument
960 subList(int start, int end) argument
[all...]
/libcore/luni/src/main/java/java/nio/channels/
H A DFileLock.java156 final long end = position + size - 1;
158 if (end < start || position > newEnd) {
/libcore/dex/src/main/java/com/android/dex/
H A DLeb128.java64 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1;
67 hasMore = (remaining != end)
150 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1;
153 hasMore = (remaining != end)
/libcore/support/src/test/java/tests/support/
H A DSupport_StringReader.java109 * an int. The 2 higher-order bytes are set to 0. If the end of reader was
112 * @return the character read or -1 if end of reader.
134 * if the end of reader was encountered.
142 * @return the number of characters read or -1 if end of reader.
157 int end = pos + count > this.count ? this.count : pos
159 str.getChars(pos, end, buf, offset);
160 int read = end - pos;
161 pos = end;
/libcore/luni/src/main/java/java/util/regex/
H A DMatcher.java48 * Holds the end of the region, or input.length() if the matching should
49 * go until the end of the input.
112 appendPos = end();
191 * @param end
192 * the end of the region.
196 private Matcher reset(CharSequence input, int start, int end) { argument
201 if (start < 0 || end < 0 || start > input.length() || end > input.length() || start > end) {
207 this.regionEnd = end;
268 region(int start, int end) argument
549 public int end() { method in class:Matcher
558 public int end(int group) { method in class:Matcher
625 setInputImpl(long addr, String s, int start, int end) argument
[all...]
/libcore/luni/src/test/java/libcore/java/util/regex/
H A DOldMatcherTest.java163 int end = 6;
173 start = end;
174 end += 3;
185 int end = 6;
191 assertEquals("End is wrong for group " + i + " :" + mat.group(i), start + mat.group(i).length(), mat.end(i));
193 assertEquals("End is wrong for group " + i + " :" + mat.group(i), start + 4 + mat.group(i).length(), mat.end(i));
195 start = end;
196 end += 3;
222 int end = 6;
228 assertEquals(end, ma
[all...]
/libcore/luni/src/main/java/libcore/net/url/
H A DUrlUtils.java28 * handles ".." and "." segments at both the beginning and end of the path.
53 * We've encountered either the end of a segment or the end of the
130 * bounded between {@code start} and {@code end}. This returns {@code end}
133 public static int findFirstOf(String string, String chars, int start, int end) { argument
134 for (int i = start; i < end; i++) {
140 return end;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DDeflaterTest.java77 assertEquals("Deflater at end of stream, should return 0", 0, defl
83 defl.end();
101 infl.end();
121 assertEquals("Deflater at end of stream, should return 0", 0, defl.deflate(
127 defl.end();
145 infl.end();
166 defl.end();
170 * java.util.zip.Deflater#end()
182 defl.end();
183 helper_end_test(defl, "end");
[all...]
H A DInflaterTest.java38 * java.util.zip.Inflater#end()
41 // test method of java.util.zip.inflater.end()
47 inflate.end();
57 i.end();
59 i.end();
338 infl1.end();
350 infl2.end();
405 inflate.end();
436 infl1.end();
448 infl2.end();
[all...]
/libcore/luni/src/main/java/java/io/
H A DStringWriter.java206 * StringWriter.writer(csq.subsequence(start, end).toString())}. If {@code
215 * @param end
220 * if {@code start > end}, {@code start < 0}, {@code end < 0} or
221 * either {@code start} or {@code end} are greater or equal than
225 public StringWriter append(CharSequence csq, int start, int end) { argument
229 String output = csq.subSequence(start, end).toString();
H A DWriter.java209 * Writer.writer(csq.subsequence(start, end).toString())}. If {@code
218 * @param end
225 * if {@code start > end}, {@code start < 0}, {@code end < 0} or
226 * either {@code start} or {@code end} are greater or equal than
229 public Writer append(CharSequence csq, int start, int end) throws IOException { argument
233 write(csq.subSequence(start, end).toString());
H A DCharArrayWriter.java271 * specified by the parameters {@code start} and {@code end}. A call to
273 * CharArrayWriter.write(csq.subSequence(start, end).toString)}. If {@code
283 * @param end
288 * if {@code start < 0}, {@code end < 0}, {@code start > end},
289 * or if {@code end} is greater than the length of {@code csq}.
292 public CharArrayWriter append(CharSequence csq, int start, int end) { argument
296 String output = csq.subSequence(start, end).toString();
/libcore/luni/src/main/java/java/net/
H A DURLStreamHandler.java80 * @param end
85 protected void parseURL(URL url, String spec, int start, int end) { argument
89 if (end < start) {
90 throw new StringIndexOutOfBoundsException(spec, start, end - start);
104 fileStart = UrlUtils.findFirstOf(spec, "/?#", authorityStart, end);
166 while (pos < end) {
170 nextPos = end;
174 nextPos = UrlUtils.findFirstOf(spec, "#", pos, end);
179 nextPos = UrlUtils.findFirstOf(spec, "?#", pos, end);
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractInterruptibleChannel.java32 * indefinitely, then {@code end(boolean)} after completing the operation. The
33 * argument to the {@code end} method should indicate if the I/O operation has
89 * should invoke the corresponding {@code end(boolean)} method.
96 * Indicates the end of a code section that has been started with
109 protected final void end(boolean success) throws AsynchronousCloseException { method in class:AbstractInterruptibleChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DRefSortedMap.java94 final K start, end; field in class:RefSortedMap.SubMap
100 this.end = last;
101 if (hasStart && hasEnd && compare(start, end) >= 0) {
203 int idx = bsearch(end);
225 return new SubMap(true, key, hasEnd, end);
232 if (hasEnd && compare(key, end) >= 0) {
245 public int compare(K start, K end) { argument
246 return comparator != null ? comparator.compare(start, end)
247 : ((Comparable<K>) start).compareTo(end);
/libcore/luni/src/main/native/
H A Djava_lang_ProcessManager.cpp58 char* end; local
59 int fd = strtol(e->d_name, &end, 10);
60 if (!*end) {
172 // end of the pipe should automatically close, in which case, we'll read
/libcore/luni/src/main/java/java/util/jar/
H A DJarVerifier.java349 chunk.start, chunk.end, createdBySigntool, false)) {
370 int start, int end, boolean ignoreSecondEndline, boolean ignorable) {
384 if (ignoreSecondEndline && data[end - 1] == '\n' && data[end - 2] == '\n') {
385 md.update(data, start, end - 1 - start);
387 md.update(data, start, end - start);
369 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument

Completed in 2258 milliseconds

12345