/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 | 265 StructLinger linger = Libcore.os.getsockoptLinger(fd, SOL_SOCKET, SO_LINGER); local 266 if (!linger.isOn()) { 269 return linger.l_linger; 344 StructLinger linger = new StructLinger(booleanToInt(on), seconds); local 345 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/bluetooth/bluez/test/ |
rctest.c | 85 static int linger = 0; variable 186 if (linger) { 187 struct linger l = { .l_onoff = 1, .l_linger = linger }; 370 if (linger) { 371 struct linger l = { .l_onoff = 1, .l_linger = linger }; 681 linger = atoi(optarg);
|
l2test.c | 110 static int linger = 0; variable 258 if (linger) { 259 struct linger l = { .l_onoff = 1, .l_linger = linger }; 522 if (linger) { 523 struct linger l = { .l_onoff = 1, .l_linger = linger }; 1197 linger = atoi(optarg);
|
/external/bluetooth/bluez/tools/ |
rfcomm.c | 61 static int linger = 0; variable 363 if (linger) { 364 struct linger l = { .l_onoff = 1, .l_linger = linger }; 367 perror("Can't set linger option"); 539 if (linger) { 540 struct linger l = { .l_onoff = 1, .l_linger = linger }; 543 perror("Can't set linger option"); 742 { "linger", 1, 0, 'L' } [all...] |
/external/strace/ |
net.c | 1576 struct linger linger; local 1649 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);
|
/bionic/libc/kernel/common/linux/ |
socket.h | 40 struct linger { struct
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 40 struct linger { struct
|
/external/kernel-headers/original/linux/ |
socket.h | 44 struct linger { struct 45 int l_onoff; /* Linger active */ 46 int l_linger; /* How long to linger for */
|
/prebuilt/linux-x86/toolchain/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. */
|
/prebuilt/linux-x86/toolchain/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 */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 40 struct linger { struct
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
socket.h | 40 struct linger { struct
|