Home
last modified time | relevance | path

Searched refs:SO_RCVBUF (Results 1 – 25 of 27) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java35 public static final int SO_RCVBUF = 3; field in OldSocketTestCase
66 case SO_RCVBUF: in getOptionIsSupported()
141 case SO_RCVBUF: in getSocketOptionString()
DOldSocketTest.java348 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_getReceiveBufferSize()
350 handleException(e, SO_RCVBUF); in test_getReceiveBufferSize()
514 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_setReceiveBufferSizeI()
516 handleException(e, SO_RCVBUF); in test_setReceiveBufferSizeI()
/libcore/ojluni/src/main/java/java/net/
DDatagramSocketImpl.java259 } else if (name == StandardSocketOptions.SO_RCVBUF) { in setOption()
260 setOption(SocketOptions.SO_RCVBUF, value); in setOption()
285 } else if (name == StandardSocketOptions.SO_RCVBUF) { in getOption()
286 return (T) getOption(SocketOptions.SO_RCVBUF); in getOption()
DSocketImpl.java373 } else if (name == StandardSocketOptions.SO_RCVBUF) { in setOption()
374 setOption(SocketOptions.SO_RCVBUF, value); in setOption()
393 } else if (name == StandardSocketOptions.SO_RCVBUF) { in getOption()
394 return (T)getOption(SocketOptions.SO_RCVBUF); in getOption()
DSocketOptions.java296 @Native public final static int SO_RCVBUF = 0x1002; field
DStandardSocketOptions.java155 public static final SocketOption<Integer> SO_RCVBUF = field in StandardSocketOptions
DAbstractPlainDatagramSocketImpl.java313 case SO_RCVBUF: in setOption()
370 case SO_RCVBUF: in getOption()
DServerSocket.java851 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
873 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DDatagramSocket.java1057 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
1073 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DSocket.java1310 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
1330 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
/libcore/ojluni/src/main/java/jdk/net/
DSockets.java358 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets()
372 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets()
382 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets()
395 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java183 sc.setOption(StandardSocketOptions.SO_RCVBUF, 1100); in test_setOption()
184 assertTrue(1100 <= sc.getOption(StandardSocketOptions.SO_RCVBUF)); in test_setOption()
188 sc.setOption(StandardSocketOptions.SO_RCVBUF, 2000); in test_setOption()
DAsynchronousServerSocketChannelTest.java209 assc.setOption(StandardSocketOptions.SO_RCVBUF, 5000); in test_options()
210 assertEquals(5000, (long)assc.getOption(StandardSocketOptions.SO_RCVBUF)); in test_options()
348 assertTrue(supportedOptions.contains(StandardSocketOptions.SO_RCVBUF)); in test_supportedOptions()
DAsynchronousSocketChannelTest.java842 asc.setOption(StandardSocketOptions.SO_RCVBUF, 5000); in test_options()
843 assertEquals(5000, (long) asc.getOption(StandardSocketOptions.SO_RCVBUF)); in test_options()
874 assertTrue(supportedOptions.contains(StandardSocketOptions.SO_RCVBUF)); in test_supportedOptions()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java190 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
198 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
DSocketAdaptor.java377 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
381 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DDatagramSocketAdaptor.java316 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
320 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DSocketOptionRegistry.java65 … map.put(new RegistryKey(StandardSocketOptions.SO_RCVBUF, Net.UNSPEC), new OptionKey(1, 8)); in options()
DAsynchronousServerSocketChannelImpl.java232 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
DServerSocketChannelImpl.java186 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
DNet.java303 if (name == StandardSocketOptions.SO_RCVBUF ||
DAsynchronousSocketChannelImpl.java508 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
DSocketChannelImpl.java275 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java334 case SocketOptions.SO_RCVBUF: in getSocketOptionErrno()
335 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_RCVBUF); in getSocketOptionErrno()
429 case SocketOptions.SO_RCVBUF: in setSocketOptionErrno()
430 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_RCVBUF, (Integer) value); in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOsConstants.java481 public static final int SO_RCVBUF = placeholder(); field in OsConstants

12