Lines Matching refs:i32
81 .get_socket(fd as i32) in setsockopt()
107 .get_socket(fd as i32) in getsockopt()
112 let optname = PosixSocketOption::try_from(optname as i32) in getsockopt()
148 let optname = PosixTcpSocketOptions::try_from(optname as i32) in getsockopt()
170 .get_socket(fd as i32) in connect()
188 .get_socket(fd as i32) in bind()
218 .get_socket(fd as i32) in sendto()
241 .get_socket(fd as i32) in recvfrom()
272 .get_socket(fd as i32) in recvmsg()
301 .get_socket(fd as i32) in listen()
316 .get_socket(fd as i32) in shutdown()
319 socket.shutdown(ShutdownType::try_from(how as i32)?)?; in shutdown()
332 .get_socket(fd as i32) in accept()
375 .get_socket(fd as i32) in getsockname()
405 .get_socket(fd as i32) in getpeername()
822 impl TryFrom<i32> for PosixSocketOption {
825 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from()
833 impl Into<i32> for PosixSocketOption {
834 fn into(self) -> i32 { in into() argument
911 impl TryFrom<i32> for PosixTcpSocketOptions {
914 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from()
922 impl Into<i32> for PosixTcpSocketOptions {
923 fn into(self) -> i32 { in into() argument