/libcore/support/src/test/java/tests/util/ |
H A D | Pair.java | 25 * @param <S> type of the second value. 31 private Pair(F first, S second) { argument 33 mSecond = second; 40 * @param second second value or {@code null}. 42 public static <F, S> Pair<F, S> of(F first, S second) { argument 43 return new Pair<F, S>(first, second); 56 * Gets the second value from this pair.
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | XMLGregorianCalendar.java | 105 * For a value of 24, the minute and second field must be zero per 115 * <a name="datetimefield-second"/> 117 * <td>second</td> 124 * <i>(Note: 60 only allowable for leap second.)</i><br/> 201 * int second, 210 * int second, 318 * @param second value constraints are summarized in 319 * <a href="#datetimefield-second">second field of date/time field mapping table</a>. 327 public void setTime(int hour, int minute, int second) { argument 371 setSecond(int second) argument 416 setTime( int hour, int minute, int second, BigDecimal fractional) argument 444 setTime(int hour, int minute, int second, int millisecond) argument [all...] |
H A D | DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 438 * <code>day</code>, <code>hour</code>, <code>minute</code> and <code>second</code> as defined in 443 * whose lexical representation contains only day, hour, minute, and second components. 458 * @param second Secon 466 newDurationDayTime( final boolean isPositive, final BigInteger day, final BigInteger hour, final BigInteger minute, final BigInteger second) argument 508 newDurationDayTime( final boolean isPositive, final int day, final int hour, final int minute, final int second) argument 788 newXMLGregorianCalendar( final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) argument 824 newXMLGregorianCalendar( final int year, final int month, final int day, final int hour, final int minute, final int second, final int millisecond, final int timezone) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileWriterTest.java | 67 String second = "The second String for testing."; 68 fileWriter.write(second); 72 char[] out = new char[first.length() + second.length() + 10]; 75 assertEquals(first + second, new String(out, 0, length)); 83 second = "The second String for testing."; 84 fileWriter.write(second); 88 out = new char[first.length() + second.length() + 10]; 91 assertEquals(second, ne [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | TimSortTest.java | 30 public int compare(Integer first, Integer second) { 31 return first.compareTo(second);
|
/libcore/luni/src/test/java/libcore/util/ |
H A D | ZoneInfoDBTest.java | 85 ZoneInfo second = data.makeTimeZone(tzId); 86 assertNotSame(first, second); 88 assertTrue(first.hasSameRules(second)); 92 assertFalse(first.getID().equals(second.getID())); 95 assertFalse(first.getRawOffset() == second.getRawOffset());
|
/libcore/luni/src/main/java/java/util/ |
H A D | Date.java | 122 * @param second 123 * the second of the minute, 0 - 59. 129 public Date(int year, int month, int day, int hour, int minute, int second) { argument 131 cal.set(1900 + year, month, day, hour, minute, second); 298 * Returns the gregorian calendar second of the minute for this {@code Date} object. 391 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; 470 } else if (minute != -1 && second == -1) { 471 second = digit; 542 if (second == -1) { 543 second 635 setSeconds(int second) argument 760 UTC(int year, int month, int day, int hour, int minute, int second) argument [all...] |
H A D | Calendar.java | 353 * Value of the {@code MONTH} field indicating the second month of 631 * second within the minute. E.g., at 10:04:15.250 PM the 638 * millisecond within the second. E.g., at 10:04:15.250 PM the 1161 * Sets the year, month, day of the month, hour of day, minute, and second fields. 1165 public final void set(int year, int month, int day, int hourOfDay, int minute, int second) { argument 1167 set(SECOND, second);
|
H A D | GregorianCalendar.java | 284 * @param second 285 * the second. 288 int minute, int second) { 290 set(year, month, day, hour, minute, second); 287 GregorianCalendar(int year, int month, int day, int hour, int minute, int second) argument
|
/libcore/libart/src/main/java/java/lang/ |
H A D | ClassLoader.java | 425 Enumeration<URL> second = findResources(resName); 427 return new TwoEnumerationsInOne(first, second); 458 * second parameter of {@link #loadClass(String, boolean)} is ignored 728 * first enumeration until it's empty, then from the second one. 734 private final Enumeration<URL> second; field in class:TwoEnumerationsInOne 736 public TwoEnumerationsInOne(Enumeration<URL> first, Enumeration<URL> second) { argument 738 this.second = second; 743 return first.hasMoreElements() || second.hasMoreElements(); 751 return second [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | Time.java | 243 int second = Integer.parseInt(timeString.substring(secondIndex + 1, 245 return new Time(hour, minute, second);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | ICU.java | 79 final int second = string.indexOf('_', first + 1); 80 final int third = string.indexOf('_', second + 1); 84 } else if (second == -1) { 99 // If we're here, the length of the second half is either 1 or greater 111 final String secondString = string.substring(first + 1, second); 112 final String thirdString = string.substring(second + 1); 115 // The second subtag is a script. 128 // The second string is a region, and the third a variant. 141 final String secondString = string.substring(first + 1, second); 144 outputArray[IDX_REGION] = string.substring(second [all...] |
/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfo.java | 367 private int second; field in class:ZoneInfo.WallTime 535 * second or a year to a valid time to arrive at what they have. 761 public void setSecond(int second) { argument 762 this.second = second; 802 return second; 827 calendar.set(Calendar.SECOND, second); 836 second = calendar.get(Calendar.SECOND);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldAbstractPreferencesTest.java | 669 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); 673 assertEquals(0, second.childrenNames().length); 675 second.removeNode(); 678 second.childrenNames(); 730 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); 761 second.removeNode(); 764 second.node(""); 848 AbstractPreferences second = (AbstractPreferences) pref.node("Second node/sub node"); 852 assertTrue(second.name().compareTo("sub node") == 0);
|
/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 775 * Returns true if the given URI escaped strings {@code first} and {@code second} are 780 * Why is this necessary ? We can just replace it with first.equals(second) 783 private boolean escapedEquals(String first, String second) { argument 785 // calculate the number of characters to match based on the length of the second 786 // string. If the second string is shorter than the first, we might attempt to match 788 if (first.length() != second.length()) { 795 int index1 = second.indexOf('%', prevIndex); 805 return first.regionMatches(prevIndex, second, prevIndex, 806 second.length() - prevIndex); 809 if (!first.regionMatches(prevIndex, second, prevInde [all...] |
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 334 // the requests are accepted by the server. Without this the second and third requests made 1643 RecordedRequest second = server2.takeRequest(); 1644 assertContains(second.getHeaders(), "Host: " + hostName + ":" + server2.getPort());
|