Home
last modified time | relevance | path

Searched refs:linger (Results 1 – 25 of 54) sorted by relevance

123

/external/strace/tests-mx32/
Dso_linger.c59 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger); in main()
62 const unsigned int sizeof_l_onoff = sizeof(linger->l_onoff); in main()
63 struct linger *const l_onoff = tail_alloc(sizeof_l_onoff); in main()
66 struct linger *const l_onoff_truncated = in main()
70 offsetofend(struct linger, l_linger) - 1; in main()
71 struct linger *const l_linger_truncated = in main()
79 *len = sizeof(*linger); in main()
80 get_linger(fd, linger, len); in main()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
86 linger->l_onoff = -15; in main()
[all …]
/external/strace/tests-m32/
Dso_linger.c59 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger); in main()
62 const unsigned int sizeof_l_onoff = sizeof(linger->l_onoff); in main()
63 struct linger *const l_onoff = tail_alloc(sizeof_l_onoff); in main()
66 struct linger *const l_onoff_truncated = in main()
70 offsetofend(struct linger, l_linger) - 1; in main()
71 struct linger *const l_linger_truncated = in main()
79 *len = sizeof(*linger); in main()
80 get_linger(fd, linger, len); in main()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
86 linger->l_onoff = -15; in main()
[all …]
/external/strace/tests/
Dso_linger.c59 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger); in main()
62 const unsigned int sizeof_l_onoff = sizeof(linger->l_onoff); in main()
63 struct linger *const l_onoff = tail_alloc(sizeof_l_onoff); in main()
66 struct linger *const l_onoff_truncated = in main()
70 offsetofend(struct linger, l_linger) - 1; in main()
71 struct linger *const l_linger_truncated = in main()
79 *len = sizeof(*linger); in main()
80 get_linger(fd, linger, len); in main()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
86 linger->l_onoff = -15; in main()
[all …]
/external/strace/
Dnet.c590 struct linger linger; in print_get_linger() local
596 if (len > sizeof(linger)) in print_get_linger()
597 len = sizeof(linger); in print_get_linger()
598 if (umoven_or_printaddr(tcp, addr, len, &linger)) in print_get_linger()
601 if (len < sizeof(linger.l_onoff)) { in print_get_linger()
603 print_quoted_string((void *) &linger.l_onoff, in print_get_linger()
606 PRINT_FIELD_D("{", linger, l_onoff); in print_get_linger()
608 if (len > offsetof(struct linger, l_linger)) { in print_get_linger()
609 len -= offsetof(struct linger, l_linger); in print_get_linger()
610 if (len < sizeof(linger.l_linger)) { in print_get_linger()
[all …]
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpServerConnection.java71 int linger = HttpConnectionParams.getLinger(params); in bind() local
72 if (linger >= 0) { in bind()
73 socket.setSoLinger(linger > 0, linger); in bind()
DDefaultHttpClientConnection.java73 int linger = HttpConnectionParams.getLinger(params); in bind() local
74 if (linger >= 0) { in bind()
75 socket.setSoLinger(linger > 0, linger); in bind()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_option.hpp212 class linger class
216 linger() in linger() function in asio::detail::socket_option::linger
223 linger(bool e, int t) in linger() function in asio::detail::socket_option::linger
Dsocket_types.hpp75 typedef ::linger linger_type;
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java272 int linger = HttpConnectionParams.getLinger(params); in prepareSocket() local
273 if (linger >= 0) { in prepareSocket()
274 sock.setSoLinger(linger > 0, linger); in prepareSocket()
/external/apache-http/src/org/apache/http/params/
DHttpConnectionParamBean.java58 public void setLinger (int linger) { in setLinger() argument
59 HttpConnectionParams.setLinger(params, linger); in setLinger()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_base.hpp347 typedef asio::detail::socket_option::linger<
349 linger; typedef in asio::socket_base
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java101 int linger = HttpConnectionParams.getLinger(params); in bind() local
102 if (linger >= 0) { in bind()
103 socket.setSoLinger(linger > 0, linger); in bind()
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sockopt.c90 struct linger slinger; /*SO_LINGER structure*/ in main()
91 struct linger glinger; /*SO_LINGER structure*/ in main()
279 len = sizeof(struct linger); in main()
/external/conscrypt/common/src/main/java/org/conscrypt/
DAbstractConscryptSocket.java332 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
334 socket.setSoLinger(on, linger); in setSoLinger()
336 super.setSoLinger(on, linger); in setSoLinger()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_unix.go274 var linger Linger
276 err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen)
277 return &linger, err
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DAbstractConscryptSocket.java333 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
335 socket.setSoLinger(on, linger); in setSoLinger()
337 super.setSoLinger(on, linger); in setSoLinger()
/external/parameter-framework/upstream/asio/stub/
Dasio.hpp100 using linger = dummy_base; typedef
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java125 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
126 delegate.setSoLinger(on, linger); in setSoLinger()
DKitKatPlatformOpenSSLSocketImplAdapter.java125 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
126 delegate.setSoLinger(on, linger); in setSoLinger()
/external/syzkaller/sys/netbsd/
Dsocket.txt82 …sock, level const[SOL_SOCKET], optname const[SO_LINGER], optval ptr[out, linger], optlen ptr[inout…
83 … sock, level const[SOL_SOCKET], optname const[SO_LINGER], optval ptr[in, linger], optlen len[optva…
Dsys.txt174 linger {
176 linger int32
/external/syzkaller/sys/freebsd/
Dsocket.txt84 …sock, level const[SOL_SOCKET], optname const[SO_LINGER], optval ptr[out, linger], optlen ptr[inout…
85 … sock, level const[SOL_SOCKET], optname const[SO_LINGER], optval ptr[in, linger], optlen len[optva…
/external/libevent/test/
Dbench_httpclient.c117 struct linger l; in frob_socket()
/external/parameter-framework/upstream/remote-processor/
DRemoteProcessorServer.cpp118 _acceptor.set_option(socket_base::linger(true, 0)); in start()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnection.java320 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument

123