/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 | 375 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_SNDBUF); in test_getSendBufferSize() 377 handleException(e, SO_SNDBUF); in test_getSendBufferSize() 494 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_SNDBUF); in test_setSendBufferSizeI() 496 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 | 375 } else if (name == StandardSocketOptions.SO_SNDBUF) { in setOption() 376 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 395 } else if (name == StandardSocketOptions.SO_SNDBUF) { in getOption() 396 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 | 316 case SO_SNDBUF: in setOption() 373 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 | 1236 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize() 1256 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 358 set.add(StandardSocketOptions.SO_SNDBUF); in initOptionSets() 382 set.add(StandardSocketOptions.SO_SNDBUF); in initOptionSets() 395 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 | DatagramSocketAdaptor.java | 306 setIntOption(StandardSocketOptions.SO_SNDBUF, size); in setSendBufferSize() 310 return getIntOption(StandardSocketOptions.SO_SNDBUF); in getSendBufferSize()
|
D | SocketAdaptor.java | 368 setIntOption(StandardSocketOptions.SO_SNDBUF, size); in setSendBufferSize() 372 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 | 274 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
D | DatagramChannelImpl.java | 334 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 414 case SocketOptions.SO_SNDBUF: in getSocketOptionErrno() 415 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_SNDBUF); in getSocketOptionErrno() 513 case SocketOptions.SO_SNDBUF: in setSocketOptionErrno() 514 Libcore.os.setsockoptInt(fd, SOL_SOCKET, SO_SNDBUF, (Integer) value); in setSocketOptionErrno()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 917 { java_net_SocketOptions_SO_SNDBUF, SOL_SOCKET, SO_SNDBUF }, 1004 if ((level == SOL_SOCKET) && ((opt == SO_SNDBUF) in NET_GetSockOpt() 1108 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1182 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 718 public static final int SO_SNDBUF = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 559 initConstant(env, c, "SO_SNDBUF", SO_SNDBUF); in OsConstants_initConstants()
|
/libcore/api/ |
D | current.txt | 499 field public static final int SO_SNDBUF; 5465 field public static final int SO_SNDBUF = 4097; // 0x1001 5496 field public static final java.net.SocketOption<java.lang.Integer> SO_SNDBUF;
|