/external/strace/tests-m32/ |
D | so_linger.c | 59 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/ |
D | so_linger.c | 59 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-mx32/ |
D | so_linger.c | 59 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/ |
D | net.c | 590 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/ |
D | DefaultHttpClientConnection.java | 73 int linger = HttpConnectionParams.getLinger(params); in bind() local 74 if (linger >= 0) { in bind() 75 socket.setSoLinger(linger > 0, linger); in bind()
|
D | DefaultHttpServerConnection.java | 71 int linger = HttpConnectionParams.getLinger(params); in bind() local 72 if (linger >= 0) { in bind() 73 socket.setSoLinger(linger > 0, linger); in bind()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_option.hpp | 212 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
|
D | socket_types.hpp | 75 typedef ::linger linger_type;
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | DefaultClientConnectionOperator.java | 272 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/ |
D | HttpConnectionParamBean.java | 58 public void setLinger (int linger) { in setLinger() argument 59 HttpConnectionParams.setLinger(params, linger); in setLinger()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | socket_base.hpp | 347 typedef asio::detail::socket_option::linger< 349 linger; typedef in asio::socket_base
|
/external/apache-http/android/src/android/net/http/ |
D | AndroidHttpClientConnection.java | 101 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/ |
D | test_1_to_1_sockopt.c | 90 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/ |
D | AbstractConscryptSocket.java | 332 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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | AbstractConscryptSocket.java | 333 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/syzkaller/vendor/golang.org/x/sys/unix/ |
D | syscall_unix.go | 274 var linger Linger 276 err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen) 277 return &linger, err
|
/external/parameter-framework/upstream/asio/stub/ |
D | asio.hpp | 100 using linger = dummy_base; typedef
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 125 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument 126 delegate.setSoLinger(on, linger); in setSoLinger()
|
D | KitKatPlatformOpenSSLSocketImplAdapter.java | 125 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument 126 delegate.setSoLinger(on, linger); in setSoLinger()
|
/external/syzkaller/sys/netbsd/ |
D | socket.txt | 82 …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…
|
D | sys.txt | 174 linger { 176 linger int32
|
/external/syzkaller/sys/freebsd/ |
D | socket.txt | 84 …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/ |
D | bench_httpclient.c | 117 struct linger l; in frob_socket()
|
/external/parameter-framework/upstream/remote-processor/ |
D | RemoteProcessorServer.cpp | 118 _acceptor.set_option(socket_base::linger(true, 0)); in start()
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | MockSocketConnection.java | 320 public void setSoLinger(boolean on, int linger) throws SocketException { in setSoLinger() argument
|