Searched refs:start (Results 101 - 125 of 178) sorted by relevance

12345678

/libcore/luni/src/main/java/java/util/
H A DComparableTimSort.java199 * elements from index {@code lo}, inclusive, to {@code start},
205 * @param start the index of the first element in the range that is
206 * not already known to be sorted (@code lo <= start <= hi}
209 private static void binarySort(Object[] a, int lo, int hi, int start) { argument
210 if (DEBUG) assert lo <= start && start <= hi;
211 if (start == lo)
212 start++;
213 for ( ; start < hi; start
[all...]
H A DTimSort.java231 * elements from index {@code lo}, inclusive, to {@code start},
237 * @param start the index of the first element in the range that is
238 * not already known to be sorted (@code lo <= start <= hi}
242 private static <T> void binarySort(T[] a, int lo, int hi, int start, argument
244 if (DEBUG) assert lo <= start && start <= hi;
245 if (start == lo)
246 start++;
247 for ( ; start < hi; start
[all...]
H A DMiniEnumSet.java255 void setRange(E start, E end) { argument
256 int length = end.ordinal() - start.ordinal() + 1;
257 long range = (-1L >>> (MAX_ELEMENTS - length)) << start.ordinal();
H A DScanner.java114 // The last find start position.
341 horizonLineSeparator = matcher.start();
342 terminatorLength = matcher.end() - matcher.start();
359 * java.util.regex.Matcher.region(int start, int end) implementation
1416 result = result.substring(0, terminatorMatcher.start());
2001 * and set the start index and end index of Matcher region. If postfixed
2042 if (matcher.start() == findStartIndex
2080 // If the first delimiter of scanner is not at the find start position
2081 if (-1 != findIndex && preStartIndex != matcher.start()) {
2083 tokenEndIndex = matcher.start();
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DExpatSaxParserTest.java92 public void characters(char ch[], int start, int length)
163 public void characters(char ch[], int start, int length) argument
165 this.text.append(ch, start, length);
331 public void characters(char ch[], int start, int length) argument
333 String s = new String(ch, start, length).trim();
344 public void ignorableWhitespace(char ch[], int start, int length) argument
480 public void characters(char ch[], int start, int length) { argument
481 buffer.append(ch, start, length);
560 public void characters(char ch[], int start, int length)
562 text.append(ch, start, lengt
[all...]
/libcore/luni/src/main/java/java/lang/
H A DStrictMath.java980 * Returns the next double after {@code start} in the given {@code direction}.
983 public static double nextAfter(double start, double direction) { argument
984 if (start == 0 && direction == 0) {
987 return nextafter(start, direction);
991 * Returns the next float after {@code start} in the given {@code direction}.
994 public static float nextAfter(float start, double direction) { argument
995 return Math.nextAfter(start, direction);
H A DProcessBuilder.java187 public Process start() throws IOException { method in class:ProcessBuilder
H A DCharacter.java1560 private UnicodeBlock(String blockName, int start, int end) { argument
1988 * array of character units and is not less than {@code start}. If the unit
1990 * less than {@code start} and the unit at {@code index - 2} is a
2000 * @param start
2007 * if the {@code index <= start}, {@code start < 0},
2009 * if {@code start} is equal or greater than the length of
2013 public static int codePointBefore(char[] seq, int index, int start) { argument
2018 if (index <= start || index > len || start <
2298 offsetByCodePoints(char[] seq, int start, int count, int index, int codePointOffset) argument
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DSelectorTest.java74 // This test won't work on the host until/unless we start using libcorkscrew there.
88 }).start();
123 thread.start();
H A DOldServerSocketChannelTest.java98 thread.start();
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DModeTest.java65 assertTrue(m.start() == 0 && m.end() == 3);
78 assertTrue(m.start() == 3 && m.end() == 6);
/libcore/support/src/test/java/tests/support/
H A DSupport_Exec.java84 Process process = builder.start();
124 Process process = builder.start();
/libcore/luni/src/main/java/java/nio/channels/
H A DFileChannel.java214 * current start and length of the file.
287 * the start of the file.
298 * The argument is the number of bytes counted from the start of the file.
432 * @param start
446 * if {@code start < 0} or {@code number < 0}, or if
447 * {@code start + number} is greater than the size of
455 public abstract long read(ByteBuffer[] buffers, int start, int number) argument
483 * the non-negative start position.
/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
202 StringBuffer buffer, char stop, char start) {
218 if (ch == start) {
201 upToWithQuotes(String string, ParsePosition position, StringBuffer buffer, char stop, char start) argument
H A DMessageFormat.java523 as.addAttribute(fc.attribute, fc.value, fc.start, fc.end);
621 * An inner class to store attributes, values, start and end indices.
625 int start, end; field in class:MessageFormat.FieldContainer
631 public FieldContainer(int start, int end, argument
633 this.start = start;
657 int start = iterator.getRunStart();
664 fields.add(new FieldContainer(begin + start, begin + end, attribute, value));
843 * input/output parameter, specifies the start index in
844 * {@code string} from where to start parsin
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java113 * Finish writing. All unclosed start tags will be closed and output
198 * Writes a start tag with the given namespace and name.
235 // * Writes a start tag with the given namespace and name.
283 // ALEK: This is really optional as prefix in end tag MUST correspond to start tag but good for error checking
296 XmlSerializer text (char [] buf, int start, int len) argument
314 * If method startTag() or attribute() was called then start tag is closed (final &gt;)
317 * <p><b>NOTE:</b> if there is need to close start tag
/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);
/libcore/luni/src/main/native/
H A Djava_util_regex_Matcher.cpp92 offsets[2*i + 0] = mMatcher->start(i, mStatus);
185 static void Matcher_setInputImpl(JNIEnv* env, jclass, jint addr, jstring javaText, jint start, jint end) { argument
187 matcher->region(start, end, matcher.status());
/libcore/luni/src/test/java/tests/api/java/lang/
H A DProcessManagerTest.java90 thread.start();
91 interruptThread.start();
156 thread.start();
/libcore/luni/src/test/java/tests/api/java/lang/ref/
H A DReferenceQueueTest.java137 rt.start();
162 ct.start();
209 rt.start();
/libcore/luni/src/main/java/java/net/
H A DURI.java359 int start;
364 start = colon + 1;
366 if (start == fragmentStart) {
367 throw new URISyntaxException(uri, "Scheme-specific part expected", start);
371 if (!uri.regionMatches(start, "/", 0, 1)) {
374 uri, start, fragmentStart, "scheme specific part");
379 start = 0;
383 schemeSpecificPart = uri.substring(start, fragmentStart);
387 if (uri.regionMatches(start, "//", 0, 2)) {
388 int authorityStart = start
[all...]
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DSAXParserTestSupport.java215 public void characters(char[] ch, int start, int length) { argument
216 String str = new String(ch, start, length);
260 public void ignorableWhitespace(char[] ch, int start, int length) { argument
261 /* String s = new String(ch, start, length);
395 public void characters(char[] ch, int start, int length) { argument
396 String str = new String(ch, start, length);
433 public void ignorableWhitespace(char[] ch, int start, int length) { argument
/libcore/luni/src/main/java/java/util/regex/
H A DSplitter.java96 list.add(input.substring(begin, matcher.start()));
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java435 * Adapt a SAX1 start document event.
639 * @param start The starting position in the array.
645 public void characters (char ch[], int start, int length)
649 contentHandler.characters(ch, start, length);
659 * @param start The starting position in the array.
665 public void ignorableWhitespace (char ch[], int start, int length)
669 contentHandler.ignorableWhitespace(ch, start, length);
643 characters(char ch[], int start, int length) argument
663 ignorableWhitespace(char ch[], int start, int length) argument
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketTest.java387 server.start();
468 server.start();
521 server.start();
573 server.start();
820 new Thread(new TestDGRcv(), "datagram receiver").start();
887 thread.start();
919 thread2.start();
941 Date start = new Date();
949 int delay = (int) (new Date().getTime() - start.getTime());
987 .start();
[all...]

Completed in 438 milliseconds

12345678