Home
last modified time | relevance | path

Searched refs:D (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateImpl.java143 abstract class ChronoLocalDateImpl<D extends ChronoLocalDate>
160 static <D extends ChronoLocalDate> D ensureValid(Chronology chrono, Temporal temporal) { in ensureValid()
162 D other = (D) temporal; in ensureValid()
178 public D with(TemporalAdjuster adjuster) { in with()
179 return (D) ChronoLocalDate.super.with(adjuster); in with()
184 public D with(TemporalField field, long value) { in with()
185 return (D) ChronoLocalDate.super.with(field, value); in with()
191 public D plus(TemporalAmount amount) { in plus()
192 return (D) ChronoLocalDate.super.plus(amount); in plus()
198 public D plus(long amountToAdd, TemporalUnit unit) { in plus()
[all …]
DChronoLocalDateTimeImpl.java100 final class ChronoLocalDateTimeImpl<D extends ChronoLocalDate>
101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable {
159 private final transient D date;
202 private ChronoLocalDateTimeImpl(D date, LocalTime time) { in ChronoLocalDateTimeImpl()
217 private ChronoLocalDateTimeImpl<D> with(Temporal newDate, LocalTime newTime) { in with()
222 D cd = ChronoLocalDateImpl.ensureValid(date.getChronology(), newDate); in with()
228 public D toLocalDate() { in toLocalDate()
277 public ChronoLocalDateTimeImpl<D> with(TemporalAdjuster adjuster) { in with()
290 public ChronoLocalDateTimeImpl<D> with(TemporalField field, long newValue) { in with()
304 public ChronoLocalDateTimeImpl<D> plus(long amountToAdd, TemporalUnit unit) { in plus()
[all …]
DChronoZonedDateTime.java121 public interface ChronoZonedDateTime<D extends ChronoLocalDate>
223 default D toLocalDate() { in toLocalDate()
247 ChronoLocalDateTime<D> toLocalDateTime(); in toLocalDateTime()
298 ChronoZonedDateTime<D> withEarlierOffsetAtOverlap(); in withEarlierOffsetAtOverlap()
318 ChronoZonedDateTime<D> withLaterOffsetAtOverlap(); in withLaterOffsetAtOverlap()
335 ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone); in withZoneSameLocal()
354 ChronoZonedDateTime<D> withZoneSameInstant(ZoneId zone); in withZoneSameInstant()
412 default ChronoZonedDateTime<D> with(TemporalAdjuster adjuster) { in with()
422 ChronoZonedDateTime<D> with(TemporalField field, long newValue); in with()
430 default ChronoZonedDateTime<D> plus(TemporalAmount amount) { in plus()
[all …]
DChronoZonedDateTimeImpl.java104 final class ChronoZonedDateTimeImpl<D extends ChronoLocalDate>
105 implements ChronoZonedDateTime<D>, Serializable {
115 private final transient ChronoLocalDateTimeImpl<D> dateTime;
187 private ChronoZonedDateTimeImpl<D> create(Instant instant, ZoneId zone) { in create()
188 return (ChronoZonedDateTimeImpl<D>)ofInstant(getChronology(), instant, zone); in create()
218 …private ChronoZonedDateTimeImpl(ChronoLocalDateTimeImpl<D> dateTime, ZoneOffset offset, ZoneId zon… in ChronoZonedDateTimeImpl()
231 public ChronoZonedDateTime<D> withEarlierOffsetAtOverlap() { in withEarlierOffsetAtOverlap()
243 public ChronoZonedDateTime<D> withLaterOffsetAtOverlap() { in withLaterOffsetAtOverlap()
256 public ChronoLocalDateTime<D> toLocalDateTime() { in toLocalDateTime()
266 public ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone) { in withZoneSameLocal()
[all …]
DChronoLocalDateTime.java120 public interface ChronoLocalDateTime<D extends ChronoLocalDate>
197 D toLocalDate() ; in toLocalDate()
265 default ChronoLocalDateTime<D> with(TemporalAdjuster adjuster) { in with()
275 ChronoLocalDateTime<D> with(TemporalField field, long newValue); in with()
283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus()
293 ChronoLocalDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus()
301 default ChronoLocalDateTime<D> minus(TemporalAmount amount) { in minus()
311 default ChronoLocalDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus()
430 ChronoZonedDateTime<D> atZone(ZoneId zone); in atZone()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestChronoLocalDate.java154 public <D extends ChronoLocalDate> void test_date_checkGenerics_genericsMethod_withType() {
157 D date = (D) chrono.dateNow();
167 private <D extends ChronoLocalDate> D dateSupplier() {
168 return (D) ThaiBuddhistChronology.INSTANCE.dateNow();
173 private <D extends ChronoLocalDate> D processOK(D date) {
174 return (D) date.plus(1, ChronoUnit.DAYS);
176 private <D extends ChronoLocalDate> D processClassOK(Class<D> cls) {
181 private <D extends ChronoLocalDate> ChronoLocalDate processClassWeird(Class<D> cls) {
199 …private <D extends ChronoLocalDate> ChronoLocalDateTime<D> processCLDT(ChronoLocalDateTime<D> dt) {
DTestExampleCode.java203 private <D extends ChronoLocalDate> D next(D date) { in next()
204 return (D) date.plus(1, ChronoUnit.DAYS); in next()
215 private <D extends ChronoLocalDate> ChronoLocalDateTime<D> tomorrowNoon(D date) { in tomorrowNoon()
216 return (ChronoLocalDateTime<D>) date.plus(1, ChronoUnit.DAYS).atTime(LocalTime.of(12, 0)); in tomorrowNoon()
/libcore/luni/src/main/java/libcore/reflect/
DTypeVariableImpl.java27 public final class TypeVariableImpl<D extends GenericDeclaration> implements TypeVariable<D> {
28 private TypeVariableImpl<D> formalVar;
31 private D genericDeclaration;
55 TypeVariableImpl(D genericDecl, String name, ListOfTypes bounds) { in TypeVariableImpl()
67 TypeVariableImpl(D genericDecl, String name) { in TypeVariableImpl()
114 formalVar = (TypeVariableImpl<D>) var; in resolve()
124 public D getGenericDeclaration() { in getGenericDeclaration()
/libcore/luni/src/main/native/
Djava_lang_StringToReal.cpp274 uint64_t* D; in doubleAlgorithm() local
278 x = y = D = D2 = 0; in doubleAlgorithm()
290 free(D); in doubleAlgorithm()
292 y = D = D2 = NULL; in doubleAlgorithm()
352 allocateU64 (D, DLength); in doubleAlgorithm()
353 memcpy (D, x, DLength * sizeof (uint64_t)); in doubleAlgorithm()
354 subtractHighPrecision (D, DLength, y, yLength); in doubleAlgorithm()
359 allocateU64 (D, DLength); in doubleAlgorithm()
360 memcpy (D, y, DLength * sizeof (uint64_t)); in doubleAlgorithm()
361 subtractHighPrecision (D, DLength, x, xLength); in doubleAlgorithm()
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DTypeVariable.java53 public interface TypeVariable<D extends GenericDeclaration> extends Type/*, AnnotatedElement*/ {
83 D getGenericDeclaration(); in getGenericDeclaration()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DParameterizedTypeTest.java50 static class D<T> extends C<T>{} class in ParameterizedTypeTest
53 Class<? extends D> clazz = D.class; in testTypeParameterizedSuperClass()
67 assertEquals(getTypeParameter(D.class), actualTypeArguments[0]); in testTypeParameterizedSuperClass()
DTypeVariableTest.java81 static class D<Q,R,S>{} class in TypeVariableTest
83 Class<? extends D> clazz = D.class; in testMultipleTypeVariablesOnClass()
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DTypeVariable.annotated.java31 public interface TypeVariable<D extends java.lang.reflect.GenericDeclaration> extends java.lang.ref…
35 @libcore.util.NonNull public D getGenericDeclaration(); in getGenericDeclaration()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java190 D.class.getField("noField"); in testGetFieldNotFound()
198 D.class.getDeclaredField("noField"); in testGetDeclaredFieldNotFound()
206 D.class.getField(null); in testGetFieldNull()
214 D.class.getDeclaredField(null); in testGetDeclaredFieldNull()
221 Field field = D.class.getField("fieldOne"); in testGetFieldIsRecursive()
227 D.class.getDeclaredField("fieldOne"); in testGetDeclaredFieldIsNotRecursive()
391 public static class D extends C<String> { class in ReflectionTest
392 public D(A a) throws B { in D() method in ReflectionTest.D
445 HasMemberClassesInterface.D.class.getEnclosingClass()); in testGetEnclosingClass()
454 HasMemberClassesInterface.D.class.getDeclaringClass()); in testGetDeclaringClass()
[all …]
DClassLoaderReflectionTest.java154 interface D<T> {} interface in ClassLoaderReflectionTest
155 class E implements Callable<A>, D<A> {
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java850 public static <T, K, A, D>
851 Collector<T, ?, Map<K, D>> groupingBy(Function<? super T, ? extends K> classifier,
852 Collector<? super T, A, D> downstream) {
900 public static <T, K, D, A, M extends Map<K, D>>
903 Collector<? super T, A, D> downstream) {
1005 public static <T, K, A, D>
1006 …Collector<T, ?, ConcurrentMap<K, D>> groupingByConcurrent(Function<? super T, ? extends K> classif…
1007 … Collector<? super T, A, D> downstream) {
1051 public static <T, K, A, D, M extends ConcurrentMap<K, D>>
1054 Collector<? super T, A, D> downstream) {
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java166 D d = new D(); in timeClass_isInstance()
239 class D implements IC { class in ReflectionBenchmark
242 class E extends D {
/libcore/support/src/test/java/tests/resources/x509/
Dcakey.pem7 IVtl6rkB08+RYY+D+cs3kxXT96rjUd23ytjnoa+SeDpInaYLWutj8Lj/EfRlo82R
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java119 interface D extends C { interface in ClassTest
122 abstract class Z implements D { }
126 assertEquals(Z.class.getMethod("foo"), D.class.getMethod("foo")); in test_getMethod()
/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java300 String D = host.substring(lengthDiff); in netscapeDomainMatches() local
310 return (D.equalsIgnoreCase(domain)); in netscapeDomainMatches()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrays2Test.java77 public void test_equals$D$D() { in test_equals$D$D()
120 public void test_sort$D() { in test_sort$D()
226 public void test_toString$D() { in test_toString$D()
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java135 public void test_setAll$D() { in test_setAll$D()
162 public void test_parallelSetAll$D() { in test_parallelSetAll$D()
393 public void test_parallelPrefix$D() { in test_parallelPrefix$D()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java143 static class PartitionAssertion<T, D> extends TabulationAssertion<T, Map<Boolean,D>> {
145 private final TabulationAssertion<T,D> downstream;
148 TabulationAssertion<T, D> downstream) { in PartitionAssertion()
153 void assertValue(Map<Boolean, D> map, in assertValue()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java288 public static class D { class in MethodHandlesTest
298 public static class E extends D {
348 MethodType.methodType(void.class), D.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour()
368 D dInstance = new D(); in testfindSpecial_invokeDirectBehaviour()
370 MethodHandle mh3 = D.lookup.findSpecial(D.class, "privateRyan", in testfindSpecial_invokeDirectBehaviour()
371 MethodType.methodType(void.class), D.class /* specialCaller */); in testfindSpecial_invokeDirectBehaviour()
377 D.lookup.findSpecial(D.class, "privateRyan", MethodType.methodType(void.class), in testfindSpecial_invokeDirectBehaviour()
385 E.lookup.findSpecial(D.class, "privateRyan", MethodType.methodType(void.class), in testfindSpecial_invokeDirectBehaviour()
/libcore/ojluni/src/main/resources/sun/util/logging/resources/
Dlogging_fr.properties46 OFF=D\u00E9sactiv\u00E9

12