Home
last modified time | relevance | path

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

1234

/libcore/luni/src/main/java/java/util/concurrent/
DTimeUnit.java44 public long toNanos(long d) { return d; } in toNanos()
45 public long toMicros(long d) { return d/(C1/C0); } in toMicros()
46 public long toMillis(long d) { return d/(C2/C0); } in toMillis()
47 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds()
48 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes()
49 public long toHours(long d) { return d/(C5/C0); } in toHours()
50 public long toDays(long d) { return d/(C6/C0); } in toDays()
51 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert()
52 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos()
55 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos()
[all …]
/libcore/luni/src/main/java/java/lang/
DMath.java57 public static double abs(double d) { in abs()
110 public static native double acos(double d); in acos()
128 public static native double asin(double d); in asin()
148 public static native double atan(double d); in atan()
207 public static native double cbrt(double d); in cbrt()
223 public static native double ceil(double d); in ceil()
241 public static native double cos(double d); in cos()
259 public static native double cosh(double d); in cosh()
277 public static native double exp(double d); in exp()
304 public static native double expm1(double d); in expm1()
[all …]
DStrictMath.java66 public static double abs(double d) { in abs()
120 public static native double acos(double d); in acos()
137 public static native double asin(double d); in asin()
156 public static native double atan(double d); in atan()
214 public static native double cbrt(double d); in cbrt()
230 public static native double ceil(double d); in ceil()
248 public static native double cosh(double d); in cosh()
264 public static native double cos(double d); in cos()
281 public static native double exp(double d); in exp()
304 public static native double expm1(double d); in expm1()
[all …]
DDouble.java253 public static boolean isInfinite(double d) { in isInfinite()
276 public static boolean isNaN(double d) { in isNaN()
322 public static String toString(double d) { in toString()
395 public static Double valueOf(double d) { in valueOf()
407 public static String toHexString(double d) { in toHexString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java202 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDate() local
212 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDay() local
222 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getHours() local
232 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMinutes() local
242 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMonth() local
252 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getSeconds() local
281 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getYear() local
302 Date d = new Date(Date.parse("13 October 1998")); in test_parseLjava_lang_String() local
351 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_setDateI() local
362 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_setHoursI() local
[all …]
DArraysTest.java474 short d[] = new short[1000]; in test_fill$SS() local
487 short d[] = new short[1000]; in test_fill$SIIS() local
522 char d[] = new char[1000]; in test_fill$CC() local
534 char d[] = new char[1000]; in test_fill$CIIC() local
569 int d[] = new int[1000]; in test_fill$II() local
582 int d[] = new int[1000]; in test_fill$IIII() local
617 long d[] = new long[1000]; in test_fill$JJ() local
629 long d[] = new long[1000]; in test_fill$JIIJ() local
664 float d[] = new float[1000]; in test_fill$FF() local
677 float d[] = new float[1000]; in test_fill$FIIF() local
[all …]
DArrays2Test.java76 double d[] = new double[100]; in test_equals$D$D() local
99 float d[] = new float[100]; in test_equals$F$F() local
DTimerTest.java311 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() local
620 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() local
840 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java166 Document d; in testNewDocument() local
181 DOMImplementation d; in testGetImplementation() local
226 Document d = db.parse(f); in testGetBaseURI() local
242 Document d = db.parse(f); in test_parseLjava_io_File() local
302 Document d = db.parse(is); in test_parseLjava_io_InputStream() local
364 Document d = db.parse(is); in testParseInputSource() local
425 Document d = db.parse(is, SAXParserTestSupport.XML_SYSTEM_ID); in test_parseLjava_io_InputStreamLjava_lang_String() local
489 Document d = db.parse(resource.toString()); in test_parseLjava_lang_String() local
533 Document d; in testReset() local
609 Document d; in testSetEntityResolver() local
/libcore/luni/src/main/native/
Djava_lang_Double.cpp29 double d; member
33 Double d; in Double_doubleToRawLongBits() local
39 Double d; in Double_longBitsToDouble() 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
371 Double d = new Double(0.0 / 0.0); in test_isNaN() local
383 Double d = new Double(0.0 / 0.0); in test_isNaND() local
[all …]
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/
DNativeTestTarget.java36 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
38 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
47 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L()
50 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L()
/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/luni/src/test/java/libcore/java/lang/
DOldAndroidBooleanTest.java30 Boolean d = new Boolean("Yes"); in testBoolean() local
DOldDoubleTest.java24 Double d = new Double(Byte.MAX_VALUE); in test_byteValue() local
DOldAndroidFloatDoubleTest.java27 Double d = Double.valueOf(1.0); in testFloatDouble() local
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java180 @Override public void setStartRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
183 @Override public void setStartRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
186 @Override public void setEndRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
189 @Override public void setEndRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
/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/support/src/test/java/tests/resources/
Dhyts_PropertiesTest.properties18 d=d\r\ne=e key
/libcore/benchmarks/src/benchmarks/regression/
DDoubleBenchmark.java24 private double d = 1.2; field in DoubleBenchmark
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DTestAnnotation3b.java23 double d() default 0.0d; in d() method
DTestAnnotation3.java23 double d() default 0.0d; in d() method
/libcore/luni/src/test/java/libcore/java/sql/
DOldDriverPropertyInfoTest.java52 Driver d = DriverManager.getDriver(connectionURL); in testPublicFields() local
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java188 Date d = sdf.parse(value, pp); in assertCannotParse() local
195 Date d = sdf.parse(value, pp); in parseDate() local
334 Date d = sdf.parse("2012-08-29 10:02:45"); in testParseArabic() local

1234