/external/apache-http/src/org/apache/http/impl/ |
DefaultHttpClientConnection.java | 68 int linger = HttpConnectionParams.getLinger(params); local 69 if (linger >= 0) { 70 socket.setSoLinger(linger > 0, linger);
|
DefaultHttpServerConnection.java | 66 int linger = HttpConnectionParams.getLinger(params); local 67 if (linger >= 0) { 68 socket.setSoLinger(linger > 0, linger);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 262 int linger = HttpConnectionParams.getLinger(params); local 263 if (linger >= 0) { 264 sock.setSoLinger(linger > 0, linger);
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 63 // We allow non-linger sockets so that apps can close their network 79 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); local 80 return linger.isOn() && linger.l_linger > 0;
|
IoBridge.java | 268 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); local 269 if (!linger.isOn()) { 272 return linger.l_linger; 347 StructLinger linger = new StructLinger(booleanToInt(on), seconds); local 348 Libcore.os.setsockoptLinger(fd, SOL_SOCKET, SO_LINGER, linger);
|
/external/dropbear/ |
dbutil.c | 192 struct linger linger; local 253 linger.l_onoff = 1; 254 linger.l_linger = 5; 255 setsockopt(sock, SOL_SOCKET, SO_LINGER, (void*)&linger, sizeof(linger));
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
socket_test.cc | 469 struct linger linger = { 7, 8 }; local 470 socklen_t len = sizeof(linger); 471 ASSERT_EQ(0, ki_getsockopt(sock1_, SOL_SOCKET, SO_LINGER, &linger, &len)); 472 ASSERT_EQ(0, linger.l_onoff); 473 ASSERT_EQ(0, linger.l_linger); 474 ASSERT_EQ(sizeof(struct linger), len); 475 ASSERT_EQ(0, ki_getsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, &len)); 476 ASSERT_EQ(0, linger.l_onoff); 477 ASSERT_EQ(0, linger.l_linger) [all...] |
/external/strace/ |
net.c | 1982 struct linger linger; local 2093 struct linger linger; local [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClientConnection.java | 107 int linger = HttpConnectionParams.getLinger(params); local 108 if (linger >= 0) { 109 socket.setSoLinger(linger > 0, linger);
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
socket.h | 324 struct linger struct 326 int l_onoff; /* Nonzero to linger on close. */ 327 int l_linger; /* Time to linger. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
socket.h | 43 struct linger { struct 44 int l_onoff; /* Linger active */ 45 int l_linger; /* How long to linger for */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 324 struct linger struct 326 int l_onoff; /* Nonzero to linger on close. */ 327 int l_linger; /* Time to linger. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 43 struct linger { struct 44 int l_onoff; /* Linger active */ 45 int l_linger; /* How long to linger for */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 324 struct linger struct 326 int l_onoff; /* Nonzero to linger on close. */ 327 int l_linger; /* Time to linger. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 43 struct linger { struct 44 int l_onoff; /* Linger active */ 45 int l_linger; /* How long to linger for */
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|