/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/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-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/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/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/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/params/ |
D | HttpConnectionParamBean.java | 58 public void setLinger (int linger) { in setLinger() argument 59 HttpConnectionParams.setLinger(params, linger); in setLinger()
|
/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/rust/crates/mio/src/sys/windows/ |
D | tcp.rs | 17 …self, closesocket, linger, setsockopt, getsockopt, getsockname, PF_INET, PF_INET6, SOCKET, SOCKET_… 146 let val: linger = linger { in set_linger() 156 size_of::<linger>() as c_int, in set_linger() 164 let mut val: linger = unsafe { std::mem::zeroed() }; in get_linger() 165 let mut len = size_of::<linger>() as c_int; in get_linger()
|
/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/rust/crates/mio/src/sys/unix/ |
D | tcp.rs | 134 let val: libc::linger = libc::linger { in set_linger() 147 &val as *const libc::linger as *const libc::c_void, in set_linger() 148 size_of::<libc::linger>() as libc::socklen_t, in set_linger() 154 let mut val: libc::linger = unsafe { std::mem::zeroed() }; in get_linger() 155 let mut len = mem::size_of::<libc::linger>() as libc::socklen_t; in get_linger()
|
/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/parameter-framework/upstream/asio/stub/ |
D | asio.hpp | 100 using linger = dummy_base; typedef
|
/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/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/rust/crates/tokio/tests/ |
D | tcp_stream.rs | 25 assert_eq!(stream.linger().unwrap().unwrap().as_secs(), 1); in set_linger() 28 assert!(stream.linger().unwrap().is_none()); in set_linger()
|
/external/usrsctp/fuzzer/ |
D | fuzzer_connect.c | 176 struct linger so_linger; in LLVMFuzzerTestOneInput() 296 …result = usrsctp_setsockopt(socket_client, SOL_SOCKET, SO_LINGER, &so_linger, sizeof(struct linger… in LLVMFuzzerTestOneInput()
|
/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
|