/libcore/ojluni/src/test/java/net/SocketOptions/ |
D | MinimumRcvBufferSize.java | 53 channel1.setOption(StandardSocketOptions.SO_SNDBUF, 0); in testBufferSize() 54 before = channel1.getOption(StandardSocketOptions.SO_SNDBUF); in testBufferSize() 55 channel1.setOption(StandardSocketOptions.SO_SNDBUF, Integer.MAX_VALUE); in testBufferSize() 56 after = channel1.getOption(StandardSocketOptions.SO_SNDBUF); in testBufferSize()
|
D | OptionsTest.java | 60 TestClass.create(StandardSocketOptions.SO_SNDBUF, Integer.valueOf(10 * 100)), 76 TestClass.create(StandardSocketOptions.SO_SNDBUF, Integer.valueOf(10 * 100)), 190 } else if (option.equals(StandardSocketOptions.SO_SNDBUF)) { in legacyGetOption() 228 if (option.equals(StandardSocketOptions.SO_SNDBUF)) { in legacyGetOption() 247 if (option.equals(StandardSocketOptions.SO_SNDBUF)) { in legacyGetOption()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 282 if (name == StandardSocketOptions.SO_SNDBUF) { in setOption() 283 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 327 if (name == StandardSocketOptions.SO_SNDBUF) { in getOption() 328 return (T) getOption(SocketOptions.SO_SNDBUF); in getOption() 358 dgSocketOptions = Set.of(StandardSocketOptions.SO_SNDBUF, 363 mcSocketOptions = Set.of(StandardSocketOptions.SO_SNDBUF,
|
D | SocketImpl.java | 393 } else if (name == StandardSocketOptions.SO_SNDBUF && in setOption() 395 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 436 } else if (name == StandardSocketOptions.SO_SNDBUF && in getOption() 438 return (T)getOption(SocketOptions.SO_SNDBUF); in getOption() 465 StandardSocketOptions.SO_SNDBUF,
|
D | SocketOptions.java | 290 @Native public static final 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 | 1001 getImpl().setOption(SocketOptions.SO_SNDBUF, size); in setSendBufferSize() 1017 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
|
D | Socket.java | 1259 getImpl().setOption(SocketOptions.SO_SNDBUF, size); in setSendBufferSize() 1279 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
|
/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 | SocketTest.java | 302 setAndAssertOption(impl, StandardSocketOptions.SO_SNDBUF, in test_SocketOptions_setOption() 303 SocketOptions.SO_SNDBUF, 1); in test_SocketOptions_setOption()
|
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/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 67 setAndAssertOption(impl, StandardSocketOptions.SO_SNDBUF, in testSetOption() 68 SocketOptions.SO_SNDBUF, 1); in testSetOption()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | DatagramChannelTest.java | 191 dc.setOption(StandardSocketOptions.SO_SNDBUF, 4096); in test_setOption() 194 assertEquals(4096, (int) dc.getOption(StandardSocketOptions.SO_SNDBUF)); in test_setOption() 200 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 | AsynchronousSocketChannelImpl.java | 507 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
D | Net.java | 304 name == StandardSocketOptions.SO_SNDBUF)
|
D | SocketChannelImpl.java | 274 set.add(StandardSocketOptions.SO_SNDBUF); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 413 case SocketOptions.SO_SNDBUF: in getSocketOptionErrno() 414 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() 1109 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt() 1183 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { in NET_SetSockOpt()
|
/libcore/luni/annotations/flagged_api/android/system/ |
D | OsConstants.annotated.java | 1154 public static final int SO_SNDBUF; field in OsConstants 1155 static { SO_SNDBUF = 0; }
|