Searched defs:start (Results 1 - 25 of 105) sorted by relevance

12345

/libcore/luni/src/main/java/java/lang/
H A DAppendable.java67 * to calling {@code append(csq.subSequence(start, end))}.
73 * @param start
81 * if {@code start < 0}, {@code end < 0}, {@code start > end}
86 Appendable append(CharSequence csq, int start, int end) throws IOException; argument
H A DCharSequence.java41 * Returns a {@code CharSequence} from the {@code start} index (inclusive)
44 * @param start
45 * the start offset of the sub-sequence. It is inclusive, that
54 * if {@code start < 0}, {@code end < 0}, {@code start > end},
55 * or if {@code start} or {@code end} are greater than the
58 public CharSequence subSequence(int start, int end); argument
H A DProcessBuilder.java187 public Process start() throws IOException { method in class:ProcessBuilder
/libcore/luni/src/main/java/java/util/regex/
H A DMatchResult.java76 int start(); method in interface:MatchResult
82 int start(int group); method in interface:MatchResult
H A DMatchResultImpl.java35 * elements specify start and end of the zero group, the next two specify
54 return text.substring(start(), end());
71 public int start() { method in class:MatchResultImpl
72 return start(0);
75 public int start(int group) { method in class:MatchResultImpl
/libcore/luni/src/main/java/java/nio/channels/
H A DFileLock.java149 * @param start
155 public final boolean overlaps(long start, long length) { argument
157 final long newEnd = start + length - 1;
158 if (end < start || position > newEnd) {
/libcore/luni/src/main/java/java/util/
H A DSortedSet.java80 * {@code SortedSet} which contains elements greater or equal to the start
85 * @param start
86 * the start element.
89 * @return a subset where the elements are greater or equal to {@code start}
92 * when the class of the start or end element is inappropriate
95 * when the start or end element is null and this
98 * when the start element is greater than the end element.
100 public SortedSet<E> subSet(E start, E end); argument
104 * {@code SortedSet} which contains elements greater or equal to the start
108 * @param start
118 tailSet(E start) argument
[all...]
/libcore/luni/src/main/java/libcore/internal/
H A DStringPool.java28 private static boolean contentEquals(String s, char[] chars, int start, int length) { argument
33 if (chars[start + i] != s.charAt(i)) {
41 * Returns a string equal to {@code new String(array, start, length)}.
43 public String get(char[] array, int start, int length) { argument
46 for (int i = start; i < start + length; i++) {
56 if (pooled != null && contentEquals(pooled, array, start, length)) {
60 String result = new String(array, start, length);
/libcore/luni/src/main/java/libcore/net/url/
H A DFileHandler.java88 * @param start
97 protected void parseURL(URL url, String spec, int start, int end) { argument
98 if (end < start) {
102 if (start < end) {
103 parseString = spec.substring(start, end).replace('\\', '/');
H A DJarHandler.java51 * @param start
52 * int the location to start parsing from
57 protected void parseURL(URL url, String spec, int start, int limit) { argument
62 if (limit > start) {
63 spec = spec.substring(start, limit);
H A DUrlUtils.java27 * The returned path will not necessarily start with a "/" character. This
98 * spec doesn't start with a scheme. Scheme prefixes match this pattern:
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++) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTimerTaskTest.java31 private final Object start = new Object(); field in class:TimerTaskTest.TimerTestTask
43 synchronized (start) {
44 start.notify();
153 synchronized (testTask.start) {
156 testTask.start.wait();
/libcore/luni/src/main/java/java/io/
H A DStringWriter.java206 * StringWriter.writer(csq.subsequence(start, end).toString())}. If {@code
212 * @param start
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
215 * @param start
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
280 * @param start
288 * if {@code start < 0}, {@code end < 0}, {@code start > end},
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/sql/
H A DBlob.java88 * @param start
89 * the position within this {@code Blob} to start the search,
97 public long position(Blob pattern, long start) throws SQLException; argument
106 * @param start
107 * the position within this {@code Blob} to start the search,
115 public long position(byte[] pattern, long start) throws SQLException; argument
121 * the position within this {@code Blob} at which to start
136 * the position within this {@code Blob} at which to start
153 * the position within this {@code Blob} at which to start
159 * the offset into the byte array from which to start writin
[all...]
H A DClob.java61 * the index of the start of the substring in the {@code Clob}.
85 * @param start
86 * the position within this {@code Clob} to start the search
92 public long position(Clob searchstr, long start) throws SQLException; argument
100 * @param start
101 * the position at which to start the search within this {@code
108 public long position(String searchstr, long start) throws SQLException; argument
115 * the position at which to start the writing.
128 * the position at which to start the writing.
141 * the position at which to start th
[all...]
/libcore/luni/src/main/java/java/text/
H A DFormat.java167 * input/output parameter, specifies the start index in
168 * {@code string} from where to start parsing. If parsing is
205 StringBuffer buffer, char stop, char start) {
221 if (ch == start) {
204 upToWithQuotes(String string, ParsePosition position, StringBuffer buffer, char stop, char start) argument
H A DStringCharacterIterator.java27 int start, end, offset; field in class:StringCharacterIterator
39 start = offset = 0;
59 start = 0;
73 * @param start
80 * if {@code start < 0}, {@code start > end}, {@code location <
81 * start}, {@code location > end} or if {@code end} is greater
84 public StringCharacterIterator(String value, int start, int end, int location) { argument
86 if (start < 0 || end > string.length() || start > en
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DDocumentHandler.java172 * @param start The start position in the array.
179 public abstract void characters (char ch[], int start, int length) argument
201 * @param start The start position in the array.
207 public abstract void ignorableWhitespace (char ch[], int start, int length) argument
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DLexicalHandler.java48 * Report the start of DTD declarations, if any.
67 * <p>Note that the start/endDTD events will appear within
68 * the start/endDocument events from ContentHandler and
119 * events must be properly nested within start/end entity
143 * <p>All start/endEntity events must be properly nested.
169 * Report the start of a CDATA section.
199 * nested inside start/endDTD and start/endEntity events (if
203 * @param start The starting position in the array.
207 public abstract void comment (char ch[], int start, in argument
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DFileInputStreamTest.java61 private void verifyData(FileInputStream is, int start, int count) throws IOException { argument
65 assertEquals((byte) (i + start), buffer[i]);
73 feeder.start();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DSupport_Format.java79 * which stores start and end indexes and an attribute this range has
84 int start = iterator.getRunStart();
91 result.add(new FieldContainer(start, end, attribute, value));
92 // System.out.println(start + " " + end + ": " + attribute + ",
94 // System.out.println("v.add(new FieldContainer(" + start +"," +
103 final int start; field in class:Support_Format.FieldContainer
109 public FieldContainer(int start, int end, Attribute attribute) { argument
110 this(start, end, attribute, attribute);
114 public FieldContainer(int start, int end, Attribute attribute, int value) { argument
115 this(start, en
119 FieldContainer(int start, int end, Attribute attribute, Object value) argument
[all...]
/libcore/luni/src/main/java/java/nio/
H A DByteBufferAsCharBuffer.java178 @Override public CharBuffer subSequence(int start, int end) { argument
179 checkStartEndRemaining(start, end);
182 result.position(position + start);
/libcore/luni/src/main/java/libcore/net/
H A DUriCodec.java42 public final String validate(String uri, int start, int end, String name) argument
44 for (int i = start; i < end; ) {
66 return uri.substring(start, end);

Completed in 713 milliseconds

12345