/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 41 public static final int TCP_NODELAY = 6; field in OldSocketTestCase 73 case TCP_NODELAY: in getOptionIsSupported() 147 case TCP_NODELAY: in getSocketOptionString()
|
D | OldSocketTest.java | 420 ensureExceptionThrownIfOptionIsUnsupportedOnOS(TCP_NODELAY); in test_getTcpNoDelay() 422 handleException(e, TCP_NODELAY); in test_getTcpNoDelay() 568 ensureExceptionThrownIfOptionIsUnsupportedOnOS(TCP_NODELAY); in test_setTcpNoDelayZ() 570 handleException(e, TCP_NODELAY); in test_setTcpNoDelayZ()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 381 } else if (name == StandardSocketOptions.TCP_NODELAY) { in setOption() 382 setOption(SocketOptions.TCP_NODELAY, value); in setOption() 401 } else if (name == StandardSocketOptions.TCP_NODELAY) { in getOption() 402 return (T)getOption(SocketOptions.TCP_NODELAY); in getOption()
|
D | SocketOptions.java | 142 @Native public final static int TCP_NODELAY = 0x0001; field
|
D | StandardSocketOptions.java | 352 public static final SocketOption<Boolean> TCP_NODELAY = field in StandardSocketOptions
|
D | Socket.java | 1012 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); in setTcpNoDelay() 1028 return ((Boolean) getImpl().getOption(SocketOptions.TCP_NODELAY)).booleanValue(); in getTcpNoDelay()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 323 setBooleanOption(StandardSocketOptions.TCP_NODELAY, on); in setTcpNoDelay() 327 return getBooleanOption(StandardSocketOptions.TCP_NODELAY); in getTcpNoDelay()
|
D | SocketOptionRegistry.java | 67 … map.put(new RegistryKey(StandardSocketOptions.TCP_NODELAY, Net.UNSPEC), new OptionKey(6, 1)); in options()
|
D | AsynchronousSocketChannelImpl.java | 511 set.add(StandardSocketOptions.TCP_NODELAY); in defaultOptions()
|
D | SocketChannelImpl.java | 279 set.add(StandardSocketOptions.TCP_NODELAY); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 351 case SocketOptions.TCP_NODELAY: in getSocketOptionErrno() 352 return booleanFromInt(Libcore.os.getsockoptInt(fd, IPPROTO_TCP, TCP_NODELAY)); in getSocketOptionErrno() 452 case SocketOptions.TCP_NODELAY: in setSocketOptionErrno() 453 Libcore.os.setsockoptInt(fd, IPPROTO_TCP, TCP_NODELAY, booleanToInt((Boolean) value)); in setSocketOptionErrno()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 363 set.add(StandardSocketOptions.TCP_NODELAY); in initOptionSets()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 851 asc.setOption(StandardSocketOptions.TCP_NODELAY, true); in test_options() 852 assertTrue(asc.getOption(StandardSocketOptions.TCP_NODELAY)); in test_options() 877 assertTrue(supportedOptions.contains(StandardSocketOptions.TCP_NODELAY)); in test_supportedOptions()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 633 public static final int TCP_NODELAY = placeholder(); field in OsConstants
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 914 { java_net_SocketOptions_TCP_NODELAY, IPPROTO_TCP, TCP_NODELAY },
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 593 initConstant(env, c, "TCP_NODELAY", TCP_NODELAY); in OsConstants_initConstants()
|