Home
last modified time | relevance | path

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

123456

/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 …]
/libcore/ojluni/src/main/native/
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/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/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/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/tck/java/time/chrono/
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/luni/src/test/java/libcore/highmemorytest/libcore/icu/
DLocaleDataTest.java42 LocaleData d = LocaleData.get(locale); in testLongDateTimeFormat() local
/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/libcore/java/lang/
DOldAndroidBooleanTest.java30 Boolean d = new Boolean("Yes"); in testBoolean() local
/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/sun/net/util/
DIPAddressUtilTest.java57 private static void assertBytesEquals(int a, int b, int c, int d, byte[] actual) { in assertBytesEquals()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java66 File d = new File(tmpDirName); in test_ConstructorLjava_io_FileLjava_lang_String() local
121 File d = new File(s, "/abc"); in test_ConstructorLjava_lang_StringLjava_lang_String() local
/libcore/ojluni/src/main/java/java/io/
DBufferedWriter.java194 int d = min(nChars - nextChar, t - b); in write() local
225 int d = min(nChars - nextChar, t - b); in write() local

123456