Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java30 public static final int SO_RCVBUF = 3; field in OldSocketTestCase
61 case SO_RCVBUF: in getOptionIsSupported()
136 case SO_RCVBUF: in getSocketOptionString()
DOldSocketTest.java344 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_getReceiveBufferSize()
346 handleException(e, SO_RCVBUF); in test_getReceiveBufferSize()
511 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_RCVBUF); in test_setReceiveBufferSizeI()
513 handleException(e, SO_RCVBUF); in test_setReceiveBufferSizeI()
/libcore/ojluni/src/main/java/java/net/
DSocketOptions.java294 public final static int SO_RCVBUF = 0x1002; field
DStandardSocketOptions.java155 public static final SocketOption<Integer> SO_RCVBUF = field in StandardSocketOptions
DAbstractPlainDatagramSocketImpl.java294 case SO_RCVBUF: in setOption()
349 case SO_RCVBUF: in getOption()
DServerSocket.java829 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
850 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DAbstractPlainSocketImpl.java240 case SO_RCVBUF: in setOption()
301 case SO_RCVBUF: in getOption()
DDatagramSocket.java1008 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
1024 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DSocket.java1233 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
1252 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
/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()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java201 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
209 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
DSocketOptionRegistry.java65 … map.put(new RegistryKey(StandardSocketOptions.SO_RCVBUF, Net.UNSPEC), new OptionKey(1, 8)); in options()
DDatagramSocketAdaptor.java325 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
329 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DSocketAdaptor.java406 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
410 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DServerSocketChannelImpl.java178 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
DNet.java344 if (name == StandardSocketOptions.SO_RCVBUF ||
DSocketChannelImpl.java235 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
DDatagramChannelImpl.java312 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
/libcore/ojluni/src/main/native/
Dnet_util_md.c924 { java_net_SocketOptions_SO_RCVBUF, SOL_SOCKET, SO_RCVBUF }, in NET_MapSocketOption()
1023 || (opt == SO_RCVBUF))) { in NET_GetSockOpt()
1122 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt()
1181 if (level == SOL_SOCKET && opt == SO_RCVBUF) { in NET_SetSockOpt()
1196 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt()
1224 if (opt == SO_RCVBUF && *bufsize < 1024) { in NET_SetSockOpt()
DInet4AddressImpl.c88 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in ping4()
DInet6AddressImpl.c176 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in ping6()
DPlainDatagramSocketImpl.c1009 if (JVM_SetSockOpt(fd, SOL_SOCKET, SO_RCVBUF, in PlainDatagramSocketImpl_datagramSocketCreate()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java293 case SocketOptions.SO_RCVBUF: in getSocketOptionErrno()
294 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_RCVBUF); in getSocketOptionErrno()
371 case SocketOptions.SO_RCVBUF: in setSocketOptionErrno()
372 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_RCVBUF, (Integer) value); in setSocketOptionErrno()
/libcore/luni/src/main/java/android/system/
DOsConstants.java454 public static final int SO_RCVBUF = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp510 initConstant(env, c, "SO_RCVBUF", SO_RCVBUF); in OsConstants_initConstants()