/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 39 public static final int SO_SNDBUF = 5; field in OldSocketTestCase 67 case SO_SNDBUF: in getOptionIsSupported() 145 case SO_SNDBUF: in getSocketOptionString()
|
D | OldSocketTest.java | 372 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_SNDBUF); in test_getSendBufferSize() 374 handleException(e, SO_SNDBUF); in test_getSendBufferSize() 491 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_SNDBUF); in test_setSendBufferSizeI() 493 handleException(e, SO_SNDBUF); in test_setSendBufferSizeI()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 257 if (name == StandardSocketOptions.SO_SNDBUF) { in setOption() 258 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 283 if (name == StandardSocketOptions.SO_SNDBUF) { in getOption() 284 return (T) getOption(SocketOptions.SO_SNDBUF); in getOption()
|
D | SocketImpl.java | 369 } else if (name == StandardSocketOptions.SO_SNDBUF) { in setOption() 370 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 389 } else if (name == StandardSocketOptions.SO_SNDBUF) { in getOption() 390 return (T)getOption(SocketOptions.SO_SNDBUF); in getOption()
|
D | SocketOptions.java | 278 @Native public final static int SO_SNDBUF = 0x1001; field
|
D | StandardSocketOptions.java | 115 public static final SocketOption<Integer> SO_SNDBUF = field in StandardSocketOptions
|
D | AbstractPlainDatagramSocketImpl.java | 293 case SO_SNDBUF: in setOption() 348 case SO_SNDBUF: in getOption()
|
D | DatagramSocket.java | 999 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize() 1015 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
|
D | Socket.java | 1231 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize() 1251 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 357 set.add(StandardSocketOptions.SO_SNDBUF); in initOptionSets() 381 set.add(StandardSocketOptions.SO_SNDBUF); in initOptionSets() 394 set.add(StandardSocketOptions.SO_SNDBUF); in initOptionSets()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | DatagramChannelTest.java | 173 dc.setOption(StandardSocketOptions.SO_SNDBUF, 4096); in test_setOption() 176 assertEquals(4096, (int) dc.getOption(StandardSocketOptions.SO_SNDBUF)); in test_setOption() 182 dc.setOption(StandardSocketOptions.SO_SNDBUF, 4096); in test_setOption()
|
D | AsynchronousSocketChannelTest.java | 839 asc.setOption(StandardSocketOptions.SO_SNDBUF, 5000); in test_options() 840 assertEquals(5000, (long) asc.getOption(StandardSocketOptions.SO_SNDBUF)); in test_options() 875 assertTrue(supportedOptions.contains(StandardSocketOptions.SO_SNDBUF)); in test_supportedOptions()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 366 setIntOption(StandardSocketOptions.SO_SNDBUF, size); in setSendBufferSize() 370 return getIntOption(StandardSocketOptions.SO_SNDBUF); in getSendBufferSize()
|
D | DatagramSocketAdaptor.java | 306 setIntOption(StandardSocketOptions.SO_SNDBUF, size); in setSendBufferSize() 310 return getIntOption(StandardSocketOptions.SO_SNDBUF); in getSendBufferSize()
|
D | SocketOptionRegistry.java | 64 … map.put(new RegistryKey(StandardSocketOptions.SO_SNDBUF, Net.UNSPEC), new OptionKey(1, 7)); in options()
|
D | Net.java | 304 name == StandardSocketOptions.SO_SNDBUF)
|
D | AsynchronousSocketChannelImpl.java | 507 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
D | SocketChannelImpl.java | 272 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
D | DatagramChannelImpl.java | 338 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 337 case SocketOptions.SO_SNDBUF: in getSocketOptionErrno() 338 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_SNDBUF); in getSocketOptionErrno() 434 case SocketOptions.SO_SNDBUF: in setSocketOptionErrno() 435 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_SNDBUF, (Integer) value); in setSocketOptionErrno()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 918 { java_net_SocketOptions_SO_SNDBUF, SOL_SOCKET, SO_SNDBUF }, 1005 if ((level == SOL_SOCKET) && ((opt == SO_SNDBUF) in NET_GetSockOpt() 1109 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1183 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 484 public static final int SO_SNDBUF = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 542 initConstant(env, c, "SO_SNDBUF", SO_SNDBUF); in OsConstants_initConstants()
|