Searched refs:start (Results 51 - 75 of 178) sorted by relevance

12345678

/libcore/luni/src/main/java/java/util/
H A DEnumSet.java254 * @param start
262 public static <E extends Enum<E>> EnumSet<E> of(E start, E... others) { argument
263 EnumSet<E> set = of(start);
272 * by {@code start} and {@code end} (inclusive). All the elements must be in
275 * @param start
279 * @return an enum set with elements in the range from start to end.
281 * if any one of {@code start} or {@code end} is {@code null}.
283 * if {@code start} is behind {@code end}.
285 public static <E extends Enum<E>> EnumSet<E> range(E start, E end) { argument
286 if (start
294 setRange(E start, E end) argument
[all...]
H A DVector.java534 * the index at which to start searching.
627 * for the object starts at the end and moves towards the start of this
646 * start of this vector.
651 * the index at which to start searching.
810 * Removes the objects in the specified range from the start to the, but not
812 * {@code end} have their index decreased by {@code end - start}.
814 * @param start
815 * the index at which to start removing.
819 * if {@code start < 0, start > en
823 removeRange(int start, int end) argument
960 subList(int start, int end) argument
[all...]
/libcore/luni/src/main/native/
H A Djava_text_Bidi.cpp94 static jlong Bidi_ubidi_setLine(JNIEnv* env, jclass, jlong ptr, jint start, jint limit) { argument
96 UBiDi* sized = ubidi_openSized(limit - start, 0, &status);
101 ubidi_setLine(uBiDi(ptr), start, limit, lineData->uBiDi(), &status); local
150 int start = 0; local
153 ubidi_getLogicalRun(ubidi, start, &limit, &level);
154 jobject run = env->NewObject(JniConstants::bidiRunClass, bidiRunConstructor, start, limit, level);
156 start = limit;
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMonitorTest.java125 waiter.start();
140 /* Wait for the waiter to start waiting.
276 interrupter.start();
351 w[i].start();
395 w1.start();
396 w2.start();
397 w3.start();
398 w4.start();
H A DOldInheritableThreadLocalTest.java43 thread.start();
H A DOldThreadGroupTest.java56 long start = System.currentTimeMillis();
63 } while (System.currentTimeMillis() - start < maxWait);
82 t1.start();
133 // start some the threads and see how the count changes
140 thread.start();
203 thr.start();
221 thr.start();
260 t1.start();
312 thread.start();
/libcore/luni/src/main/java/libcore/icu/
H A DTimeZones.java66 long start, nativeStart;
67 start = nativeStart = System.currentTimeMillis();
75 long duration = end - start;
/libcore/luni/src/test/java/libcore/java/net/
H A DOldAndroidDatagramTest.java124 reflector.start();
169 long start = System.currentTimeMillis();
177 long delay = System.currentTimeMillis() - start;
/libcore/luni/src/main/java/java/lang/
H A DVMThread.java42 void start(long stackSize) { method in class:VMThread
/libcore/luni/src/main/java/java/nio/
H A DBuffer.java197 void checkStartEndRemaining(int start, int end) { argument
198 if (end < start || start < 0 || end > remaining()) {
199 throw new IndexOutOfBoundsException("start=" + start + ", end=" + end +
208 * changes take place: the current position is reset back to the start of
H A DDoubleBuffer.java72 * The new buffer's position will be {@code start}, limit will be
73 * {@code start + doubleCount}, capacity will be the length of the array.
77 * @param start
78 * the start index, must not be negative and not greater than
82 * {@code array.length - start}.
85 * if either {@code start} or {@code doubleCount} is invalid.
87 public static DoubleBuffer wrap(double[] array, int start, int doubleCount) { argument
88 Arrays.checkOffsetAndCount(array.length, start, doubleCount);
90 buf.position = start;
91 buf.limit = start
[all...]
H A DFloatBuffer.java71 * The new buffer's position will be {@code start}, limit will be
72 * {@code start + floatCount}, capacity will be the length of the array.
76 * @param start
77 * the start index, must not be negative and not greater than
81 * {@code array.length - start}.
84 * if either {@code start} or {@code floatCount} is invalid.
88 public static FloatBuffer wrap(float[] array, int start, int floatCount) { argument
89 Arrays.checkOffsetAndCount(array.length, start, floatCount);
91 buf.position = start;
92 buf.limit = start
[all...]
H A DIntBuffer.java69 * The new buffer's position will be {@code start}, limit will be
70 * {@code start + intCount}, capacity will be the length of the array.
74 * @param start
75 * the start index, must not be negative and not greater than
79 * {@code array.length - start}.
82 * if either {@code start} or {@code intCount} is invalid.
84 public static IntBuffer wrap(int[] array, int start, int intCount) { argument
85 Arrays.checkOffsetAndCount(array.length, start, intCount);
87 buf.position = start;
88 buf.limit = start
[all...]
H A DLongBuffer.java71 * The new buffer's position will be {@code start}, limit will be
72 * {@code start + longCount}, capacity will be the length of the array.
76 * @param start
77 * the start index, must not be negative and not greater than
81 * {@code array.length - start}.
84 * if either {@code start} or {@code longCount} is invalid.
86 public static LongBuffer wrap(long[] array, int start, int longCount) { argument
87 Arrays.checkOffsetAndCount(array.length, start, longCount);
89 buf.position = start;
90 buf.limit = start
[all...]
H A DShortBuffer.java71 * The new buffer's position will be {@code start}, limit will be
72 * {@code start + shortCount}, capacity will be the length of the array.
76 * @param start
77 * the start index, must not be negative and not greater than
81 * {@code array.length - start}.
84 * if either {@code start} or {@code shortCount} is invalid.
86 public static ShortBuffer wrap(short[] array, int start, int shortCount) { argument
87 Arrays.checkOffsetAndCount(array.length, start, shortCount);
89 buf.position = start;
90 buf.limit = start
[all...]
H A DCharToByteBufferAdapter.java180 public CharSequence subSequence(int start, int end) { argument
181 checkStartEndRemaining(start, end);
184 result.position(position + start);
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DXMLReaderAdapter.java296 * Adapt a SAX2 start prefix mapping event.
319 * Adapt a SAX2 start element event.
363 * @param start The starting position in the array.
369 public void characters (char ch[], int start, int length)
373 documentHandler.characters(ch, start, length);
381 * @param start The starting position in the array.
387 public void ignorableWhitespace (char ch[], int start, int length)
391 documentHandler.ignorableWhitespace(ch, start, length);
367 characters(char ch[], int start, int length) argument
385 ignorableWhitespace(char ch[], int start, int length) argument
H A DDefaultHandler.java212 * Receive notification of the start of a Namespace mapping.
215 * method in a subclass to take specific actions at the start of
251 * Receive notification of the start of an element.
254 * method in a subclass to take specific actions at the start of
317 * @param start The start position in the character array.
324 public void characters (char ch[], int start, int length)
340 * @param start The start position in the character array.
347 public void ignorableWhitespace (char ch[], int start, in
321 characters(char ch[], int start, int length) argument
344 ignorableWhitespace(char ch[], int start, int length) argument
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldPipedOutputStreamTest.java118 rt.start();
160 rt.start();
205 rt.start();
235 rt.start();
H A DOldAndroidPipedStreamTest.java71 reader.start();
86 writer.start();
150 reader.start();
171 writer.start();
221 reader.start();
241 writer.start();
H A DOldPipedWriterTest.java97 readerThread.start();
140 readerThread.start();
162 readerThread.start();
206 readerThread.start();
247 readerThread.start();
/libcore/luni/src/main/java/java/net/
H A DURLConnection.java713 int start = 0;
717 start = 2;
722 start = 2;
729 start = 3;
736 start = 4;
743 start = 4;
750 String header = new String(bytes, start, length - start, encoding);
/libcore/luni/src/main/java/libcore/net/url/
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/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java167 httpServer.start();
202 server.start();
206 proxy.start();
247 server.start();
251 proxy.start();
291 proxy.start();
/libcore/luni/src/test/java/libcore/xml/
H A DSimpleParserTest.java87 public void characters(char[] ch, int start, int length) {
88 String s = new String(ch, start, length).trim();
140 public void ignorableWhitespace(char[] ch, int start, int length) {}
202 public void characters(char[] ch, int start, int length) {
203 String s = new String(ch, start, length).trim();

Completed in 476 milliseconds

12345678