/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TeeOpTest.java | 75 void before(TestData<T, ?> td) { in before() method in TeeOpTest.AbstractRecordingConsumer 99 .before(b::before) in testOps() 115 .before(b::before) in testIntOps() 131 .before(b::before) in testLongOps() 147 .before(b::before) in testDoubleOps()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | IntUnaryOperator.java | 64 default IntUnaryOperator compose(IntUnaryOperator before) { in compose() argument 65 Objects.requireNonNull(before); in compose() 66 return (int v) -> applyAsInt(before.applyAsInt(v)); in compose()
|
D | DoubleUnaryOperator.java | 64 default DoubleUnaryOperator compose(DoubleUnaryOperator before) { in compose() argument 65 Objects.requireNonNull(before); in compose() 66 return (double v) -> applyAsDouble(before.applyAsDouble(v)); in compose()
|
D | LongUnaryOperator.java | 64 default LongUnaryOperator compose(LongUnaryOperator before) { in compose() argument 65 Objects.requireNonNull(before); in compose() 66 return (long v) -> applyAsLong(before.applyAsLong(v)); in compose()
|
D | Function.java | 66 default <V> Function<V, R> compose(Function<? super V, ? extends T> before) { in compose() argument 67 Objects.requireNonNull(before); in compose() 68 return (V v) -> apply(before.apply(v)); in compose()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
D | TCKZoneOffsetTransitionSerialization.java | 99 LocalDateTime before = LocalDateTime.of(2010, 3, 31, 1, 0); in test_serialization_gap() local 101 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_serialization_gap() 107 LocalDateTime before = LocalDateTime.of(2010, 10, 31, 1, 0); in test_serialization_overlap() local 109 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_serialization_overlap()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransition.java | 119 LocalDateTime before = LocalDateTime.of(2010, 3, 31, 1, 0); in test_getters_gap() local 121 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_getters_gap() 124 assertEquals(test.getDateTimeBefore(), before); in test_getters_gap() local 126 assertEquals(test.getInstant(), before.toInstant(OFFSET_0200)); in test_getters_gap() 134 LocalDateTime before = LocalDateTime.of(2010, 10, 31, 1, 0); in test_getters_overlap() local 136 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_getters_overlap() 139 assertEquals(test.getDateTimeBefore(), before); in test_getters_overlap() local 141 assertEquals(test.getInstant(), before.toInstant(OFFSET_0300)); in test_getters_overlap()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashMap.java | 217 LinkedHashMapEntry<K,V> before, after; field in LinkedHashMap.LinkedHashMapEntry 252 p.before = last; in linkNodeLast() 260 LinkedHashMapEntry<K,V> b = dst.before = src.before; in transferLinks() 269 a.before = dst; in transferLinks() 309 (LinkedHashMapEntry<K,V>)e, b = p.before, a = p.after; in afterNodeRemoval() 310 p.before = p.after = null; in afterNodeRemoval() 318 a.before = b; in afterNodeRemoval() 333 (LinkedHashMapEntry<K,V>)e, b = p.before, a = p.after; in afterNodeAccess() 340 a.before = b; in afterNodeAccess() 346 p.before = last; in afterNodeAccess()
|
/libcore/metrictests/memory/ |
D | README | 42 # That normally shows before.hprof and after.hprof files. If it shows an error file, adb shell cat 54 ahat ${LOCAL_DIR}/${RELATIVE_DIR}/before.hprof 57 ahat ${LOCAL_DIR}/${RELATIVE_DIR}/after.hprof --baseline ${LOCAL_DIR}/${RELATIVE_DIR}/before.hprof 83 # That normally shows before.pss.txt and after.pss.txt files. If it shows an error file, adb shell 87 adb shell cat ${DEVICE_EXTERNAL_STORAGE}/${RELATIVE_DIR}/before.pss.txt
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogRecordTest.java | 31 long before = lr.getMillis(); in testGetSetTimeCheck() local 39 assertTrue(after-before>0); in testGetSetTimeCheck()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 496 assertTrue(early.before(late)); in test_before_after() 497 assertFalse(early.before(early)); in test_before_after() 498 assertFalse(late.before(early)); in test_before_after() 508 assertTrue(early.before(late)); in test_before_after() 509 assertFalse(early.before(early)); in test_before_after() 510 assertFalse(late.before(early)); in test_before_after() 520 assertTrue(early.before(late)); in test_before_after() 521 assertFalse(early.before(early)); in test_before_after() 522 assertFalse(late.before(early)); in test_before_after() 532 assertTrue(early.before(late)); in test_before_after() [all …]
|
D | DateTest.java | 135 assertTrue("Older was returned as newer", !d2.before(d1)); in test_beforeLjava_util_Date() 136 assertTrue("Newer was returned as older", d1.before(d2)); in test_beforeLjava_util_Date() 139 d1.before(null); in test_beforeLjava_util_Date()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 226 ZoneOffset before = Ser.readOffset(in); in readExternal() local 228 if (before.equals(after)) { in readExternal() 231 return new ZoneOffsetTransition(epochSecond, before, after); in readExternal()
|
D | ZoneOffsetTransitionRule.java | 353 …ZoneOffset before = (beforeByte == 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTota… in readExternal() local 355 …return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after… in readExternal()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 330 long before = System.currentTimeMillis(); in test_waitJ() local 333 long error = (after - before - delay); in test_waitJ() 340 toLong[count][1] = before; in test_waitJ()
|
D | ProcessManagerTest.java | 186 int before = countLines(process); in testCloseNonStandardFds() local 197 assertEquals(before, after); in testCloseNonStandardFds()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LoggingTestCase.java | 46 public void before() { in before() method in LoggingTestCase
|
D | OpTestCase.java | 257 Consumer<TestData<T, S_IN>> before = LambdaTestHelpers.bEmpty; field in OpTestCase.ExerciseDataStreamBuilder 318 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> before(Consumer<TestData<T, S_IN>> before) { in before() method in OpTestCase.ExerciseDataStreamBuilder 319 this.before = Objects.requireNonNull(before); in before() 377 before.accept(data); in exercise() 392 before.accept(data); in exercise()
|
D | LambdaTestHelpers.java | 137 …on<V, R> compose(Function<? super T, ? extends R> after, Function<? super V, ? extends T> before) { in compose() argument 138 Objects.requireNonNull(before); in compose() 139 return (V v) -> after.apply(before.apply(v)); in compose()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LoggingTestCase.java | 46 public void before() { in before() method in LoggingTestCase
|
D | OpTestCase.java | 258 Consumer<TestData<T, S_IN>> before = LambdaTestHelpers.bEmpty; field in OpTestCase.ExerciseDataStreamBuilder 319 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> before(Consumer<TestData<T, S_IN>> before) { in before() argument 320 this.before = Objects.requireNonNull(before); in before() 378 before.accept(data); in exercise() 393 before.accept(data); in exercise()
|
D | LambdaTestHelpers.java | 138 …on<V, R> compose(Function<? super T, ? extends R> after, Function<? super V, ? extends T> before) { in compose() argument 139 Objects.requireNonNull(before); in compose() 140 return (V v) -> after.apply(before.apply(v)); in compose()
|
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
D | LibcoreHeapMetricsTest.java | 147 private void recordSizeDeltaMetric(String name, Size before, Size after) { in recordSizeDeltaMetric() argument 148 recordBytesMetric(name, after.getSize() - before.getSize()); in recordSizeDeltaMetric()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Security2Test.java | 107 int before = table.get(key); in addOrIncrementTable() local 108 table.put(key, before + 1); in addOrIncrementTable()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificateValidity.java | 272 if (notAfter.before(now)) { in valid()
|