Home
last modified time | relevance | path

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

1234567

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java82 public long toNanos(long d) { return d; } in toNanos()
83 public long toMicros(long d) { return d/(C1/C0); } in toMicros()
84 public long toMillis(long d) { return d/(C2/C0); } in toMillis()
85 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds()
86 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes()
87 public long toHours(long d) { return d/(C5/C0); } in toHours()
88 public long toDays(long d) { return d/(C6/C0); } in toDays()
89 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert()
90 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos()
97 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos()
[all …]
DCompletableFuture.java473 CompletableFuture<?> d; Completion t; in postComplete() local
583 CompletableFuture<V> d; CompletableFuture<T> a; in tryFire() local
621 CompletableFuture<V> d = newIncompleteFuture(); in uniApplyStage() local
638 CompletableFuture<Void> d; CompletableFuture<T> a; in tryFire() local
676 CompletableFuture<Void> d = newIncompleteFuture(); in uniAcceptStage() local
693 CompletableFuture<Void> d; CompletableFuture<T> a; in tryFire() local
724 CompletableFuture<Void> d = newIncompleteFuture(); in uniRunStage() local
742 CompletableFuture<T> d; CompletableFuture<T> a; in tryFire() local
787 CompletableFuture<T> d = newIncompleteFuture(); in uniWhenCompleteStage() local
805 CompletableFuture<V> d; CompletableFuture<T> a; in tryFire() local
[all …]
/libcore/ojluni/src/main/native/
DMath.c29 Math_cos(JNIEnv *env, jclass unused, jdouble d) { in Math_cos()
34 Math_sin(JNIEnv *env, jclass unused, jdouble d) { in Math_sin()
39 Math_tan(JNIEnv *env, jclass unused, jdouble d) { in Math_tan()
44 Math_asin(JNIEnv *env, jclass unused, jdouble d) { in Math_asin()
49 Math_acos(JNIEnv *env, jclass unused, jdouble d) { in Math_acos()
54 Math_atan(JNIEnv *env, jclass unused, jdouble d) { in Math_atan()
59 Math_exp(JNIEnv *env, jclass unused, jdouble d) { in Math_exp()
64 Math_log(JNIEnv *env, jclass unused, jdouble d) { in Math_log()
69 Math_log10(JNIEnv *env, jclass unused, jdouble d) { in Math_log10()
74 Math_sqrt(JNIEnv *env, jclass unused, 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/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/dalvik/src/main/java/org/apache/harmony/dalvik/
DNativeTestTarget.java51 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
56 public static native void emptyJniStaticMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Fast()
61 …public static native void emptyJniStaticMethod6_Critical(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Critical()
67 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
77 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L()
81 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L()
86 public native void emptyJniMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniMethod6_Fast()
96 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L_Fast()
100 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L_Fast()
/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/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/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.java398 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
406 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
579 CalendarDate d = jcal.getCalendarDate(time, getZone()); in roll() local
623 CalendarDate d = jcal.getCalendarDate(Long.MAX_VALUE, getZone()); in roll() local
647 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
762 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
780 LocalGregorianCalendar.Date d = getCalendarDate(day1); in roll() local
865 LocalGregorianCalendar.Date d = getCalendarDate(month1 + value); in roll() local
883 LocalGregorianCalendar.Date d = getCalendarDate(jan0 + value); in roll() local
920 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/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
/libcore/ojluni/src/main/java/java/lang/
DDouble.java204 public static String toString(double d) { in toString()
282 public static String toHexString(double d) { in toHexString()
519 public static Double valueOf(double d) { in valueOf()
576 public static boolean isFinite(double d) { in isFinite()
/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java71 Date d = new Date((int)(((dtime >> 25) & 0x7f) + 80), in dosToJavaTime() local
97 Date d = new Date(time); in javaToDosTime() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidBooleanTest.java30 Boolean d = new Boolean("Yes"); in testBoolean() local
/libcore/luni/src/test/java/libcore/sun/net/util/
DIPAddressUtilTest.java57 private static void assertBytesEquals(int a, int b, int c, int d, byte[] actual) { in assertBytesEquals()

1234567