/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 33 public static final int SO_LINGER = 2; field in OldSocketTestCase 71 case SO_LINGER: in getOptionIsSupported() 139 case SO_LINGER: in getSocketOptionString()
|
D | OldSocketTest.java | 191 handleException(e, SO_LINGER); in test_close() 325 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_LINGER); in test_getSoLinger() 328 handleException(e, SO_LINGER); in test_getSoLinger() 541 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_LINGER); in test_setSoLingerZI() 544 handleException(e, SO_LINGER); in test_setSoLingerZI()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 381 } else if (name == StandardSocketOptions.SO_LINGER) { in setOption() 382 setOption(SocketOptions.SO_LINGER, value); in setOption() 401 } else if (name == StandardSocketOptions.SO_LINGER) { in getOption() 402 return (T)getOption(SocketOptions.SO_LINGER); in getOption()
|
D | SocketOptions.java | 240 @Native public final static int SO_LINGER = 0x0080; field
|
D | StandardSocketOptions.java | 218 public static final SocketOption<Integer> SO_LINGER = field in StandardSocketOptions
|
D | Socket.java | 1050 getImpl().setOption(SocketOptions.SO_LINGER, new Boolean(on)); in setSoLinger() 1057 getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger)); in setSoLinger() 1077 Object o = getImpl().getOption(SocketOptions.SO_LINGER); in getSoLinger()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 293 sc.setOption(StandardSocketOptions.SO_LINGER, 1000); in test_setOption() 296 assertEquals(1000, (int) sc.<Integer>getOption(StandardSocketOptions.SO_LINGER)); in test_setOption() 302 sc.setOption(StandardSocketOptions.SO_LINGER, 2000); in test_setOption()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 333 setIntOption(StandardSocketOptions.SO_LINGER, linger); in setSoLinger() 337 return getIntOption(StandardSocketOptions.SO_LINGER); in getSoLinger()
|
D | SocketOptionRegistry.java | 63 … map.put(new RegistryKey(StandardSocketOptions.SO_LINGER, Net.UNSPEC), new OptionKey(1, 13)); in options()
|
D | Net.java | 310 if (name == StandardSocketOptions.SO_LINGER) {
|
D | SocketChannelImpl.java | 278 set.add(StandardSocketOptions.SO_LINGER); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 402 case SocketOptions.SO_LINGER: in getSocketOptionErrno() 403 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); in getSocketOptionErrno() 494 case SocketOptions.SO_LINGER: in setSocketOptionErrno() 502 Libcore.os.setsockoptLinger(fd, SOL_SOCKET, SO_LINGER, linger); in setSocketOptionErrno()
|
D | BlockGuardOs.java | 141 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); in isLingerSocket()
|
/libcore/ojluni/src/main/native/ |
D | Net.c | 468 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_getIntOption0() 491 if (level == SOL_SOCKET && opt == SO_LINGER) in Java_sun_nio_ch_Net_getIntOption0() 521 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_setIntOption0()
|
D | net_util_md.c | 916 { java_net_SocketOptions_SO_LINGER, SOL_SOCKET, SO_LINGER }, 1016 if (level == SOL_SOCKET && opt == SO_LINGER) { in NET_GetSockOpt()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 361 set.add(StandardSocketOptions.SO_LINGER); in initOptionSets()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 707 public static final int SO_LINGER = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 544 initConstant(env, c, "SO_LINGER", SO_LINGER); in OsConstants_initConstants()
|
/libcore/api/ |
D | current.txt | 491 field public static final int SO_LINGER; 5461 field public static final int SO_LINGER = 128; // 0x80 5493 field public static final java.net.SocketOption<java.lang.Integer> SO_LINGER;
|