/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 35 public static final int SO_RCVBUF = 3; field in OldSocketTestCase 66 case SO_RCVBUF: in getOptionIsSupported() 141 case SO_RCVBUF: in getSocketOptionString()
|
D | OldSocketTest.java | 348 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/ |
D | DatagramSocketImpl.java | 259 } 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()
|
D | SocketImpl.java | 373 } 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()
|
D | SocketOptions.java | 296 @Native public final static int SO_RCVBUF = 0x1002; field
|
D | StandardSocketOptions.java | 155 public static final SocketOption<Integer> SO_RCVBUF = field in StandardSocketOptions
|
D | AbstractPlainDatagramSocketImpl.java | 315 case SO_RCVBUF: in setOption() 372 case SO_RCVBUF: in getOption()
|
D | ServerSocket.java | 851 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 873 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | DatagramSocket.java | 1057 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 1073 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | Socket.java | 1310 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/ |
D | Sockets.java | 359 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets() 373 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets() 383 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets() 396 set.add(StandardSocketOptions.SO_RCVBUF); in initOptionSets()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 183 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()
|
D | AsynchronousServerSocketChannelTest.java | 209 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()
|
D | AsynchronousSocketChannelTest.java | 842 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/ |
D | ServerSocketAdaptor.java | 190 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 198 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
|
D | DatagramSocketAdaptor.java | 316 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 320 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | SocketAdaptor.java | 379 setIntOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize() 383 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | SocketOptionRegistry.java | 65 … map.put(new RegistryKey(StandardSocketOptions.SO_RCVBUF, Net.UNSPEC), new OptionKey(1, 8)); in options()
|
D | AsynchronousServerSocketChannelImpl.java | 232 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
D | ServerSocketChannelImpl.java | 186 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
D | AsynchronousSocketChannelImpl.java | 508 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
D | Net.java | 303 if (name == StandardSocketOptions.SO_RCVBUF ||
|
D | SocketChannelImpl.java | 275 set.add(StandardSocketOptions.SO_RCVBUF); in defaultOptions()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 918 { java_net_SocketOptions_SO_RCVBUF, SOL_SOCKET, SO_RCVBUF }, 1005 || (opt == SO_RCVBUF))) { in NET_GetSockOpt() 1108 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1167 if (level == SOL_SOCKET && opt == SO_RCVBUF) { in NET_SetSockOpt() 1182 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1210 if (opt == SO_RCVBUF && *bufsize < 1024) { in NET_SetSockOpt()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 344 case SocketOptions.SO_RCVBUF: in getSocketOptionErrno() 345 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_RCVBUF); in getSocketOptionErrno() 439 case SocketOptions.SO_RCVBUF: in setSocketOptionErrno() 440 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_RCVBUF, (Integer) value); in setSocketOptionErrno()
|