Home
last modified time | relevance | path

Searched refs:TCP_NODELAY (Results 1 – 20 of 20) 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()
DSocketTest.java314 setAndAssertOption(impl, StandardSocketOptions.TCP_NODELAY, in test_SocketOptions_setOption()
315 SocketOptions.TCP_NODELAY, true); in test_SocketOptions_setOption()
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.java408 } else if (name == StandardSocketOptions.TCP_NODELAY && in setOption()
410 setOption(SocketOptions.TCP_NODELAY, value); in setOption()
451 } else if (name == StandardSocketOptions.TCP_NODELAY && in getOption()
453 return (T)getOption(SocketOptions.TCP_NODELAY); in getOption()
470 StandardSocketOptions.TCP_NODELAY);
DSocketOptions.java143 @Native public static final int TCP_NODELAY = 0x0001; field
DStandardSocketOptions.java375 public static final SocketOption<Boolean> TCP_NODELAY = field in StandardSocketOptions
DSocket.java1035 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); in setTcpNoDelay()
1051 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.java417 case SocketOptions.TCP_NODELAY: in getSocketOptionErrno()
418 return booleanFromInt(Libcore.os.getsockoptInt(fd, IPPROTO_TCP, TCP_NODELAY)); in getSocketOptionErrno()
521 case SocketOptions.TCP_NODELAY: in setSocketOptionErrno()
522 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/ojluni/src/test/java/net/SocketOptions/
DOptionsTest.java202 } else if (option.equals(StandardSocketOptions.TCP_NODELAY)) { in legacyGetOption()
/libcore/ojluni/src/main/native/
Dnet_util_md.c914 { java_net_SocketOptions_TCP_NODELAY, IPPROTO_TCP, TCP_NODELAY },
/libcore/luni/src/main/java/android/system/
DOsConstants.java781 public static final int TCP_NODELAY = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp607 initConstant(env, c, "TCP_NODELAY", TCP_NODELAY); in OsConstants_initConstants()
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt144 ; socket options = TCP_NODELAY
/libcore/api/
Dcurrent.txt540 field public static final int TCP_NODELAY;
5959 field public static final int TCP_NODELAY = 1; // 0x1
5991 field public static final java.net.SocketOption<java.lang.Boolean> TCP_NODELAY;