Lines Matching refs:EINVAL
388 return Err(SystemError::EINVAL); in accept4()
457 return Err(SystemError::EINVAL); in getsockname()
463 let endpoint: Endpoint = socket.endpoint().ok_or(SystemError::EINVAL)?; in getsockname()
486 return Err(SystemError::EINVAL); in getpeername()
493 let endpoint: Endpoint = socket.peer_endpoint().ok_or(SystemError::EINVAL)?; in getpeername()
574 return Err(SystemError::EINVAL); in to_endpoint()
590 .map_err(|_| SystemError::EINVAL)? in to_endpoint()
592 .map_err(|_| SystemError::EINVAL)?; in to_endpoint()
610 return Err(SystemError::EINVAL); in to_endpoint()
614 return Err(SystemError::EINVAL); in to_endpoint()
617 return Err(SystemError::EINVAL); in to_endpoint()
629 AddressFamily::Unix => Err(SystemError::EINVAL), in len()
630 _ => Err(SystemError::EINVAL), in len()
936 None => Err(SystemError::EINVAL), in try_from()
1025 None => Err(SystemError::EINVAL), in try_from()