/external/apache-http/src/org/apache/http/impl/ |
DefaultHttpClientConnection.java | 73 int linger = HttpConnectionParams.getLinger(params); local 74 if (linger >= 0) { 75 socket.setSoLinger(linger > 0, linger);
|
DefaultHttpServerConnection.java | 71 int linger = HttpConnectionParams.getLinger(params); local 72 if (linger >= 0) { 73 socket.setSoLinger(linger > 0, linger);
|
/external/libgdx/gdx/src/com/badlogic/gdx/net/ |
SocketHints.java | 56 /** Enable/disable SO_LINGER with the specified linger time in seconds. Only affects socket close. */
57 public boolean linger = false;
field in class:SocketHints 58 /** The linger duration in seconds (NOT milliseconds!). Only used if linger is true! */
|
NetJavaSocketImpl.java | 70 socket.setSoLinger(hints.linger, hints.lingerDuration);
|
/external/apache-http/src/org/apache/http/params/ |
HttpConnectionParamBean.java | 58 public void setLinger (int linger) { 59 HttpConnectionParams.setLinger(params, linger);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_ip_types.h | 63 struct linger { struct 102 typedef struct linger LINGER; 103 typedef struct linger *PLINGER; 104 typedef struct linger *LPLINGER;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
socket_option.hpp | 210 // Helper template for implementing linger options. 212 class linger class in namespace:asio::detail::socket_option 216 linger() function in class:asio::detail::socket_option::linger 223 linger(bool e, int t) function in class:asio::detail::socket_option::linger 229 // Set the value for whether linger is enabled. 235 // Get the value for whether linger is enabled. 241 // Set the value for the linger timeout. 247 // Get the value for the linger timeout. 267 // Get the address of the linger data. 274 // Get the address of the linger data [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
socket_base.hpp | 329 * asio::socket_base::linger option(true, 30); 338 * asio::socket_base::linger option; 347 typedef asio::detail::socket_option::linger< 349 linger; typedef in class:asio::socket_base
|
/libcore/ojluni/src/main/native/ |
Net.c | 340 struct linger linger; local 358 arg = (void *)&linger; 359 arglen = sizeof(linger); 381 return linger.l_onoff ? (jint)linger.l_linger : (jint)-1; 391 struct linger linger; local 410 parg = (void *)&linger; 411 arglen = sizeof(linger); [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSocketImplWrapper.java | 84 public void setSoLinger(boolean on, int linger) throws SocketException { 85 socket.setSoLinger(on, linger);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 272 int linger = HttpConnectionParams.getLinger(params); local 273 if (linger >= 0) { 274 sock.setSoLinger(linger > 0, linger);
|
/external/parameter-framework/upstream/asio/stub/ |
asio.hpp | 76 using linger = dummy_base;
|
/frameworks/base/core/java/android/net/ |
LocalSocketImpl.java | 468 StructLinger linger= local 470 if (!linger.isOn()) { 473 toReturn = linger.l_linger; 515 StructLinger linger = new StructLinger(boolValue, intValue); local 516 Os.setsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER, linger);
|
/system/core/adb/ |
test_adb.py | 148 # The linger structure is two shorts on Windows, but two ints on Unix. 155 # Verify that we set the linger structure properly by retrieving it. 156 linger = sock.getsockopt(socket.SOL_SOCKET, socket.SO_LINGER, 16) 158 struct.unpack_from(linger_format, linger))
|
/external/apache-http/android/src/android/net/http/ |
AndroidHttpClientConnection.java | 101 int linger = HttpConnectionParams.getLinger(params); local 102 if (linger >= 0) { 103 socket.setSoLinger(linger > 0, linger);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
SocketAdaptor.java | 354 public void setSoLinger(boolean on, int linger) throws SocketException { 356 linger = -1; 357 setIntOption(StandardSocketOptions.SO_LINGER, linger);
|
/external/autotest/client/tests/kvm/deps/ |
finish.cpp | 61 linger l;
|
/external/parameter-framework/upstream/remote-processor/ |
RemoteProcessorServer.cpp | 63 _acceptor.set_option(asio::socket_base::linger(true, 0));
|
/frameworks/base/libs/common_time/ |
diag_thread.cpp | 134 struct linger l; 149 struct linger l;
|
/libcore/luni/src/main/java/libcore/io/ |
IoBridge.java | 286 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); local 287 if (!linger.isOn()) { 290 return linger.l_linger; 365 StructLinger linger = new StructLinger(booleanToInt(on), seconds); local 366 Libcore.os.setsockoptLinger(fd, SOL_SOCKET, SO_LINGER, linger);
|
BlockGuardOs.java | 90 // We allow non-linger sockets so that apps can close their network 106 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); local 107 return linger.isOn() && linger.l_linger > 0;
|
/libcore/ojluni/src/main/java/java/net/ |
Socket.java | [all...] |
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 40 struct linger { struct
|
/external/avahi/avahi-compat-howl/include/salt/ |
socket.h | 223 sw_uint32 linger);
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
MockSocketConnection.java | 307 public void setSoLinger(boolean on, int linger) throws SocketException {
|