Searched refs:absolute (Results 1 - 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAndroidURITest.java | 30 private static void construct(String str, String host, String path, boolean absolute) argument 35 assertEquals(absolute, uri.isAbsolute());
|
H A D | URITest.java | 648 URI absolute = new URI("http://android.com/"); 650 assertEquals(absolute, absolute.resolve(absolute)); 651 assertEquals(new URI("http://android.com/robots.txt"), absolute.resolve(relative)); 652 assertEquals(absolute, relative.resolve(absolute)); 657 URI absolute = new URI("http://android.com/"); 659 assertEquals(relative, absolute.relativize(new URI("http://android.com/robots.txt"))); 660 assertEquals(new URI(""), absolute [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
H A D | ThreadsTest.java | 145 * absolute fashion (<code>true</code>) or nanoseconds to wait 147 private final boolean absolute; field in class:ThreadsTest.Parker 164 * @param absolute whether to use an absolute time or not; in 168 public Parker(CyclicBarrier barrier, boolean absolute, long parkMillis) { argument 170 this.absolute = absolute; 173 this.amount = absolute ? parkMillis : parkMillis * 1000000; 182 boolean absolute = this.absolute; [all...] |
/libcore/libart/src/main/java/sun/misc/ |
H A D | Unsafe.java | 290 * @param absolute whether the given time value is absolute 293 * @param time the (absolute millis or relative nanos) time value 295 public void park(boolean absolute, long time) { argument 296 if (absolute) {
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetTest.java | 63 assertFalse(target.absolute(0)); 64 assertTrue(target.absolute(1)); 66 assertTrue(target.absolute(-1)); 208 target.absolute(-1); // last 266 target.absolute(-1);
|
H A D | OldConnectionTest.java | 80 rs.absolute(1); 969 rs.absolute(0);
|
/libcore/luni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 175 * absolute time in UTC. That is, {@code Date} does not carry time zone information. 851 // TODO: what's 'absolute' for? when is 'count' negative, and why? 852 int absolute = 0; 855 absolute = count; 865 Number result = parseNumber(absolute, string, position); 882 return parseMonth(string, offset, count, absolute, true); 884 return parseMonth(string, offset, count, absolute, false); 890 Number result = parseNumber(absolute, string, position); 910 return parseFractionalSeconds(string, offset, absolute); 931 result = parseNumber(absolute, strin 993 parseMonth(String string, int offset, int count, int absolute, boolean standAlone) argument [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 52 * URIs are either {@link #isAbsolute() absolute or relative}. 59 * URL}, you can use {@link #toURL} to convert an absolute URI to a URL. 62 * have the absolute URI that a relative URI is relative to, you can use {@link 63 * #resolve} to compute the referenced absolute URI. Symmetrically, you can use 66 * URI absolute = new URI("http://android.com/"); 71 * System.out.println(absolute.resolve(relative)); 74 * System.out.println(absolute.relativize(resolved)); 191 private transient boolean absolute; field in class:URI 210 * @param scheme the URI scheme, or null for a non-absolute URI. 233 * @param scheme the URI scheme, or null for a non-absolute UR [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | ResultSet.java | 157 public boolean absolute(int row) throws SQLException; method in interface:ResultSet
|
Completed in 149 milliseconds