Searched defs:accept (Results 26 - 50 of 53) sorted by relevance

123

/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/net/
H A DSocketImplTest.java91 protected void accept(SocketImpl newSocket) throws IOException { method in class:SocketImplTest.MockSocketImpl
H A DServerSocketTest.java137 sconn = s.accept();
171 sconn = s.accept();
172 assertNotNull("Was unable to accept connection", sconn);
180 * java.net.ServerSocket#accept()
187 sconn = s.accept();
207 ss.accept();
214 Thread thread = new Thread(runnable, "ServerSocket.accept");
230 fail("accept interrupted");
233 fail("accept call did not exit");
242 ss2.accept();
944 protected void accept(SocketImpl arg0) throws IOException { method in class:ServerSocketTest.MockSocketImpl
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldServerSocketTest.java79 Socket servSock = theSocket.accept();
91 sconn = s.accept();
143 sconn = s.accept();
144 assertNotNull("Was unable to accept connection", sconn);
153 sconn = s.accept();
154 assertNotNull("Was unable to accept connection", sconn);
219 ss.accept();
349 protected void accept(SocketImpl arg0) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
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/ojluni/src/main/java/java/net/
H A DServerSocket.java188 * will only accept connect requests to one of its addresses.
509 public Socket accept() throws IOException { method in class:ServerSocket
520 * Subclasses of ServerSocket use this method to override accept()
547 getImpl().accept(si);
572 * Any thread currently blocked in {@link #accept()} will throw
638 * timeout, a call to accept() for this ServerSocket
815 * is returned by {@link #accept()}.
H A DSocketImpl.java142 protected abstract void accept(SocketImpl s) throws IOException; method in class:SocketImpl
H A DAbstractPlainSocketImpl.java446 protected void accept(SocketImpl s) throws IOException { method in class:AbstractPlainSocketImpl
/libcore/ojluni/src/main/java/java/util/
H A DSpliterators.java673 public void accept(T t) {
718 public void accept(int t) {
763 public void accept(long t) {
808 public void accept(double t) {
948 do { action.accept((T)a[i]); } while (++i < hi);
958 action.accept(e);
1032 do { action.accept(a[i]); } while (++i < hi);
1041 action.accept(array[index++]);
1115 do { action.accept(a[i]); } while (++i < hi);
1124 action.accept(arra
1284 public void accept(T value) { method in class:Spliterators.AbstractSpliterator.HoldingConsumer
1407 public void accept(int value) { method in class:Spliterators.AbstractIntSpliterator.HoldingIntConsumer
1517 public void accept(long value) { method in class:Spliterators.AbstractLongSpliterator.HoldingLongConsumer
1627 public void accept(double value) { method in class:Spliterators.AbstractDoubleSpliterator.HoldingDoubleConsumer
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DDoubleStream.java424 * accumulator.accept(result, element);
858 void accept(double t); method in interface:DoubleStream.Builder
866 * accept(t)
876 accept(t);
H A DSortedOps.java287 * Sorting sinks first accept all elements, buffering then into an array
352 downstream.accept(array[i]);
356 downstream.accept(array[i]);
363 public void accept(T t) { method in class:SortedOps.SizedRefSortingSink
390 list.forEach(downstream::accept);
395 downstream.accept(t);
403 public void accept(T t) { method in class:SortedOps.RefSortingSink
449 downstream.accept(array[i]);
453 downstream.accept(array[i]);
460 public void accept(in method in class:SortedOps.SizedIntSortingSink
501 public void accept(int t) { method in class:SortedOps.IntSortingSink
558 public void accept(long t) { method in class:SortedOps.SizedLongSortingSink
599 public void accept(long t) { method in class:SortedOps.LongSortingSink
656 public void accept(double t) { method in class:SortedOps.SizedDoubleSortingSink
697 public void accept(double t) { method in class:SortedOps.DoubleSortingSink
[all...]
H A DSpinedBuffer.java247 consumer.accept(t);
251 consumer.accept(curChunk[i]);
255 public void accept(E e) { method in class:SpinedBuffer
333 consumer.accept(splChunk[splElementIndex++]);
357 consumer.accept(chunk[i]);
365 consumer.accept(chunk[i]);
766 consumer.accept(array[i]);
770 public void accept(int i) { method in class:SpinedBuffer.OfInt
808 consumer.accept(array[index]);
880 consumer.accept(arra
884 public void accept(long i) { method in class:SpinedBuffer.OfLong
1000 public void accept(double i) { method in class:SpinedBuffer.OfDouble
[all...]
H A DStream.java101 * <p>Most stream operations accept parameters that describe user-specified
707 * accumulator.accept(result, element);
1108 void accept(T t); method in interface:Stream.Builder
1116 * accept(t)
1126 accept(t);
H A DStreams.java89 consumer.accept(i);
94 consumer.accept(i);
110 consumer.accept(i++);
114 consumer.accept(i);
214 consumer.accept(i);
219 consumer.accept(i);
235 consumer.accept(i++);
239 consumer.accept(i);
358 public void accept(T t) { method in class:Streams.StreamBuilderImpl
366 buffer.accept(firs
454 public void accept(int t) { method in class:Streams.IntStreamBuilderImpl
545 public void accept(long t) { method in class:Streams.LongStreamBuilderImpl
636 public void accept(double t) { method in class:Streams.DoubleStreamBuilderImpl
[all...]
H A DIntStream.java419 * accumulator.accept(result, element);
878 void accept(int t); method in interface:IntStream.Builder
886 * accept(t)
896 accept(t);
H A DLongStream.java423 * accumulator.accept(result, element);
893 void accept(long t); method in interface:LongStream.Builder
901 * accept(t)
911 accept(t);
H A DStreamSpliterators.java293 bufferSink = ph.wrapSink(b::accept);
302 consumer.accept(buffer.get(nextToConsume));
312 ph.wrapAndCopyInto((Sink<P_OUT>) consumer::accept, spliterator);
346 bufferSink = ph.wrapSink((Sink.OfInt) b::accept);
360 consumer.accept(buffer.get(nextToConsume));
370 ph.wrapAndCopyInto((Sink.OfInt) consumer::accept, spliterator);
404 bufferSink = ph.wrapSink((Sink.OfLong) b::accept);
418 consumer.accept(buffer.get(nextToConsume));
428 ph.wrapAndCopyInto((Sink.OfLong) consumer::accept, spliterator);
462 bufferSink = ph.wrapSink((Sink.OfDouble) b::accept);
1004 public final void accept(T t) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfRef
1144 public void accept(int value) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfInt
1179 public void accept(long value) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfLong
1214 public void accept(double value) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfDouble
1263 public void accept(T t) { method in class:StreamSpliterators.DistinctSpliterator
1460 public void accept(T t) { method in class:StreamSpliterators.ArrayBuffer.OfRef
1493 public void accept(int t) { method in class:StreamSpliterators.ArrayBuffer.OfInt
1514 public void accept(long t) { method in class:StreamSpliterators.ArrayBuffer.OfLong
1535 public void accept(double t) { method in class:StreamSpliterators.ArrayBuffer.OfDouble
[all...]
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...]
/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/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java57 @Override public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException { method in class:BlockGuardOs
59 final FileDescriptor acceptFd = os.accept(fd, peerAddress);
H A DForwardingOs.java57 public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException { return os.accept(fd, peerAddress); } method in class:ForwardingOs
/libcore/ojluni/src/main/java/java/nio/file/
H A DFiles.java418 public boolean accept(Path entry) { return true; } method in class:Files.AcceptAllFilter
521 public boolean accept(Path entry) {
558 * public boolean accept(Path file) throws IOException {
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java115 checker.accept(cause);
413 public void accept(Integer x) { method in class:CompletableFutureTest.NoopConsumer
441 public void accept(Integer x, Integer y) { method in class:CompletableFutureTest.SubtractAction
478 public void accept(Integer x) { method in class:CompletableFutureTest.FailingConsumer
489 public void accept(Integer x, Integer y) { method in class:CompletableFutureTest.FailingBiConsumer
/libcore/luni/src/main/java/android/system/
H A DOs.java39 * See <a href="http://man7.org/linux/man-pages/man2/accept.2.html">accept(2)</a>.
41 public static FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { return Libcore.os.accept(fd, peerAddress); } method in class:Os
47 public static FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException { return Libcore.os.accept(fd, peerAddress); } method in class:Os

Completed in 565 milliseconds

123