Searched refs:accept (Results 76 - 100 of 206) sorted by relevance

123456789

/libcore/ojluni/src/main/java/java/util/stream/
H A DSliceOps.java200 public void accept(T t) {
204 downstream.accept(t);
309 public void accept(int t) {
313 downstream.accept(t);
418 public void accept(long t) {
422 downstream.accept(t);
527 public void accept(double t) {
531 downstream.accept(t);
H A DNodes.java684 consumer.accept(array[i]);
1220 public void accept(T t) { method in class:Nodes.FixedNodeBuilder
1275 public void accept(T t) { method in class:Nodes.SpinedNodeBuilder
1277 super.accept(t);
1357 consumer.accept(array[i]);
1411 consumer.accept(array[i]);
1465 consumer.accept(array[i]);
1506 public void accept(int i) { method in class:Nodes.IntFixedNodeBuilder
1560 public void accept(long i) { method in class:Nodes.LongFixedNodeBuilder
1614 public void accept(doubl method in class:Nodes.DoubleFixedNodeBuilder
1667 public void accept(int i) { method in class:Nodes.IntSpinedNodeBuilder
1727 public void accept(long i) { method in class:Nodes.LongSpinedNodeBuilder
1787 public void accept(double i) { method in class:Nodes.DoubleSpinedNodeBuilder
1919 public void accept(P_OUT value) { method in class:Nodes.SizedCollectorTask.OfRef
1951 public void accept(int value) { method in class:Nodes.SizedCollectorTask.OfInt
1983 public void accept(long value) { method in class:Nodes.SizedCollectorTask.OfLong
2015 public void accept(double value) { method in class:Nodes.SizedCollectorTask.OfDouble
[all...]
H A DCollectors.java346 * @param downstream a collector which will accept mapped values
355 (r, t) -> downstreamAccumulator.accept(r, mapper.apply(t)),
704 public void accept(T t) {
716 OptionalBox::new, OptionalBox::accept,
717 (a, b) -> { if (b.present) a.accept(b.value); return a; },
909 downstreamAccumulator.accept(container, t);
1065 downstreamAccumulator.accept(resultContainer, t);
1073 downstreamAccumulator.accept(resultContainer, t);
1139 downstreamAccumulator.accept(predicate.test(t) ? result.forTrue : result.forFalse, t);
1493 (r, t) -> r.accept(mappe
[all...]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DDoubleStreamTestDataProvider.java91 isl.accept(i);
107 isl.accept(i);
H A DIntStreamTestDataProvider.java91 isl.accept(i);
112 isl.accept(i);
H A DLambdaTestHelpers.java305 public void accept(Object t) {
306 c.accept((T) t);
310 public void accept(int t) {
311 accept((Object) t);
315 public void accept(long t) {
316 accept((Object) t);
320 public void accept(double t) {
321 accept((Object) t);
H A DLongStreamTestDataProvider.java91 isl.accept(i);
112 isl.accept(i);
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DDoubleStreamTestDataProvider.java96 isl.accept(i);
112 isl.accept(i);
H A DIntStreamTestDataProvider.java95 isl.accept(i);
116 isl.accept(i);
H A DLambdaTestHelpers.java306 public void accept(Object t) {
307 c.accept((T) t);
311 public void accept(int t) {
312 accept((Object) t);
316 public void accept(long t) {
317 accept((Object) t);
321 public void accept(double t) {
322 accept((Object) t);
H A DLongStreamTestDataProvider.java95 isl.accept(i);
116 isl.accept(i);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketImplTest.java91 protected void accept(SocketImpl newSocket) throws IOException { method in class:SocketImplTest.MockSocketImpl
/libcore/luni/src/test/java/libcore/java/net/
H A DOldUnixSocketTest.java47 Socket worker = pingServer.accept();
H A DServerSocketTest.java36 // On Unix, the receive timeout is inherited by the result of accept(2).
43 result[0] = ss.accept();
H A DOldSocketTest.java596 Socket servSock = serverSocket.accept();
631 Socket servSock = serverSocket.accept();
734 Socket servSock = serverSocket.accept();
747 servSock = serverSocket.accept();
768 Socket servSock = serverSocket.accept();
780 servSock = serverSocket.accept();
791 Socket servSock = serverSocket.accept();
804 // ServerSocket.accept()
845 Socket servSock = serverSocket.accept();
1018 Socket servSock = serverSocket.accept();
2066 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketTest.MockSocketImpl
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldServerSocketChannelTest.java87 serverChannel.accept();
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
H A DNodeBuilderTest.java76 nb.accept(i);
121 nb.accept((int) i);
171 nb.accept((long) i);
221 nb.accept((double) i);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java69 serverSocket.accept().close();
91 Socket socket = serverSocket.accept();
102 socket = serverSocket.accept();
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DUnixAsynchronousServerSocketChannelImpl.java54 // flag to indicate an accept is outstanding
60 // used to ensure that the context for an asynchronous accept is visible
64 // pending accept
108 // if there is a pending accept then complete it
114 return; // no pending accept
161 // attempt to accept connection
167 int n = accept(this.fd, newfd, isaa);
198 // copy field befores accept is re-renabled
221 * Completes the accept by creating the AsynchronousSocketChannel for
287 // cancel was invoked with pending accept s
363 private int accept(FileDescriptor ssfd, FileDescriptor newfd, method in class:UnixAsynchronousServerSocketChannelImpl
[all...]
H A DServerSocketChannelImpl.java232 public SocketChannel accept() throws IOException { method in class:ServerSocketChannelImpl
250 n = accept(this.fd, newfd, isaa);
418 private int accept(FileDescriptor ssfd, FileDescriptor newfd, method in class:ServerSocketChannelImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectorTest.java427 ssc.accept().close();
486 client = ssc.accept();
524 ssc.accept().close();
546 client = ssc.accept();
552 client2 = ssc.accept();
617 client = ssc.accept();
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java770 consumer.accept(ThreadLocalRandom.current().internalNextInt(origin, bound));
785 consumer.accept(rng.internalNextInt(o, b));
825 consumer.accept(ThreadLocalRandom.current().internalNextLong(origin, bound));
840 consumer.accept(rng.internalNextLong(o, b));
881 consumer.accept(ThreadLocalRandom.current().internalNextDouble(origin, bound));
896 consumer.accept(rng.internalNextDouble(o, b));
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DSortedOpTest.java226 Arrays.stream(a).sorted(), (s, c) -> s.peek(c::accept), i);
228 (unknownSizeIntStream(a).sorted(), (s, c) -> s.peek(c::accept), i);
274 Arrays.stream(a).sorted(), (s, c) -> s.peek(c::accept), i);
276 (unknownSizeLongStream(a).sorted(), (s, c) -> s.peek(c::accept), i);
322 Arrays.stream(a).sorted(), (s, c) -> s.peek(c::accept), i);
324 (unknownSizeDoubleStream(a).sorted(), (s, c) -> s.peek(c::accept), i);
/libcore/ojluni/src/main/java/sun/security/util/
H A DCache.java114 * accept a visitor
116 public abstract void accept(CacheVisitor<K,V> visitor); method in class:Cache
239 public void accept(CacheVisitor<K,V> visitor) { method in class:NullCache
442 public synchronized void accept(CacheVisitor<K,V> visitor) { method in class:MemoryCache
/libcore/dalvik/src/test/java/libcore/dalvik/system/
H A DCloseGuardTest.java136 CloseGuardSupport.getFinalizerChecker().accept(owner, expectedCount);

Completed in 6958 milliseconds

123456789