Home
last modified time | relevance | path

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

123456789

/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/ojluni/src/test/java/lang/Float/
DNaNInfinityParsingTest.java128 float d; in main() local
134 float d = Float.parseFloat(naNString); in testValidNaNStrings() local
137 d + " instead."); in testValidNaNStrings() local
144 float d = Float.parseFloat(infinityString); in testValidInfinityStrings() local
148 d + "instead."); in testValidInfinityStrings() local
163 float d = Float.parseFloat(invalidString); in testAlmostValidStrings() local
/libcore/ojluni/src/test/java/lang/Double/
DNaNInfinityParsingTest.java129 double d = Double.parseDouble(naNString); in testValidNaNStrings() local
132 d + " instead."); in testValidNaNStrings() local
139 double d = Double.parseDouble(infinityString); in testValidInfinityStrings() local
143 d + "instead."); in testValidInfinityStrings() local
158 double d = Double.parseDouble(invalidString); in testAlmostValidStrings() local
DParseHexFloatingPointTest.java114 public double d; in testDouble() field in ParseHexFloatingPointTest.PairSD
115 PairSD(String s, double d) { in testDouble()
257 double d = rand.nextDouble(); in testRandomDoubles() local
258 testCase(Double.toHexString(d), d); in testRandomDoubles() local
DToHexStringTest.java49 static String doubleToHexString(double d) { in doubleToHexString()
231 double d = rand.nextDouble(); in testRandomDoubles() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java205 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDate() local
215 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDay() local
225 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getHours() local
235 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMinutes() local
245 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMonth() local
255 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getSeconds() local
284 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getYear() local
305 Date d = new Date(Date.parse("13 October 1998")); in test_parseLjava_lang_String() local
354 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_setDateI() local
365 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/test/java/lang/Math/
DHyperbolicTests.java268 double d = Math.scalb(2.0, i); in testSinh() local
288 double d = Double.longBitsToDouble(i); in testSinh() local
346 double d = Math.scalb(2.0, i); in testSinh() local
616 double d = Math.scalb(2.0, i); in testCosh() local
636 double d = Double.longBitsToDouble(i); in testCosh() local
694 double d = Math.scalb(2.0, i); in testCosh() local
964 double d = Math.scalb(2.0, i); in testTanh() local
978 double d = Math.scalb(2.0, i); in testTanh() local
DLog1pTests.java101 double d = Math.scalb(2, i); in testLog1p() local
108 double d = Math.scalb(2, i); in testLog1p() local
116 double d = rand.nextDouble(); in testLog1p() local
DExpm1Tests.java84 double d = Math.scalb(2, i); in testExpm1() local
102 double d = Math.scalb(2, i); in testExpm1() local
118 double d = -Math.scalb(2, i); in testExpm1() local
/libcore/ojluni/src/test/java/util/Collections/
DUnmodifiableMapEntrySet.java103 public void testForEach(String d, Supplier<Map<Integer, Integer>> ms) { in testForEach()
109 public void testIteratorForEachRemaining(String d, Supplier<Map<Integer, Integer>> ms) { in testIteratorForEachRemaining()
115 public void testIteratorNext(String d, Supplier<Map<Integer, Integer>> ms) { in testIteratorNext()
124 public void testSpliteratorForEachRemaining(String d, Supplier<Map<Integer, Integer>> ms) { in testSpliteratorForEachRemaining()
133 public void testSpliteratorTryAdvance(String d, Supplier<Map<Integer, Integer>> ms) { in testSpliteratorTryAdvance()
157 public void testStreamForEach(String d, Supplier<Map<Integer, Integer>> ms) { in testStreamForEach()
162 public void testParallelStreamForEach(String d, Supplier<Map<Integer, Integer>> ms) { in testParallelStreamForEach()
/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/test/java/util/Timer/
DArgs.java39 void schedule(final Timer t, final TimerTask task, final Date d) { in schedule()
46 void schedule(final Timer t, final TimerTask task, final Date d, final in schedule()
54 void scheduleAtFixedRate(final Timer t, final TimerTask task, final in scheduleAtFixedRate()
/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.java442 …public void test_resolve_ymd_lenient(int y, int m, int d, LocalDate expected, Object smart, boolea… in test_resolve_ymd_lenient()
453 …public void test_resolve_ymd_smart(int y, int m, int d, LocalDate expected, Object smart, boolean … in test_resolve_ymd_smart()
476 …public void test_resolve_ymd_strict(int y, int m, int d, LocalDate expected, Object smart, boolean… in test_resolve_ymd_strict()
526 …public void test_resolve_yd_lenient(int y, int d, LocalDate expected, boolean smart, boolean stric… in test_resolve_yd_lenient()
536 …public void test_resolve_yd_smart(int y, int d, LocalDate expected, boolean smart, boolean strict)… in test_resolve_yd_smart()
555 …public void test_resolve_yd_strict(int y, int d, LocalDate expected, boolean smart, boolean strict… in test_resolve_yd_strict()
633 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, LocalDate expected, boolean smar… in test_resolve_ymaa_lenient()
645 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, LocalDate expected, boolean smart,… in test_resolve_ymaa_smart()
666 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, LocalDate expected, boolean smart… in test_resolve_ymaa_strict()
709 public void test_epochSecond_1(int y, int m, int d, int h , int min, int s, ZoneOffset offset) { in test_epochSecond_1()
[all …]
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java422 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
430 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone(); in add() local
605 CalendarDate d = jcal.getCalendarDate(time, getZone()); in roll() local
649 CalendarDate d = jcal.getCalendarDate(Long.MAX_VALUE, getZone()); in roll() local
673 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
788 CalendarDate d = jcal.getCalendarDate(Long.MIN_VALUE, getZone()); in roll() local
806 LocalGregorianCalendar.Date d = getCalendarDate(day1); in roll() local
891 LocalGregorianCalendar.Date d = getCalendarDate(month1 + value); in roll() local
909 LocalGregorianCalendar.Date d = getCalendarDate(jan0 + value); in roll() local
946 LocalGregorianCalendar.Date d = getCalendarDate(fd); in roll() local
[all …]
/libcore/ojluni/src/test/java/util/Map/
DMapBinToFromTreeTest.java75 public void testPutThenGet(String d, Map<HashCodeInteger, Integer> m) { in testPutThenGet()
85 public void testPutThenTraverse(String d, Map<HashCodeInteger, Integer> m) { in testPutThenTraverse()
99 public void testRemoveThenGet(String d, Map<HashCodeInteger, Integer> m) { in testRemoveThenGet()
111 public void testRemoveThenTraverse(String d, Map<HashCodeInteger, Integer> m) { in testRemoveThenTraverse()
124 public void testUntreeifyOnResizeWithGet(String d, Map<HashCodeInteger, Integer> m) { in testUntreeifyOnResizeWithGet()
146 public void testUntreeifyOnResizeWithTraverse(String d, Map<HashCodeInteger, Integer> m) { in testUntreeifyOnResizeWithTraverse()
/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/flagged_api/java/lang/
DDouble.annotated.java38 public static java.lang.String toString(double d) { throw new RuntimeException("Stub!"); } in toString()
40 public static java.lang.String toHexString(double d) { throw new RuntimeException("Stub!"); } in toHexString()
44 public static java.lang.Double valueOf(double d) { throw new RuntimeException("Stub!"); } in valueOf()
52 public static boolean isFinite(double d) { throw new RuntimeException("Stub!"); } in isFinite()

123456789