Searched refs:end (Results 76 - 100 of 177) sorted by relevance

12345678

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DAsynchronousServerSocketChannelImpl.java89 * Marks end of access to file descriptor/handle
91 final void end() { method in class:AsynchronousServerSocketChannelImpl
167 end();
201 end();
223 end();
H A DPollSelectorImpl.java75 end();
H A DFileChannelImpl.java199 end(n > 0);
227 end(n > 0);
251 end(n > 0);
279 end(n > 0);
301 // in append-mode then position is advanced to end before writing
307 end(p > -1);
332 end(p > -1);
354 end(s > -1);
410 end(rv > -1);
430 end(r
[all...]
H A DAsynchronousSocketChannelImpl.java122 * Marks end of access to file descriptor/handle
124 final void end() { method in class:AsynchronousSocketChannelImpl
441 end();
476 end();
498 end();
544 end();
562 end();
H A DSinkChannelImpl.java172 end((n > 0) || (n == IOStatus.UNAVAILABLE));
195 end((n > 0) || (n == IOStatus.UNAVAILABLE));
H A DSocketChannelImpl.java357 // the invocation of end() in the finally block will throw
397 // In all three cases the invocation of end() in the finally
432 // The end method, which is defined in our superclass
440 // block then we pass true to the end method. We also pass
448 end(n > 0 || (n == IOStatus.UNAVAILABLE));
488 end(n > 0 || (n == IOStatus.UNAVAILABLE));
519 end(n > 0 || (n == IOStatus.UNAVAILABLE));
552 end((n > 0) || (n == IOStatus.UNAVAILABLE));
582 end((n > 0) || (n == IOStatus.UNAVAILABLE));
700 end((
[all...]
H A DSourceChannelImpl.java176 end((n > 0) || (n == IOStatus.UNAVAILABLE));
207 end((n > 0) || (n == IOStatus.UNAVAILABLE));
/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/ojluni/src/main/java/sun/security/util/
H A DObjectIdentifier.java146 int end = 0;
157 end = oid.indexOf(ch,start);
158 if (end == -1) {
162 comp = oid.substring(start,end);
163 length = end - start;
195 start = end + 1;
197 } while (end != -1);
248 * up so that we can use in.available() to check for the end of
526 >> (iw-ipos%iw-count)) // move to the end of a byte
/libcore/ojluni/src/main/java/sun/net/www/
H A DParseUtil.java359 int end = opaquePart.indexOf("]");
360 if (end != -1 && opaquePart.indexOf(":")!=-1) {
362 if (end == opaquePart.length()) {
366 dontquote = opaquePart.substring(0,end+1);
367 doquote = opaquePart.substring(end+1);
411 int end = authority.indexOf("]");
412 if (end != -1 && authority.indexOf(":")!=-1) {
414 if (end == authority.length()) {
418 dontquote = authority.substring(0,end+1);
419 doquote = authority.substring(end
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DInflaterOutputStreamTest.java49 + " that it needs to call Inflater.end() as the caller has no access to it",
83 inflater.end();
135 inflater.end();
193 defaultDeflater.end();
200 bestDeflater.end();
421 deflater.end();
/libcore/ojluni/src/main/java/java/time/chrono/
H A DChronoZonedDateTimeImpl.java94 * the local time-line overlaps, typically as a result of the end of daylight time.
313 ChronoZonedDateTime<D> end = (ChronoZonedDateTime<D>) getChronology().zonedDateTime(endExclusive);
315 end = end.withZoneSameInstant(offset);
316 return dateTime.until(end.toLocalDateTime(), unit);
319 return unit.between(this, end);
H A DChronoLocalDateTimeImpl.java374 ChronoLocalDateTime<D> end = (ChronoLocalDateTime<D>) getChronology().localDateTime(endExclusive);
377 long amount = end.getLong(EPOCH_DAY) - date.getLong(EPOCH_DAY);
387 return Math.addExact(amount, time.until(end.toLocalTime(), unit));
389 ChronoLocalDate endDate = end.toLocalDate();
390 if (end.toLocalTime().isBefore(time)) {
396 return unit.between(this, end);
H A DHijrahDate.java351 // start/end part way through? that would affect range
589 HijrahDate end = getChronology().date(endDate);
590 long totalMonths = (end.prolepticYear - this.prolepticYear) * 12 + (end.monthOfYear - this.monthOfYear); // safe
591 int days = end.dayOfMonth - this.dayOfMonth;
595 days = (int) (end.toEpochDay() - calcDate.toEpochDay()); // safe
598 days -= end.lengthOfMonth();
/libcore/ojluni/src/main/java/java/util/
H A DSimpleTimeZone.java53 * and end rules for a daylight saving time schedule. Since it only holds
61 * <em>start-rule</em> and <em>end-rule</em>. A day when daylight saving time
108 * for an <em>end-rule</em> means the same thing as the daylight time.
212 * parameters are out of range for the start or end rule
269 * parameters are out of range for the start or end rule
287 * This constructor takes the full set of the start and end rules
314 * @param endTimeMode The mode of the end time specified by endTime
319 * time parameters are out of range for the start or end rule, or if a time mode
447 * Sets the daylight saving time end rule. For example, if daylight saving time
449 * you can set the end rul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DModeTest.java64 assertTrue(m.start() == 0 && m.end() == 3);
76 assertTrue(m.start() == 3 && m.end() == 6);
/libcore/luni/src/main/java/libcore/icu/
H A DTimeZoneNames.java70 long end = System.nanoTime();
72 long duration = TimeUnit.NANOSECONDS.toMillis(end - start);
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
H A DAbstractInterruptibleChannelTest.java40 * @tests AbstractInterruptibleChannel#begin/end()
78 * @tests AbstractInterruptibleChannel#close/begin/end()
130 // call super.end() for test
132 super.end(completed);
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DMethodType.java71 public MethodType dropParameterTypes(int start, int end) { return null; } argument
/libcore/ojluni/src/main/java/java/lang/
H A DCharSequence.java92 * ends with the <code>char</code> value at index <tt>end - 1</tt>. The length
94 * returned sequence is <tt>end - start</tt>, so if <tt>start == end</tt>
98 * @param end the end index, exclusive
103 * if <tt>start</tt> or <tt>end</tt> are negative,
104 * if <tt>end</tt> is greater than <tt>length()</tt>,
105 * or if <tt>start</tt> is greater than <tt>end</tt>
107 CharSequence subSequence(int start, int end); argument
/libcore/ojluni/src/main/java/java/nio/
H A DByteBuffer.java530 int end = offset + length;
531 for (int i = offset; i < end; i++)
703 int end = offset + length;
704 for (int i = offset; i < end; i++)
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DExchanger.java375 long end = (timed && m == 0) ? System.nanoTime() + ns : 0L;
397 (ns = end - System.nanoTime()) > 0L)) {
484 long end = timed ? System.nanoTime() + ns : 0L;
498 (!timed || (ns = end - System.nanoTime()) > 0L)) {
/libcore/ojluni/src/main/java/java/util/stream/
H A DNode.java111 * exclusive end offset.
115 * @param to The (exclusive) end offset of elements to include, must be
130 nodeBuilder.end();
193 * pushed and signalled with an invocation of {@link Sink#end()}.
365 nodeBuilder.end();
438 nodeBuilder.end();
513 nodeBuilder.end();

Completed in 523 milliseconds

12345678