/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 | 188 handleException(e, SO_LINGER); in test_close() 322 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_LINGER); in test_getSoLinger() 325 handleException(e, SO_LINGER); in test_getSoLinger() 538 ensureExceptionThrownIfOptionIsUnsupportedOnOS(SO_LINGER); in test_setSoLingerZI() 541 handleException(e, SO_LINGER); in test_setSoLingerZI()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 375 } else if (name == StandardSocketOptions.SO_LINGER) { in setOption() 376 setOption(SocketOptions.SO_LINGER, value); in setOption() 395 } else if (name == StandardSocketOptions.SO_LINGER) { in getOption() 396 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 | 1045 getImpl().setOption(SocketOptions.SO_LINGER, new Boolean(on)); in setSoLinger() 1052 getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger)); in setSoLinger() 1072 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 | 331 setIntOption(StandardSocketOptions.SO_LINGER, linger); in setSoLinger() 335 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 | 276 set.add(StandardSocketOptions.SO_LINGER); in defaultOptions()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 325 case SocketOptions.SO_LINGER: in getSocketOptionErrno() 326 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); in getSocketOptionErrno() 415 case SocketOptions.SO_LINGER: in setSocketOptionErrno() 423 Libcore.os.setsockoptLinger(fd, SOL_SOCKET, SO_LINGER, linger); in setSocketOptionErrno()
|
D | BlockGuardOs.java | 120 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); in isLingerSocket()
|
/libcore/ojluni/src/main/native/ |
D | Net.c | 453 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_getIntOption0() 476 if (level == SOL_SOCKET && opt == SO_LINGER) in Java_sun_nio_ch_Net_getIntOption0() 506 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_setIntOption0()
|
D | net_util_md.c | 902 { java_net_SocketOptions_SO_LINGER, SOL_SOCKET, SO_LINGER }, in NET_MapSocketOption() 1001 if (level == SOL_SOCKET && opt == SO_LINGER) { in NET_GetSockOpt()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 360 set.add(StandardSocketOptions.SO_LINGER); in initOptionSets()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 473 public static final int SO_LINGER = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 524 initConstant(env, c, "SO_LINGER", SO_LINGER); in OsConstants_initConstants()
|