/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 80 public long toMillis(long d) { return d/(C2/C0); } in toMillis() 86 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos() 95 public long toMillis(long d) { return d/(C2/C1); } in toMillis() 101 int excessNanos(long d, long m) { return (int)((d*C1) - (m*C2)); } in excessNanos() 108 public long toNanos(long d) { return x(d, C2/C0, MAX/(C2/C0)); } in toNanos() 109 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() 111 public long toSeconds(long d) { return d/(C3/C2); } in toSeconds() 112 public long toMinutes(long d) { return d/(C4/C2); } in toMinutes() 113 public long toHours(long d) { return d/(C5/C2); } in toHours() 114 public long toDays(long d) { return d/(C6/C2); } in toDays() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 47 class C2 { class in ParameterizedTypeRegressionTest.A.B 186 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C2.D2<String>>() { in testNested4_nonGenericNonLeaf() 198 A.B.C2.class), in testNested4_nonGenericNonLeaf() 199 A.B.C2.D2.class, in testNested4_nonGenericNonLeaf()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassCastExceptionTest.java | 83 …A2, B2, C2, D2, E2, F2, G2, H2, I2, J2, K2, L2, M2, N2, O2, P2, Q2, R2, S2, T2, U2, V2, W2, X2, Y2… enumConstant 88 …A2, B2, C2, D2, E2, F2, G2, H2, I2, J2, K2, L2, M2, N2, O2, P2, Q2, R2, S2, T2, U2, V2, W2, X2, Y2… enumConstant
|
/libcore/benchmarks/src/benchmarks/ |
D | ImtConflictBenchmark.java | 40 C2 c2 = new C2(); in setup() 317 C2 c2 = new C2(); in timeConflictDepth03() 788 static class C2 implements I0, I1, I2 {} class in ImtConflictBenchmark
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStreamTest.java | 261 return new C2(); in writeReplace() 265 private static class C2 implements java.io.Serializable { class in ObjectOutputStreamTest.MultipleClassBasedReplacementWhenDumping
|
D | SerializationStressTest1.java | 223 return new C2(); in writeReplace() 227 private static class C2 implements java.io.Serializable { class in SerializationStressTest1.MultipleClassBasedReplacementWhenDumping
|