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

12345

/libcore/ojluni/src/main/java/java/lang/
H A DAppendable.java77 * <p> An invocation of this method of the form <tt>out.append(csq, start,
82 * out.append(csq.subSequence(start, end)) </pre>
90 * @param start
100 * If <tt>start</tt> or <tt>end</tt> are negative, <tt>start</tt>
107 Appendable append(CharSequence csq, int start, int end) throws IOException; argument
H A DCharSequence.java94 * returned sequence is <tt>end - start</tt>, so if <tt>start == end</tt>
97 * @param start the start index, inclusive
103 * if <tt>start</tt> or <tt>end</tt> are negative,
105 * or if <tt>start</tt> is greater than <tt>end</tt>
107 CharSequence subSequence(int start, int end); argument
H A DProcessImpl.java35 * This class is for the exclusive use of ProcessBuilder.start() to
57 // Only for use by ProcessBuilder.start()
58 static Process start(String[] cmdarray, method in class:ProcessImpl
/libcore/ojluni/src/main/java/java/util/regex/
H A DMatchResult.java43 * Returns the start index of the match.
51 public int start(); method in interface:MatchResult
54 * Returns the start index of the subsequence captured by the given group
59 * the expression <i>m.</i><tt>start(0)</tt> is equivalent to
60 * <i>m.</i><tt>start()</tt>. </p>
77 public int start(int group); method in interface:MatchResult
121 * <i>s.</i><tt>substring(</tt><i>m.</i><tt>start(),</tt>&nbsp;<i>m.</i><tt>end())</tt>
143 * <i>s.</i><tt>substring(</tt><i>m.</i><tt>start(</tt><i>g</i><tt>),</tt>&nbsp;<i>m.</i><tt>end(</tt><i>g</i><tt>))</tt>
/libcore/ojluni/src/test/java/time/test/java/time/format/
H A DMockIOExceptionAppendable.java77 public Appendable append(CharSequence csq, int start, int end) argument
/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/ojluni/src/main/java/java/nio/file/
H A DFileTreeIterator.java41 * try (FileTreeIterator iterator = new FileTreeIterator(start, maxDepth, options)) {
65 * if {@code start} or {@code options} is {@ocde null} or
68 FileTreeIterator(Path start, int maxDepth, FileVisitOption... options) argument
72 this.next = walker.walk(start);
/libcore/ojluni/src/main/java/java/text/
H A DCharacterIteratorFieldDelegate.java56 public void formatted(Format.Field attr, Object value, int start, int end, argument
58 if (start != end) {
59 if (start < size) {
64 while (start < index) {
68 int aStart = Math.max(0, start - newIndex);
71 end - start, as.length() - aStart) +
76 if (size < start) {
79 buffer.substring(size, start)));
80 size = start;
84 int aStart = Math.max(start, siz
95 formatted(int fieldID, Format.Field attr, Object value, int start, int end, StringBuffer buffer) argument
[all...]
H A DFormat.java384 * @param start Beginning location of the field, will be >= 0
385 * @param end End of the field, will be >= start and <= buffer.length()
389 public void formatted(Format.Field attr, Object value, int start, argument
398 * @param start Beginning location of the field, will be >= 0
399 * @param end End of the field, will be >= start and <= buffer.length()
404 int start, int end, StringBuffer buffer);
403 formatted(int fieldID, Format.Field attr, Object value, int start, int end, StringBuffer buffer) argument
/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/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
H A DContentHandler.java25 * basic document-related events like the start and end of elements
143 * start/endPrefixMapping event supplies the information
147 * <p>Note that start/endPrefixMapping events are not
157 * <p>There should never be start/endPrefixMapping events for the
324 * @param start the start position in the array
331 public void characters (char ch[], int start, int length) argument
354 * @param start the start position in the array
360 public void ignorableWhitespace (char ch[], int start, in argument
[all...]
/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/ojluni/src/main/java/java/io/
H A DStringWriter.java84 * @param off Offset from which to start writing characters
108 * @param off Offset from which to start writing characters
150 * <p> An invocation of this method of the form <tt>out.append(csq, start,
155 * out.write(csq.subSequence(start, end).toString()) </pre>
163 * @param start
173 * If <tt>start</tt> or <tt>end</tt> are negative, <tt>start</tt>
179 public StringWriter append(CharSequence csq, int start, int end) { argument
181 write(cs.subSequence(start, end).toString());
H A DWriter.java137 * Offset from which to start writing characters
167 * Offset from which to start writing characters
235 * <p> An invocation of this method of the form <tt>out.append(csq, start,
240 * out.write(csq.subSequence(start, end).toString()) </pre>
248 * @param start
258 * If <tt>start</tt> or <tt>end</tt> are negative, <tt>start</tt>
267 public Writer append(CharSequence csq, int start, int end) throws IOException { argument
269 write(cs.subSequence(start, end).toString());
H A DCharArrayWriter.java92 * @param off the start offset in the data
115 * @param off Offset from which to start reading characters
174 * <p> An invocation of this method of the form <tt>out.append(csq, start,
179 * out.write(csq.subSequence(start, end).toString()) </pre>
187 * @param start
197 * If <tt>start</tt> or <tt>end</tt> are negative, <tt>start</tt>
203 public CharArrayWriter append(CharSequence csq, int start, int end) { argument
204 String s = (csq == null ? "null" : csq).subSequence(start, end).toString();
/libcore/ojluni/src/main/java/java/sql/
H A DBlob.java118 * <code>start</code>.
121 * @param start the position at which to begin searching; the
125 * <code>BLOB</code> or if start is less than 1
130 long position(byte pattern[], long start) throws SQLException; argument
136 * <code>start</code>.
140 * @param start the position in the <code>BLOB</code> value
144 * <code>BLOB</code> value or if start is less than 1
149 long position(Blob pattern, long start) throws SQLException; argument
170 * to start writing; the first position is 1
202 * to start writin
[all...]
H A DClob.java132 * begins at position <code>start</code>.
135 * @param start the position at which to begin searching; the first position
145 long position(String searchstr, long start) throws SQLException; argument
151 * <code>start</code>.
154 * @param start the position at which to begin searching; the first
159 * <code>CLOB</code> value or if start is less than 1
164 long position(Clob searchstr, long start) throws SQLException; argument
183 * @param pos the position at which to start writing to the <code>CLOB</code>
213 * @param pos the position at which to start writing to this
217 * @param offset the offset into <code>str</code> to start readin
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DHandler.java53 protected void parseURL(URL u, String spec, int start, int limit) { argument
67 super.parseURL(u, spec.replace(File.separatorChar, '/'), start, limit);
/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/test/java/libcore/java/io/
H A DFileInputStreamTest.java75 private void verifyData(FileInputStream is, int start, int count) throws IOException { argument
79 assertEquals((byte) (i + start), buffer[i]);
87 feeder.start();
/libcore/ojluni/src/main/java/java/nio/
H A DStringCharBuffer.java35 StringCharBuffer(CharSequence s, int start, int end) { // package-private argument
36 super(-1, start, end, s.length());
38 if ((start < 0) || (start > n) || (end < start) || (end > n))
101 final String toString(int start, int end) { argument
102 return str.toString().substring(start + offset, end + offset);
105 public final CharBuffer subSequence(int start, int end) { argument
110 pos + checkIndex(start, pos),
/libcore/ojluni/src/main/java/java/util/logging/
H A DMemoryHandler.java96 int start, count; field in class:MemoryHandler
153 start = 0;
206 int ix = (start+count)%buffer.length;
211 start++;
212 start %= buffer.length;
226 int ix = (start+i)%buffer.length;
231 start = 0;
/libcore/ojluni/src/main/java/sun/invoke/util/
H A DBytecodeDescriptor.java45 int start, int end, ClassLoader loader) {
49 int[] i = {start};
44 parseMethod(String bytecodeSignature, int start, int end, ClassLoader loader) argument
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DHandler.java127 int start, int limit) {
132 boolean refOnly = refPos == start;
147 spec = spec.substring(start, limit);
126 parseURL(URL url, String spec, int start, int limit) argument

Completed in 601 milliseconds

12345