/libcore/ojluni/src/test/java/net/SocketOptions/ |
D | SupportedOptionsSet.java | 48 second(); in testSupportedOptionsSet() 58 Set<?> second = ss.supportedOptions(); in first() local 59 assertNotEqual(first, second, in first() 63 second = ms.supportedOptions(); in first() 64 assertNotEqual(first, second, in first() 70 static void second() throws IOException { in second() method in SupportedOptionsSet 77 Set<?> second = s.supportedOptions(); in second() local 78 assertNotEqual(first, second, in second() 82 second = ds.supportedOptions(); in second() 83 assertNotEqual(first, second, in second()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 224 private final byte second; field in LocalTime 312 public static LocalTime of(int hour, int minute, int second) { in of() argument 314 if ((minute | second) == 0) { in of() 318 SECOND_OF_MINUTE.checkValidValue(second); in of() 319 return new LocalTime(hour, minute, second, 0); in of() 334 public static LocalTime of(int hour, int minute, int second, int nanoOfSecond) { in of() argument 337 SECOND_OF_MINUTE.checkValidValue(second); in of() 339 return create(hour, minute, second, nanoOfSecond); in of() 474 private static LocalTime create(int hour, int minute, int second, int nanoOfSecond) { in create() argument 475 if ((minute | second | nanoOfSecond) == 0) { in create() [all …]
|
D | LocalDateTime.java | 255 … static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int second) { in of() argument 257 LocalTime time = LocalTime.of(hour, minute, second); in of() 280 …Time of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)… in of() argument 282 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 330 …ic static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second) { in of() argument 332 LocalTime time = LocalTime.of(hour, minute, second); in of() 355 …teTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)… in of() argument 357 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 1070 public LocalDateTime withSecond(int second) { in withSecond() argument 1071 LocalTime newTime = time.withSecond(second); in withSecond()
|
D | OffsetTime.java | 230 …public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)… in of() argument 231 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); in of() 775 public OffsetTime withSecond(int second) { in withSecond() argument 776 return with(time.withSecond(second), offset); in withSecond()
|
/libcore/luni/src/test/java/libcore/java/util/random/ |
D | RandomGeneratorFactoryTest.java | 159 private static void checkNextBoolean(RandomGenerator first, RandomGenerator second) { in checkNextBoolean() argument 162 boolean secondResult = second.nextBoolean(); in checkNextBoolean() 164 i, first, firstResult, second, secondResult); in checkNextBoolean() 169 private static void checkNextInt(RandomGenerator first, RandomGenerator second) { in checkNextInt() argument 172 int secondResult = second.nextInt(); in checkNextInt() 174 i, first, firstResult, second, secondResult); in checkNextInt() 179 private static void checkNextLong(RandomGenerator first, RandomGenerator second) { in checkNextLong() argument 182 long secondResult = second.nextLong(); in checkNextLong() 184 i, first, firstResult, second, secondResult); in checkNextLong() 189 private static void checkNextDouble(RandomGenerator first, RandomGenerator second) { in checkNextDouble() argument [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Time.java | 58 public Time(int hour, int minute, int second) { in Time() argument 59 super(70, 0, 1, hour, minute, second); in Time() 93 int second; in valueOf() local 106 second = Integer.parseInt(s.substring(secondColon+1)); in valueOf() 111 return new Time(hour, minute, second); in valueOf() 122 int second = super.getSeconds(); in toString() local 137 if (second < 10) { in toString() 138 secondString = "0" + second; in toString() 140 secondString = Integer.toString(second); in toString()
|
D | Timestamp.java | 88 int hour, int minute, int second, int nano) { in Timestamp() argument 89 super(year, month, date, hour, minute, second); in Timestamp() 180 int second; in valueOf() local 245 second = in valueOf() 257 second = Integer.parseInt(time_s.substring(secondColon+1)); in valueOf() 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); in valueOf() 281 int second = super.getSeconds(); in toString() local 321 if (second < 10) { in toString() 322 secondString = "0" + second; in toString() 324 secondString = Integer.toString(second); in toString()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 327 public void setTime(int hour, int minute, int second) { in setTime() argument 332 second, in setTime() 371 public abstract void setSecond(int second); in setSecond() argument 419 int second, in setTime() argument 424 setSecond(second); in setTime() 444 public void setTime(int hour, int minute, int second, int millisecond) { in setTime() argument 448 setSecond(second); in setTime()
|
D | DatatypeFactory.java | 471 final BigInteger second) { in newDurationDayTime() argument 480 (second != null)? new BigDecimal(second):null in newDurationDayTime() 513 final int second) { in newDurationDayTime() argument 516 day, hour, minute, second); in newDurationDayTime() 794 final int second, in newXMLGregorianCalendar() argument 830 final int second, in newXMLGregorianCalendar() argument 857 second, in newXMLGregorianCalendar()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadGroupTest.java | 47 Thread second = createHangThread(group); in interrupt_shouldInterruptAllThreadsInAGroup() local 50 second.start(); in interrupt_shouldInterruptAllThreadsInAGroup() 63 Thread second = createHangThread(childGroup); in interrupt_shouldInterruptThreadsInSubgroups() local 66 second.start(); in interrupt_shouldInterruptThreadsInSubgroups() 79 Thread second = createHangThread(childGroup); in interrupt_shouldNotInterruptThreadsInParentGroup() local 82 second.start(); in interrupt_shouldNotInterruptThreadsInParentGroup()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileWriterTest.java | 67 String second = "The second String for testing."; in test_ConstructorLjava_io_FileZ() local 68 fileWriter.write(second); in test_ConstructorLjava_io_FileZ() 72 char[] out = new char[first.length() + second.length() + 10]; in test_ConstructorLjava_io_FileZ() 75 assertEquals(first + second, new String(out, 0, length)); in test_ConstructorLjava_io_FileZ() 83 second = "The second String for testing."; in test_ConstructorLjava_io_FileZ() 84 fileWriter.write(second); in test_ConstructorLjava_io_FileZ() 88 out = new char[first.length() + second.length() + 10]; in test_ConstructorLjava_io_FileZ() 91 assertEquals(second, new String(out, 0, length)); in test_ConstructorLjava_io_FileZ()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | XMLGregorianCalendarTest.java | 171 private int second; field in XMLGregorianCalendarTest.XMLGregorianCalendarImpl 178 year = month = day = hour = minute = second = millisecond = timezoneOffset = 0; in clear() 184 year = month = day = hour = minute = second = millisecond = timezoneOffset = 0; in reset() 224 public void setSecond(int second) { in setSecond() argument 225 this.second = second; in setSecond() 280 return second; in getSecond() 295 if (second != rhs.getSecond()) return Integer.signum(second - rhs.getSecond()); in compare()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ObjectIdentifier.java | 149 int first = 0, second; in ObjectIdentifier() local 375 BigInteger second = big.subtract(BigInteger.valueOf(80)); in toIntArray() local 376 if (second.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) == 1) { in toIntArray() 379 result[which++] = second.intValue(); in toIntArray() 642 private static void checkSecondComponent(int first, int second) throws IOException { in checkSecondComponent() argument 643 if (second < 0 || first != 2 && second > 39) { in checkSecondComponent() 648 private static void checkSecondComponent(int first, BigInteger second) throws IOException { in checkSecondComponent() argument 649 if (second.signum() == -1 || in checkSecondComponent() 651 second.compareTo(BigInteger.valueOf(39)) == 1) { in checkSecondComponent()
|
D | DerInputBuffer.java | 313 int year, month, day, hour, minute, second, millis; in getTime() local 356 second = 10 * Character.digit((char)buf[pos++], 10); in getTime() 357 second += Character.digit((char)buf[pos++], 10); in getTime() 392 second = 0; in getTime() 396 || hour >= 24 || minute >= 60 || second >= 60) in getTime() 406 date.setTimeOfDay(hour, minute, second, millis); in getTime()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipUtils.java | 95 int second = (int) ((dtime << 1) & 0x3e); in dosToJavaTime() local 97 if (month > 0 && month < 13 && day > 0 && hour < 24 && minute < 60 && second < 60) { in dosToJavaTime() 99 LocalDateTime ldt = LocalDateTime.of(year, month, day, hour, minute, second); in dosToJavaTime() 106 return overflowDosToJavaTime(year, month, day, hour, minute, second); in dosToJavaTime() 114 int hour, int minute, int second) { in overflowDosToJavaTime() argument 115 return new Date(year - 1900, month - 1, day, hour, minute, second).getTime(); in overflowDosToJavaTime()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Chronology.java | 740 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 744 SECOND_OF_MINUTE.checkValidValue(second); in epochSecond() 746 long timeinSec = (hour * 60 + minute) * 60 + second; in epochSecond() 769 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 771 …return epochSecond(prolepticYear(era, yearOfEra), month, dayOfMonth, hour, minute, second, zoneOff… in epochSecond()
|
D | IsoChronology.java | 293 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 299 SECOND_OF_MINUTE.checkValidValue(second); in epochSecond() 329 timeinSec = (hour * 60 + minute ) * 60 + second; in epochSecond()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimSortTest.java | 30 public int compare(Integer first, Integer second) { 31 return first.compareTo(second);
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 154 final int second = string.indexOf('_', first + 1); in parseLangScriptRegionAndVariants() local 155 final int third = string.indexOf('_', second + 1); in parseLangScriptRegionAndVariants() 159 } else if (second == -1) { in parseLangScriptRegionAndVariants() 186 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() 187 final String thirdString = string.substring(second + 1); in parseLangScriptRegionAndVariants() 216 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() 219 outputArray[IDX_REGION] = string.substring(second + 1, third); in parseLangScriptRegionAndVariants() 223 outputArray[IDX_VARIANT] = string.substring(second + 1); in parseLangScriptRegionAndVariants()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 1114 private final B second; field in ProviderTest.Pair 1115 Pair(A first, B second) { in Pair() argument 1117 this.second = second; in Pair() 1135 provAndParam.operationParameters.second); 1147 provAndParam.operationParameters.second); 1156 provAndParam.operationParameters.second); 1162 provAndParam.operationParameters.second); 1168 provAndParam.operationParameters.second); 1177 provAndParam.operationParameters.second); 1183 provAndParam.operationParameters.first.second, [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 139 Duration second = Duration.ofSeconds(1); in test_addTo_subtractFrom_unsupported() local 146 second.addTo(temporal); in test_addTo_subtractFrom_unsupported() 151 second.subtractFrom(temporal); in test_addTo_subtractFrom_unsupported()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ObjectIdentifier.java | 131 private static void checkSecondComponent(int first, int second) throws java.io.IOException { in checkSecondComponent() argument 135 private static void checkSecondComponent(int first, java.math.BigInteger second) in checkSecondComponent() argument
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 676 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testChildrenNames() local 680 assertEquals(0, second.childrenNames().length); in testChildrenNames() 682 second.removeNode(); in testChildrenNames() 685 second.childrenNames(); in testChildrenNames() 737 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testNode() local 768 second.removeNode(); in testNode() 771 second.node(""); in testNode() 855 AbstractPreferences second = (AbstractPreferences) pref.node("Second node/sub node"); in testName() local 859 assertTrue(second.name().compareTo("sub node") == 0); in testName()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 936 int second = Character.digit(s.charAt(len - 1), radix); in parseUnsignedLong() local 937 if (second < 0) { in parseUnsignedLong() 940 long result = first * radix + second; in parseUnsignedLong() 1053 int second = Character.digit(s.charAt(start + len - 1), radix); in parseUnsignedLong() local 1054 if (second < 0) { in parseUnsignedLong() 1058 long result = first * radix + second; in parseUnsignedLong()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 86 public final void set(int year, int month, int date, int hourOfDay, int minute, int second) { throw… in set() argument 287 …c java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second) { throw new Runti… in setTimeOfDay() argument 289 …c java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { thr… in setTimeOfDay() argument
|