Searched refs:start (Results 226 - 250 of 271) sorted by relevance

1234567891011

/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKInstant.java1833 Instant start = Instant.ofEpochSecond(12, 3000);
1834 OffsetDateTime end = start.plusSeconds(2).atOffset(ZoneOffset.ofHours(2));
1835 assertEquals(start.until(end, SECONDS), 2);
1840 Instant start = Instant.ofEpochSecond(12, 3000);
1841 start.until(LocalTime.of(11, 30), SECONDS);
H A DTCKYear.java944 Year start = Year.of(2010);
945 YearMonth end = start.plusYears(2).atMonth(Month.APRIL);
946 assertEquals(start.until(end, YEARS), 2);
951 Year start = Year.of(2010);
952 start.until(LocalTime.of(11, 30), YEARS);
H A DTCKYearMonth.java1268 YearMonth start = YearMonth.of(2010, 6);
1269 LocalDate end = start.plusMonths(2).atDay(12);
1270 assertEquals(start.until(end, MONTHS), 2);
1275 YearMonth start = YearMonth.of(2010, 6);
1276 start.until(LocalTime.of(11, 30), MONTHS);
H A DTCKLocalDate.java1749 LocalDate start = LocalDate.of(2010, 6, 30);
1750 OffsetDateTime end = start.plusDays(2).atStartOfDay().atOffset(OFFSET_PONE);
1751 assertEquals(start.until(end, DAYS), 2);
1756 LocalDate start = LocalDate.of(2010, 6, 30);
1757 start.until(LocalTime.of(11, 30), DAYS);
1867 LocalDate start = LocalDate.of(y1, m1, d1);
1869 Period test = start.until(end);
H A DTCKLocalTime.java2322 LocalTime start = LocalTime.of(11, 30);
2323 LocalDateTime end = start.plusSeconds(2).atDate(LocalDate.of(2010, 6, 30));
2324 assertEquals(start.until(end, SECONDS), 2);
2329 LocalTime start = LocalTime.of(11, 30);
2330 start.until(LocalDate.of(2010, 6, 30), SECONDS);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketTest.java126 serverThread.start();
131 clientThread.start();
824 thread.start();
H A DURLTest.java1129 public void parse(URL url, String spec, int start, int end) { argument
1130 parseURL(url, spec, start, end);
/libcore/luni/src/test/java/libcore/libcore/io/
H A DOsTest.java143 server.start();
280 server.start();
503 killer.start();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSinkChannelTest.java122 thread[i].start();
H A DDatagramChannelTest.java1300 * Fails if the difference between current time and start time is greater
1777 }.start();
1863 }.start();
2017 }.start();
2080 }.start();
2551 killer.start();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLSocketTest.java488 serverThread.start();
H A DSSLEngineTest.java1189 clientThread.start();
1192 serverThread.start();
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java272 * Fails if the difference between current time and start time is greater
299 server.start();
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldPreparedStatementTest.java2340 public long position(Blob pattern, long start) throws SQLException { argument
2344 public long position(byte[] pattern, long start) throws SQLException { argument
2390 public long position(Clob searchstr, long start) throws SQLException { argument
2394 public long position(String searchstr, long start) throws SQLException { argument
H A DOldStatementTest.java1300 t.start();
1329 t.start();
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DPatternTest.java507 mat.start(1);
772 assertEquals("start" + k, mat.group(2));
774 assertEquals("start" + k, mat.group(4));
1776 assertEquals(mat.start(), 4);
1783 assertEquals(mat.start(), 4);
1791 assertEquals(mat.start(), 6);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactory2Test.java77 keepalive.start();
/libcore/ojluni/src/main/java/java/io/
H A DObjectInputStream.java853 * @param off the start offset of the data
1025 * @param off the start offset of the data
3101 int start = pos;
3152 if (outOfBounds || (pos - start) > utflen) {
3158 pos = start + (int) utflen;
3164 return pos - start;
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimeFormatterBuilder.java809 * The end-of-day time of '24:00' is handled as midnight at the start of the following day.
847 * The end-of-day time of '24:00' is handled as midnight at the start of the following day.
981 * The offset ID, such as '+02:30', may be at the start of the parse,
1032 * The offset ID, such as '+02:30', may be at the start of the parse,
1090 * The offset ID, such as '+02:30', may be at the start of the parse,
1402 * [ optional section start
1583 int start = pos++;
1585 int count = pos - start;
1593 start = pos++;
1595 count = pos - start;
[all...]
/libcore/ojluni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java1492 eventDispatchThread.start();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java249 thread.start();
961 // System.err.println("------ stacktrace dump start ------");
1323 t.start();
H A DPriorityBlockingQueueTest.java700 t.start();
/libcore/ojluni/src/main/java/java/text/
H A DDecimalFormat.java789 int start = original.getRunStart();
792 result.addAttribute(javaAttr, javaAttr, start, end);
/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java690 Date start = new Date(now - millisPerDay);
714 X500Name.getInstance(issuer.getEncoded()), serialNumber, start, end,
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java354 * permitted to start and not permitted to stop. The value may be
527 * the need to allocate a native stack in Thread.start, and users
609 * state to a negative value, and clear it upon start (in
903 * Thread.start()), we roll back cleanly.
908 * than corePoolSize threads (in which case we always start one),
975 t.start();
1106 * 1. We may start out with an initial task, in which case we
1364 * start a new thread with the given command as its first
1374 * stopped, or start a new thread if there are none.

Completed in 3626 milliseconds

1234567891011