/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/params/ |
HttpConnectionParamBean.java | 52 public void setLinger (int linger) { 53 HttpConnectionParams.setLinger(params, linger);
|
HttpConnectionParams.java | 133 * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is 136 * @return the linger-on-close timeout 146 * Returns linger-on-close timeout. This option disables/enables immediate return 153 * @param value the linger-on-close timeout
|
CoreConnectionPNames.java | 79 * Sets SO_LINGER with the specified linger time in seconds. The maximum timeout 88 public static final String SO_LINGER = "http.socket.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 }; 683 linger = atoi(optarg);
|
l2test.c | 109 static int linger = 0; variable 257 if (linger) { 258 struct linger l = { .l_onoff = 1, .l_linger = linger }; 510 if (linger) { 511 struct linger l = { .l_onoff = 1, .l_linger = linger }; 1185 linger = atoi(optarg);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImplWrapper.java | 84 public void setSoLinger(boolean on, int linger) throws SocketException { 85 socket.setSoLinger(on, linger);
|
SSLSocketWrapper.java | 103 public void setSoLinger(boolean on, int linger) throws SocketException { 104 socket.setSoLinger(on, linger);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 256 int linger = HttpConnectionParams.getLinger(params); local 257 if (linger >= 0) { 258 sock.setSoLinger(linger > 0, linger);
|
/external/bluetooth/bluez/tools/ |
main.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...] |
rfcomm.1 | 83 Set linger timeout
|
/external/strace/ |
net.c | 1576 struct linger linger; local 1649 struct linger linger; local [all...] |
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 348 private void closeWithLinger(boolean linger) { 349 Log.d(TAG, "Socket linger test; linger=" + linger); 352 socket.setSoLinger(linger, 5); 355 Log.e(TAG, "Error with linger close", e);
|
/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/linux/ |
socket.h | 43 struct linger { struct 44 int l_onoff; /* Linger active */ 45 int l_linger; /* How long to linger for */
|
/external/quake/quake/src/WinQuake/ |
mpdosock.h | 371 #define SO_LINGER 0x0080 /* linger on close if data present */
493 * Structure used for manipulating linger option.
495 struct linger {
struct 497 u_short l_linger; /* linger time */
769 typedef struct linger LINGER;
770 typedef struct linger *PLINGER;
771 typedef struct linger FAR *LPLINGER;
|
/packages/experimental/StrictModeTest/res/layout/ |
main.xml | 152 android:text="Linger close()" 159 android:text="Non-linger close()"
|
/external/iproute2/doc/ |
api-ip6-flowlabels.tex | 320 \item \verb|linger| is time in seconds. After the last user releases flow 324 unprivileged user to set linger longer than 60 sec. 388 Label S Owner Users Linger Expires Dst Opt 398 \item \verb|Linger| is \verb|linger| of this label in seconds.
|
/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. */
|
/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);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTestCase.java | 135 return "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));
|
/bionic/libc/kernel/common/linux/ |
socket.h | 40 struct linger { struct
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 40 struct linger { struct
|