Searched refs:end (Results 51 - 75 of 107) sorted by relevance

12345

/libcore/luni/src/main/java/java/lang/
H A DCaseMapper.java55 for (int i = offset, end = offset + count; i < end; ++i) {
150 for (int o = offset, end = offset + count; o < end; o++) {
/libcore/luni/src/main/java/java/nio/
H A DReadOnlyCharArrayBuffer.java100 public CharBuffer put(String src, int start, int end) { argument
H A DDatagramChannelImpl.java135 end(true);
192 end(retAddr != null);
269 end(sendCount >= 0);
344 end(readCount > 0);
406 end(result > 0);
H A DFileChannelImpl.java170 end(completed);
311 end(completed && bytesRead >= 0);
330 end(completed);
429 end(completed);
493 end(completed);
537 // This, and all remaining locks, start beyond our end (so
H A DServerSocketChannelImpl.java86 end(result.socket().isConnected());
H A DSocketChannelImpl.java191 end(finished);
255 end(finished);
320 end(readCount > 0);
384 end(writeCount >= 0);
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractSelector.java30 * {@code end}. It also holds the cancellation and the deletion of the key
112 * should invoke the corresponding {@code end(boolean)} method.
119 * Indicates the end of a code section that has been started with
122 protected final void end() { method in class:AbstractSelector
/libcore/luni/src/main/java/java/util/
H A DEnumSet.java272 * by {@code start} and {@code end} (inclusive). All the elements must be in
277 * @param end
278 * the element used to define the end of the range.
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.compareTo(end) > 0) {
290 set.setRange(start, end);
294 abstract void setRange(E start, E end); argument
[all...]
H A DList.java32 * is added at the end. If the location is smaller than the size of this
34 * position towards the end of the {@code List}.
53 * Adds the specified object at the end of this {@code List}.
92 * Adds the objects in the specified collection to the end of this {@code List}. The
317 * index to the end index minus one. The returned {@code List} is backed by this
322 * @param end
323 * the index one past the end of the sublist.
326 * if {@code start < 0, start > end} or {@code end >
329 public List<E> subList(int start, int end); argument
[all...]
H A DScanner.java317 * returned, and the {@code Scanner} will advance to the end of the matched string.
342 terminatorLength = matcher.end() - matcher.start();
359 * java.util.regex.Matcher.region(int start, int end) implementation
372 findStartIndex = matcher.end();
375 if (horizonLineSeparator == matcher.end()) {
382 .end())) {
428 * string will be returned, and the {@code Scanner} will advance to the end of the
507 findStartIndex = matcher.end();
830 if (inputExhausted || matcher.end() != bufferLength) {
1394 if (inputExhausted || matcher.end() !
[all...]
/libcore/luni/src/main/java/java/util/jar/
H A DManifest.java67 int end; field in class:Manifest.Chunk
69 Chunk(int start, int end) { argument
71 this.end = end;
78 * The end of the main attributes section in the manifest is needed in
/libcore/luni/src/main/java/java/util/zip/
H A DInflaterOutputStream.java93 inf.end();
H A DDeflater.java44 * deflater.end();
125 * Flush buffers and mark the end of the data stream.
192 guard.open("end");
249 * order to free native resources as soon as possible. After {@code end()} is
252 public synchronized void end() { method in class:Deflater
273 end(); // to allow overriding classes to clean up
274 endImpl(); // in case those classes don't call super.end()
476 throw new IllegalStateException("attempt to use Deflater after calling end");
H A DDeflaterInputStream.java94 def.end();
102 * @return the byte or -1 if the end of the stream has been reached.
111 * @return the number of bytes read or -1 if the end of the compressed input
H A DDeflaterOutputStream.java160 def.end();
/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; ) {
52 if (i + 2 >= end) {
66 return uri.substring(start, end);
/libcore/support/src/test/java/libcore/java/io/
H A DNullPrintStream.java64 public PrintStream append(CharSequence csq, int start, int end) { return this; } argument
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DGeneralName.java373 int end = uri.indexOf('/', begin);
374 String host = (end == -1)
376 : uri.substring(begin, end);
379 end = uri.indexOf('/', begin);
380 String _host = (end == -1)
382 : uri.substring(begin, end);
568 // check the end of the previous label, it should not
/libcore/luni/src/main/java/java/nio/channels/
H A DChannels.java308 end(readCount >= 0);
350 end(bytesRemain >= 0);
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidZipStressTest.java160 deflater.end();
168 inflater.end();
/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/dalvik/src/test/java/dalvik/system/profiler/
H A DSamplingProfilerTest.java80 long end = System.currentTimeMillis();
134 ThreadEvent end2 = ThreadEvent.end(threadId+1);
140 ThreadEvent end1 = ThreadEvent.end(threadId);
145 // remove thread 1 again, which should not exist (its not okay to have end followed by end)
147 hprofData.addThreadEvent(ThreadEvent.end(threadId));
/libcore/luni/src/main/native/
H A Djava_nio_charset_Charsets.cpp194 const int end = offset + length; local
195 for (int i = offset; i < end; ++i) {
210 jchar low = (i + 1 != end) ? chars[i + 1] : 0;
H A Djava_util_regex_Matcher.cpp93 offsets[2*i + 1] = mMatcher->end(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/main/java/java/math/
H A DBigDecimal.java1323 // To append trailing zeros at end of dividend
2267 int end = intString.length();
2268 long exponent = -(long)scale + end - begin;
2274 result.insert(end - scale, '.');
2280 if (end - begin >= 1) {
2282 end++;
2284 result.insert(end, 'E');
2286 result.insert(++end, '+');
2288 result.insert(++end, Long.toString(exponent));
2312 int end
[all...]

Completed in 871 milliseconds

12345