Home
last modified time | relevance | path

Searched refs:set_linger (Results 1 – 10 of 10) sorted by relevance

/external/strace/tests-mx32/
Dso_linger.c49 set_linger(int fd, void *val, socklen_t len) in set_linger() function
88 set_linger(fd, linger, sizeof(*linger)); in main()
95 set_linger(fd, linger, sizeof(*linger) + 1); in main()
102 set_linger(fd, linger, -1U); in main()
107 set_linger(fd, linger, sizeof(linger->l_onoff)); in main()
112 set_linger(fd, &linger->l_linger, sizeof(*linger)); in main()
/external/strace/tests/
Dso_linger.c49 set_linger(int fd, void *val, socklen_t len) in set_linger() function
88 set_linger(fd, linger, sizeof(*linger)); in main()
95 set_linger(fd, linger, sizeof(*linger) + 1); in main()
102 set_linger(fd, linger, -1U); in main()
107 set_linger(fd, linger, sizeof(linger->l_onoff)); in main()
112 set_linger(fd, &linger->l_linger, sizeof(*linger)); in main()
/external/strace/tests-m32/
Dso_linger.c49 set_linger(int fd, void *val, socklen_t len) in set_linger() function
88 set_linger(fd, linger, sizeof(*linger)); in main()
95 set_linger(fd, linger, sizeof(*linger) + 1); in main()
102 set_linger(fd, linger, -1U); in main()
107 set_linger(fd, linger, sizeof(linger->l_onoff)); in main()
112 set_linger(fd, &linger->l_linger, sizeof(*linger)); in main()
/external/rust/crates/tokio/tests/
Dtcp_stream.rs17 async fn set_linger() { in set_linger() function
24 assert_ok!(stream.set_linger(Some(Duration::from_secs(1)))); in set_linger()
27 assert_ok!(stream.set_linger(None)); in set_linger()
/external/rust/crates/mio/src/net/tcp/
Dsocket.rs124 pub fn set_linger(&self, dur: Option<Duration>) -> io::Result<()> { in set_linger() method
125 sys::tcp::set_linger(self.sys, dur) in set_linger()
/external/rust/crates/mio/src/sys/shell/
Dtcp.rs50 pub(crate) fn set_linger(_: TcpSocket, _: Option<Duration>) -> io::Result<()> { in set_linger() function
/external/rust/crates/tokio/src/net/tcp/
Dstream.rs923 pub fn set_linger(&self, dur: Option<Duration>) -> io::Result<()> { in set_linger() method
926 mio_socket.set_linger(dur) in set_linger()
/external/rust/crates/mio/src/sys/windows/
Dtcp.rs145 pub(crate) fn set_linger(socket: TcpSocket, dur: Option<Duration>) -> io::Result<()> { in set_linger() function
/external/rust/crates/mio/src/sys/unix/
Dtcp.rs133 pub(crate) fn set_linger(socket: TcpSocket, dur: Option<Duration>) -> io::Result<()> { in set_linger() function
/external/rust/crates/mio/
DCHANGELOG.md29 * Fix `TcpStream::set_linger` on macOS
124 * `TcpSocket::set_linger()` configures SO_LINGER