/external/strace/tests/ |
H A D | so_linger.c | 57 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 D | so_linger.c | 57 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 D | so_linger.c | 57 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 D | DefaultHttpClientConnection.java | 73 int linger = HttpConnectionParams.getLinger(params); 74 if (linger >= 0) { 75 socket.setSoLinger(linger > 0, linger);
|
H A D | DefaultHttpServerConnection.java | 71 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 D | HttpConnectionParamBean.java | 58 public void setLinger (int linger) { argument 59 HttpConnectionParams.setLinger(params, linger);
|
/external/parameter-framework/asio/include/asio/detail/ |
H A D | 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 dat [all...] |
H A D | socket_types.hpp | 75 typedef ::linger linger_type;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | 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 dat [all...] |
H A D | socket_types.hpp | 75 typedef ::linger linger_type;
|
/external/parameter-framework/upstream/asio/stub/ |
H A D | asio.hpp | 76 using linger = dummy_base;
|
/external/parameter-framework/asio/include/asio/ |
H A D | 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
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
H A D | 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
|
/external/strace/ |
H A D | net.c | 452 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 D | DefaultClientConnectionOperator.java | 272 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 D | AndroidHttpClientConnection.java | 101 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 D | ConscryptSocketBase.java | 329 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 D | RemoteProcessorServer.cpp | 63 _acceptor.set_option(asio::socket_base::linger(true, 0));
|
/external/ltp/utils/sctp/func_tests/ |
H A D | test_1_to_1_sockopt.c | 90 struct linger slinger; /*SO_LINGER structure*/ 91 struct linger glinger; /*SO_LINGER structure*/ 279 len = sizeof(struct linger);
|
/external/libevent/test/ |
H A D | bench_httpclient.c | 117 struct linger l;
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
H A D | KitKatPlatformOpenSSLSocketImplAdapter.java | 125 public void setSoLinger(boolean on, int linger) throws SocketException { argument 126 delegate.setSoLinger(on, linger);
|
H A D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 125 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 D | MockSocketConnection.java | 320 public void setSoLinger(boolean on, int linger) throws SocketException { argument
|
/external/oj-libjdwp/src/solaris/transport/socket/ |
H A D | socket_md.c | 197 struct linger arg;
|
/external/syslinux/core/lwip/src/include/lwip/ |
H A D | sockets.h | 84 #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 */
|