Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/javax/net/
DServerSocketFactory.java154 createServerSocket(int port, int backlog) in createServerSocket() argument
192 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() argument
221 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() argument
224 return new ServerSocket(port, backlog); in createServerSocket()
228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() argument
231 return new ServerSocket(port, backlog, ifAddress); in createServerSocket()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java180 public ServerSocket(int port, int backlog) throws IOException { in ServerSocket() argument
181 this(port, backlog, null); in ServerSocket()
229 public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { in ServerSocket() argument
234 if (backlog < 1) in ServerSocket()
235 backlog = 50; in ServerSocket()
237 bind(new InetSocketAddress(bindAddr, port), backlog); in ServerSocket()
359 public void bind(SocketAddress endpoint, int backlog) throws IOException { in bind() argument
371 if (backlog < 1) in bind()
372 backlog = 50; in bind()
378 getImpl().listen(backlog); in bind()
DSocketImpl.java133 protected abstract void listen(int backlog) throws IOException; in listen() argument
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocket.java134 protected SSLServerSocket(int port, int backlog) in SSLServerSocket() argument
136 { super(port, backlog); } in SSLServerSocket()
179 protected SSLServerSocket(int port, int backlog, InetAddress address) in SSLServerSocket() argument
181 { super(port, backlog, address); } in SSLServerSocket()
DSSLServerSocketFactory.java220 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() argument
228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() argument
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java39 public ServerSocket(int port, int backlog) throws java.io.IOException { throw new RuntimeException(… in ServerSocket() argument
41 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) throws java.io.IOExceptio… in ServerSocket() argument
45 public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException { throw n… in bind() argument
DSocketImpl.annotated.java47 protected abstract void listen(int backlog) throws java.io.IOException; in listen() argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DFakeSSLServerSocketFactory.java48 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket() argument
53 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() argument
/libcore/luni/src/test/java/libcore/javax/net/
DServerSocketFactoryTest.java97 List<Socket> backlog = new ArrayList<Socket>(); in assertBacklog() local
103 backlog.add(socket); in assertBacklog()
110 for (Socket socket : backlog) { in assertBacklog()
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java45 public ServerSocket(int port, int backlog) throws java.io.IOException { in ServerSocket() argument
49 public ServerSocket(int port, int backlog, java.net.InetAddress bindAddr) in ServerSocket() argument
74 public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException { in bind() argument
DSocketImpl.java50 protected abstract void listen(int backlog) throws java.io.IOException; in listen() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DServerSocketFactoryTest.java119 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() argument
125 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousServerSocketChannelImpl.java147 public final AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) in bind() argument
163 Net.listen(fd, backlog < 1 ? 50 : backlog); in bind()
DServerSocketAdaptor.java70 public void bind(SocketAddress local, int backlog) throws IOException { in bind() argument
74 ssc.bind(local, backlog); in bind()
DServerSocketChannelImpl.java211 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { in bind() argument
224 Net.listen(fd, backlog < 1 ? 50 : backlog); in bind()
DFileDescriptorHolderSocketImpl.java82 protected void listen(int backlog) throws IOException { in listen() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLServerSocketTest.java56 public mySSLServerSocket(int port, int backlog) throws IOException{ in mySSLServerSocket() argument
57 super(port, backlog); in mySSLServerSocket()
60 public mySSLServerSocket(int port, int backlog, InetAddress address) throws IOException{ in mySSLServerSocket() argument
61 super(port, backlog, address); in mySSLServerSocket()
/libcore/ojluni/src/main/java/java/nio/channels/
DServerSocketChannel.java198 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) in bind() argument
DAsynchronousServerSocketChannel.java231 public abstract AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) in bind() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockServerSocketChannel.java60 public ServerSocketChannel bind(SocketAddress local, int backlog) { in bind() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java126 protected void listen(int backlog) throws IOException { in listen() argument
/libcore/expectations/
Dvirtualdeviceknownfailures.txt41 description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
/libcore/ojluni/src/main/native/
DNet.c333 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen() argument
335 if (listen(fdval(env, fdo), backlog) < 0) in Java_sun_nio_ch_Net_listen()
/libcore/luni/src/main/java/android/system/
DOs.java347 …ic static void listen(FileDescriptor fd, int backlog) throws ErrnoException { Libcore.os.listen(fd… in listen() argument
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java148 …public void listen(FileDescriptor fd, int backlog) throws ErrnoException { os.listen(fd, backlog);… in listen() argument

12