Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 47) sorted by relevance

12

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTeeOpTest.java75 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/
DLongUnaryOperator.java64 default LongUnaryOperator compose(LongUnaryOperator before) { in compose() argument
65 Objects.requireNonNull(before); in compose()
66 return (long v) -> applyAsLong(before.applyAsLong(v)); in compose()
DIntUnaryOperator.java64 default IntUnaryOperator compose(IntUnaryOperator before) { in compose() argument
65 Objects.requireNonNull(before); in compose()
66 return (int v) -> applyAsInt(before.applyAsInt(v)); in compose()
DDoubleUnaryOperator.java64 default DoubleUnaryOperator compose(DoubleUnaryOperator before) { in compose() argument
65 Objects.requireNonNull(before); in compose()
66 return (double v) -> applyAsDouble(before.applyAsDouble(v)); in compose()
DFunction.java66 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/
DTCKZoneOffsetTransitionSerialization.java99 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/
DTCKZoneOffsetTransition.java119 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/
DLinkedHashMap.java217 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/ojluni/src/test/java/util/concurrent/tck/
DAtomicBooleanTest.java142 for (boolean before : booleans) in testGetAndSet()
144 ai.set(before); in testGetAndSet()
145 assertEquals(before, ai.getAndSet(after)); in testGetAndSet()
/libcore/metrictests/memory/
DREADME42 # 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/
DOldLogRecordTest.java31 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/
DCalendarTest.java496 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 …]
DDateTest.java135 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/
DZoneOffsetTransition.java226 ZoneOffset before = Ser.readOffset(in); in readExternal() local
228 if (before.equals(after)) { in readExternal()
231 return new ZoneOffsetTransition(epochSecond, before, after); in readExternal()
DZoneOffsetTransitionRule.java353 …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/
DObjectTest.java330 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()
DProcessManagerTest.java186 int before = countLines(process); in testCloseNonStandardFds() local
197 assertEquals(before, after); in testCloseNonStandardFds()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DLoggingTestCase.java46 public void before() { in before() method in LoggingTestCase
DOpTestCase.java257 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() argument
319 this.before = Objects.requireNonNull(before); in before()
377 before.accept(data); in exercise()
392 before.accept(data); in exercise()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLoggingTestCase.java46 public void before() { in before() method in LoggingTestCase
DOpTestCase.java258 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() method in OpTestCase.ExerciseDataStreamBuilder
320 this.before = Objects.requireNonNull(before); in before()
378 before.accept(data); in exercise()
393 before.accept(data); in exercise()
DLambdaTestHelpers.java138 …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/
DLibcoreHeapMetricsTest.java147 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/
DSecurity2Test.java107 int before = table.get(key); in addOrIncrementTable() local
108 table.put(key, before + 1); in addOrIncrementTable()
/libcore/ojluni/src/main/java/sun/security/x509/
DCertificateValidity.java272 if (notAfter.before(now)) { in valid()

12