Home
last modified time | relevance | path

Searched defs:d (Results 1 – 25 of 173) sorted by relevance

1234567

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java78 public long toNanos(long d) { return d; } in toNanos()
79 public long toMicros(long d) { return d/(C1/C0); } in toMicros()
80 public long toMillis(long d) { return d/(C2/C0); } in toMillis()
81 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds()
82 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes()
83 public long toHours(long d) { return d/(C5/C0); } in toHours()
84 public long toDays(long d) { return d/(C6/C0); } in toDays()
85 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert()
86 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos()
93 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos()
[all …]
DCompletableFuture.java475 CompletableFuture<?> d; Completion t; in postComplete() local
585 CompletableFuture<V> d; CompletableFuture<T> a; in tryFire() local
623 CompletableFuture<V> d = newIncompleteFuture(); in uniApplyStage() local
640 CompletableFuture<Void> d; CompletableFuture<T> a; in tryFire() local
678 CompletableFuture<Void> d = newIncompleteFuture(); in uniAcceptStage() local
695 CompletableFuture<Void> d; CompletableFuture<T> a; in tryFire() local
726 CompletableFuture<Void> d = newIncompleteFuture(); in uniRunStage() local
744 CompletableFuture<T> d; CompletableFuture<T> a; in tryFire() local
789 CompletableFuture<T> d = newIncompleteFuture(); in uniWhenCompleteStage() local
807 CompletableFuture<V> d; CompletableFuture<T> a; in tryFire() local
[all …]
/libcore/ojluni/src/main/native/
DMath.c30 Math_cos(jdouble d) { in Math_cos()
35 Math_sin(jdouble d) { in Math_sin()
40 Math_tan(jdouble d) { in Math_tan()
45 Math_asin(jdouble d) { in Math_asin()
50 Math_acos(jdouble d) { in Math_acos()
55 Math_atan(jdouble d) { in Math_atan()
60 Math_exp(jdouble d) { in Math_exp()
65 Math_log(jdouble d) { in Math_log()
70 Math_log10(jdouble d) { in Math_log10()
75 Math_sqrt(jdouble d) { in Math_sqrt()
[all …]
DStrictMath.c36 StrictMath_cos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_cos()
42 StrictMath_sin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sin()
48 StrictMath_tan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_tan()
54 StrictMath_asin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_asin()
60 StrictMath_acos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_acos()
66 StrictMath_atan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_atan()
72 StrictMath_exp(JNIEnv *env, jclass unused, jdouble d) in StrictMath_exp()
78 StrictMath_log(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log()
84 StrictMath_log10(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log10()
90 StrictMath_sqrt(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sqrt()
[all …]
DDouble.c45 double d; in Double_longBitsToDouble() member
60 double d; in Double_doubleToRawLongBits() member
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java203 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDate() local
213 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDay() local
223 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getHours() local
233 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMinutes() local
243 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMonth() local
253 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getSeconds() local
282 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getYear() local
303 Date d = new Date(Date.parse("13 October 1998")); in test_parseLjava_lang_String() local
352 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_setDateI() local
363 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_setHoursI() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java169 Document d; in testNewDocument() local
184 DOMImplementation d; in testGetImplementation() local
229 Document d = db.parse(f); in testGetBaseURI() local
245 Document d = db.parse(f); in test_parseLjava_io_File() local
305 Document d = db.parse(is); in test_parseLjava_io_InputStream() local
367 Document d = db.parse(is); in testParseInputSource() local
428 Document d = db.parse(is, SAXParserTestSupport.XML_SYSTEM_ID); in test_parseLjava_io_InputStreamLjava_lang_String() local
492 Document d = db.parse(resource.toString()); in test_parseLjava_lang_String() local
536 Document d; in testReset() local
612 Document d; in testSetEntityResolver() local
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java36 public static int getExponent(double d) { in getExponent()
57 public static boolean isFinite(double d) { in isFinite()
66 public static boolean isInfinite(double d) { in isInfinite()
74 public static boolean isNaN(double d) { in isNaN()
90 public static int ilogb(double d) { in ilogb()
99 public static double scalb(double d, int scale_factor) { in scalb()
119 public static double nextUp(double d) { in nextUp()
129 public static double nextDown(double d) { in nextDown()
149 public static double ulp(double d) { in ulp()
159 public static double signum(double d) { in signum()
/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java139 public static int getExponent(double d){ in getExponent()
208 public static boolean isFinite(double d) { in isFinite()
239 public static boolean isInfinite(double d) { in isInfinite()
271 public static boolean isNaN(double d) { in isNaN()
341 public static int ilogb(double d) { in ilogb()
533 public static double scalb(double d, int scale_factor) { in scalb()
694 public static double nextUp(double d) { in nextUp()
756 public static double nextDown(double d) { in nextDown()
853 public static double ulp(double d) { in ulp()
905 public static double signum(double d) { in signum()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarUtils.java70 public static final long floorDivide(long n, long d) { in floorDivide()
84 public static final int floorDivide(int n, int d) { in floorDivide()
102 public static final int floorDivide(int n, int d, int[] r) { in floorDivide()
125 public static final int floorDivide(long n, int d, int[] r) { in floorDivide()
157 long d = value; in sprintf0d() local
176 long d = value; in sprintf0d() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DDoubleTest.java200 Double d = new Double(dd); in test_toString() local
209 Double d = new Double(39089.88888888888888888888888888888888); in test_ConstructorD() local
218 Double d = new Double("39089.88888888888888888888888888888888"); in test_ConstructorLjava_lang_String() local
239 Double d = new Double(1923311.47712); in test_byteValue() local
282 Double d = new Double(Double.MAX_VALUE); in test_doubleToLongBitsD() local
294 double d = Double.longBitsToDouble(l); in test_doubleToRawLongBitsD() local
323 Double d = new Double(i); in test_hashCode() local
340 Double d = new Double(1923311.47712); in test_intValue() local
387 Double d = new Double(0.0 / 0.0); in test_isNaN() local
399 Double d = new Double(0.0 / 0.0); in test_isNaND() local
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKIsoChronology.java434 …public void test_resolve_ymd_lenient(int y, int m, int d, LocalDate expected, Object smart, boolea… in test_resolve_ymd_lenient()
445 …public void test_resolve_ymd_smart(int y, int m, int d, LocalDate expected, Object smart, boolean … in test_resolve_ymd_smart()
468 …public void test_resolve_ymd_strict(int y, int m, int d, LocalDate expected, Object smart, boolean… in test_resolve_ymd_strict()
518 …public void test_resolve_yd_lenient(int y, int d, LocalDate expected, boolean smart, boolean stric… in test_resolve_yd_lenient()
528 …public void test_resolve_yd_smart(int y, int d, LocalDate expected, boolean smart, boolean strict)… in test_resolve_yd_smart()
547 …public void test_resolve_yd_strict(int y, int d, LocalDate expected, boolean smart, boolean strict… in test_resolve_yd_strict()
625 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, LocalDate expected, boolean smar… in test_resolve_ymaa_lenient()
637 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, LocalDate expected, boolean smart,… in test_resolve_ymaa_smart()
658 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, LocalDate expected, boolean smart… in test_resolve_ymaa_strict()
679 private static LocalDate date(int y, int m, int d) { in date()
DTCKThaiBuddhistChronology.java685 …public void test_resolve_ymd_lenient(int y, int m, int d, ThaiBuddhistDate expected, Object smart,… in test_resolve_ymd_lenient()
696 …public void test_resolve_ymd_smart(int y, int m, int d, ThaiBuddhistDate expected, Object smart, b… in test_resolve_ymd_smart()
719 …public void test_resolve_ymd_strict(int y, int m, int d, ThaiBuddhistDate expected, Object smart, … in test_resolve_ymd_strict()
769 …public void test_resolve_yd_lenient(int y, int d, ThaiBuddhistDate expected, boolean smart, boolea… in test_resolve_yd_lenient()
779 …public void test_resolve_yd_smart(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean … in test_resolve_yd_smart()
798 …public void test_resolve_yd_strict(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean… in test_resolve_yd_strict()
876 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, ThaiBuddhistDate expected, boole… in test_resolve_ymaa_lenient()
888 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, ThaiBuddhistDate expected, boolean… in test_resolve_ymaa_smart()
909 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, ThaiBuddhistDate expected, boolea… in test_resolve_ymaa_strict()
930 private static ThaiBuddhistDate date(int y, int m, int d) { in date()
DTCKMinguoChronology.java709 …public void test_resolve_ymd_lenient(int y, int m, int d, MinguoDate expected, Object smart, boole… in test_resolve_ymd_lenient()
720 …public void test_resolve_ymd_smart(int y, int m, int d, MinguoDate expected, Object smart, boolean… in test_resolve_ymd_smart()
743 …public void test_resolve_ymd_strict(int y, int m, int d, MinguoDate expected, Object smart, boolea… in test_resolve_ymd_strict()
793 …public void test_resolve_yd_lenient(int y, int d, MinguoDate expected, boolean smart, boolean stri… in test_resolve_yd_lenient()
803 …public void test_resolve_yd_smart(int y, int d, MinguoDate expected, boolean smart, boolean strict… in test_resolve_yd_smart()
822 …public void test_resolve_yd_strict(int y, int d, MinguoDate expected, boolean smart, boolean stric… in test_resolve_yd_strict()
900 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, MinguoDate expected, boolean sma… in test_resolve_ymaa_lenient()
912 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, MinguoDate expected, boolean smart… in test_resolve_ymaa_smart()
933 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, MinguoDate expected, boolean smar… in test_resolve_ymaa_strict()
954 private static MinguoDate date(int y, int m, int d) { in date()
DTCKHijrahChronology.java370 …public void test_resolve_ymd_lenient(int y, int m, int d, HijrahDate expected, Object smart, boole… in test_resolve_ymd_lenient()
391 …public void test_resolve_ymd_smart(int y, int m, int d, HijrahDate expected, Object smart, boolean… in test_resolve_ymd_smart()
414 …public void test_resolve_ymd_strict(int y, int m, int d, HijrahDate expected, Object smart, boolea… in test_resolve_ymd_strict()
484 …public void test_resolve_yd_lenient(int y, int d, HijrahDate expected, boolean smart, boolean stri… in test_resolve_yd_lenient()
494 …public void test_resolve_yd_smart(int y, int d, HijrahDate expected, boolean smart, boolean strict… in test_resolve_yd_smart()
513 …public void test_resolve_yd_strict(int y, int d, HijrahDate expected, boolean smart, boolean stric… in test_resolve_yd_strict()
532 private static HijrahDate date(int y, int m, int d) { in date()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java420 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
428 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
601 CalendarDate d = jcal.getCalendarDate(time, getZone()); in roll() local
645 CalendarDate d = jcal.getCalendarDate(Long.MAX_VALUE, getZone()); in roll() local
669 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
784 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
802 LocalGregorianCalendar.Date d = getCalendarDate(day1); in roll() local
887 LocalGregorianCalendar.Date d = getCalendarDate(month1 + value); in roll() local
905 LocalGregorianCalendar.Date d = getCalendarDate(jan0 + value); in roll() local
942 LocalGregorianCalendar.Date d = getCalendarDate(fd); in roll() local
[all …]
DGregorianCalendar.java789 BaseCalendar.Date d = getGregorianCutoverDate(); in setGregorianChange() local
842 BaseCalendar.Date d = getCalendarDate(gregorianCutoverDate); // Gregorian in isLeapYear() local
1213 CalendarDate d = calsys.getCalendarDate(time, getZone()); in roll() local
1351 BaseCalendar.Date d = getCalendarDate(day1 + value * 7); in roll() local
1404 BaseCalendar.Date d = getCalendarDate(nfd); in roll() local
1427 BaseCalendar.Date d = getCalendarDate(month1 + value); in roll() local
1444 BaseCalendar.Date d = getCalendarDate(jan1 + value - 1); in roll() local
1479 BaseCalendar.Date d = getCalendarDate(fd); in roll() local
1514 BaseCalendar.Date d = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE); in roll() local
1619 BaseCalendar.Date d = getGregorianCutoverDate(); in getGreatestMinimum() local
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarUtils.java44 public static final long floorDivide(long n, long d) { in floorDivide()
49 public static final int floorDivide(int n, int d) { in floorDivide()
53 public static final int floorDivide(int n, int d, int[] r) { in floorDivide()
57 public static final int floorDivide(long n, int d, int[] r) { in floorDivide()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java685 Date d = new Date(1015822800000L); in test_parse_dd_MMMM_yyyy_EEEE() local
693 Date d = new Date(1015822800000L); in test_parse_dd_MMMM_yyyy_F() local
701 Date d = new Date(1015822800000L); in test_parse_dd_MMMM_yyyy_w() local
709 Date d = new Date(1015822800000L); in test_parse_dd_MMMM_yyyy_W() local
718 Date d = new Date(1015822800000L); in test_parse_dd_MMMM_yyyy_D() local
725 Date d = new Date(1015822800000L); in test_parse_W_w_dd_MMMM_yyyy_EEEE() local
737 Date d = new Date(1015822800000L); in test_parse_w_W_dd_MMMM_yyyy_EEEE() local
744 Date d = new Date(1015822800000L); in test_parse_F_dd_MMMM_yyyy_EEEE() local
751 Date d = new Date(1015822800000L); in test_parse_w_dd_MMMM_yyyy_EEEE() local
758 Date d = new Date(1015822800000L); in test_parse_w_dd_yyyy_EEEE_MMMM() local
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java37 @libcore.util.NonNull public static java.lang.String toString(double d) { throw new RuntimeExceptio… in toString()
39 @libcore.util.NonNull public static java.lang.String toHexString(double d) { throw new RuntimeExcep… in toHexString()
43 @libcore.util.NonNull public static java.lang.Double valueOf(double d) { throw new RuntimeException… in valueOf()
51 public static boolean isFinite(double d) { throw new RuntimeException("Stub!"); } in isFinite()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DDouble.java43 public static java.lang.String toString(double d) { in toString()
47 public static java.lang.String toHexString(double d) { in toHexString()
56 public static java.lang.Double valueOf(double d) { in valueOf()
72 public static boolean isFinite(double d) { in isFinite()
/libcore/ojluni/src/main/java/java/lang/
DDouble.java203 public static String toString(double d) { in toString()
281 public static String toHexString(double d) { in toHexString()
518 public static Double valueOf(double d) { in valueOf()
575 public static boolean isFinite(double d) { in isFinite()
/libcore/luni/src/test/java/tests/security/interfaces/
DRSAPrivateKeyTest.java34 final BigInteger d = BigInteger.valueOf(2753); in test_getPrivateExponent() local
DRSAKeyTest.java38 final BigInteger d = BigInteger.valueOf(2753); in test_getModulus() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestChronologyPerf.java46 Duration d = Duration.of(end - start, ChronoUnit.NANOS); in test_chronologyGetAvailablePerf() local

1234567