Home
last modified time | relevance | path

Searched refs:TCP_NODELAY (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java41 public static final int TCP_NODELAY = 6; field in OldSocketTestCase
73 case TCP_NODELAY: in getOptionIsSupported()
147 case TCP_NODELAY: in getSocketOptionString()
DOldSocketTest.java420 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/
DSocketImpl.java381 } 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()
DSocketOptions.java142 @Native public final static int TCP_NODELAY = 0x0001; field
DStandardSocketOptions.java352 public static final SocketOption<Boolean> TCP_NODELAY = field in StandardSocketOptions
DSocket.java1012 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/
DSocketAdaptor.java323 setBooleanOption(StandardSocketOptions.TCP_NODELAY, on); in setTcpNoDelay()
327 return getBooleanOption(StandardSocketOptions.TCP_NODELAY); in getTcpNoDelay()
DSocketOptionRegistry.java67 … map.put(new RegistryKey(StandardSocketOptions.TCP_NODELAY, Net.UNSPEC), new OptionKey(6, 1)); in options()
DAsynchronousSocketChannelImpl.java511 set.add(StandardSocketOptions.TCP_NODELAY); in defaultOptions()
DSocketChannelImpl.java279 set.add(StandardSocketOptions.TCP_NODELAY); in defaultOptions()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java351 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/
DSockets.java363 set.add(StandardSocketOptions.TCP_NODELAY); in initOptionSets()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java851 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/
DOsConstants.java633 public static final int TCP_NODELAY = placeholder(); field in OsConstants
/libcore/ojluni/src/main/native/
Dnet_util_md.c914 { java_net_SocketOptions_TCP_NODELAY, IPPROTO_TCP, TCP_NODELAY },
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp593 initConstant(env, c, "TCP_NODELAY", TCP_NODELAY); in OsConstants_initConstants()