Searched refs:linger (Results 1 - 25 of 40) sorted by relevance

12

/external/strace/tests/
H A Dso_linger.c57 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger);
64 *len = sizeof(*linger);
65 get_linger(fd, linger, len);
68 fd, linger->l_onoff, linger->l_linger, *len, errstr);
71 linger->l_onoff = -15;
72 linger->l_linger = -42;
73 set_linger(fd, linger, sizeof(*linger));
[all...]
/external/strace/tests-m32/
H A Dso_linger.c57 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger);
64 *len = sizeof(*linger);
65 get_linger(fd, linger, len);
68 fd, linger->l_onoff, linger->l_linger, *len, errstr);
71 linger->l_onoff = -15;
72 linger->l_linger = -42;
73 set_linger(fd, linger, sizeof(*linger));
[all...]
/external/strace/tests-mx32/
H A Dso_linger.c57 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger);
64 *len = sizeof(*linger);
65 get_linger(fd, linger, len);
68 fd, linger->l_onoff, linger->l_linger, *len, errstr);
71 linger->l_onoff = -15;
72 linger->l_linger = -42;
73 set_linger(fd, linger, sizeof(*linger));
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DDefaultHttpClientConnection.java73 int linger = HttpConnectionParams.getLinger(params);
74 if (linger >= 0) {
75 socket.setSoLinger(linger > 0, linger);
H A DDefaultHttpServerConnection.java71 int linger = HttpConnectionParams.getLinger(params);
72 if (linger >= 0) {
73 socket.setSoLinger(linger > 0, linger);
/external/apache-http/src/org/apache/http/params/
H A DHttpConnectionParamBean.java58 public void setLinger (int linger) { argument
59 HttpConnectionParams.setLinger(params, linger);
/external/parameter-framework/asio/include/asio/detail/
H A Dsocket_option.hpp210 // 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 dat
[all...]
H A Dsocket_types.hpp75 typedef ::linger linger_type;
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dsocket_option.hpp210 // 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 dat
[all...]
H A Dsocket_types.hpp75 typedef ::linger linger_type;
/external/parameter-framework/upstream/asio/stub/
H A Dasio.hpp76 using linger = dummy_base;
/external/parameter-framework/asio/include/asio/
H A Dsocket_base.hpp329 * 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
/external/parameter-framework/asio-1.10.6/include/asio/
H A Dsocket_base.hpp329 * 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
/external/strace/
H A Dnet.c452 struct linger linger; local
454 if (len < (int) sizeof(linger)) {
456 } else if (!umove_or_printaddr(tcp, addr, &linger)) {
457 PRINT_FIELD_D("{", linger, l_onoff);
458 PRINT_FIELD_D(", ", linger, l_linger);
467 struct linger linger; local
469 if (len < sizeof(linger)) {
470 if (len != sizeof(linger
[all...]
/external/apache-http/src/org/apache/http/impl/conn/
H A DDefaultClientConnectionOperator.java272 int linger = HttpConnectionParams.getLinger(params);
273 if (linger >= 0) {
274 sock.setSoLinger(linger > 0, linger);
/external/apache-http/android/src/android/net/http/
H A DAndroidHttpClientConnection.java101 int linger = HttpConnectionParams.getLinger(params);
102 if (linger >= 0) {
103 socket.setSoLinger(linger > 0, linger);
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DConscryptSocketBase.java329 public void setSoLinger(boolean on, int linger) throws SocketException { argument
331 socket.setSoLinger(on, linger);
333 super.setSoLinger(on, linger);
/external/parameter-framework/upstream/remote-processor/
H A DRemoteProcessorServer.cpp63 _acceptor.set_option(asio::socket_base::linger(true, 0));
/external/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_sockopt.c90 struct linger slinger; /*SO_LINGER structure*/
91 struct linger glinger; /*SO_LINGER structure*/
279 len = sizeof(struct linger);
/external/libevent/test/
H A Dbench_httpclient.c117 struct linger l;
/external/conscrypt/android/src/main/java/org/conscrypt/
H A DKitKatPlatformOpenSSLSocketImplAdapter.java125 public void setSoLinger(boolean on, int linger) throws SocketException { argument
126 delegate.setSoLinger(on, linger);
H A DPreKitKatPlatformOpenSSLSocketImplAdapter.java125 public void setSoLinger(boolean on, int linger) throws SocketException { argument
126 delegate.setSoLinger(on, linger);
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
H A DMockSocketConnection.java320 public void setSoLinger(boolean on, int linger) throws SocketException { argument
/external/oj-libjdwp/src/solaris/transport/socket/
H A Dsocket_md.c197 struct linger arg;
/external/syslinux/core/lwip/src/include/lwip/
H A Dsockets.h84 #define SO_LINGER 0x0080 /* linger on close if data present */
106 * Structure used for manipulating linger option.
108 struct linger { struct
110 int l_linger; /* linger time */

Completed in 484 milliseconds

12