Home
last modified time | relevance | path

Searched refs:SocketError (Results 1 – 15 of 15) sorted by relevance

/external/deqp/framework/delibs/decpp/
DdeSocket.cpp93 throw SocketError("Setting socket flags failed"); in setFlags()
99 throw SocketError("Listening on socket failed"); in listen()
105 throw SocketError("Connecting socket failed"); in connect()
111 throw SocketError("Socket shutdown failed"); in shutdown()
117 throw SocketError("Socket send channel shutdown failed"); in shutdownSend()
123 throw SocketError("Socket receive channel shutdown failed"); in shutdownReceive()
129 throw SocketError("Closing socket failed"); in close()
136 throw SocketError("Accepting connection to socket failed"); in accept()
DdeSocket.hpp35 class SocketError : public std::runtime_error class
38 SocketError (const std::string& message) : std::runtime_error(message) {} in SocketError() function in de::SocketError
/external/rust/crates/virtio-drivers/src/device/socket/
Dvsock.rs4 use super::error::SocketError;
185 return Err(SocketError::BufferTooShort.into());
210 return Err(SocketError::ConnectionExists.into()); in connect()
239 VsockEventType::Disconnected { .. } => Err(SocketError::ConnectionFailed.into()), in wait_for_connect()
240 VsockEventType::Received { .. } => Err(SocketError::InvalidOperation.into()), in wait_for_connect()
287 Err(SocketError::InsufficientBufferSpaceInPeer.into()) in check_peer_buffer_is_sufficient()
465 return Err(SocketError::InvalidOperation.into()); in poll_rx_queue()
508 .ok_or(SocketError::NotConnected.into()) in connection_info()
526 .ok_or(SocketError::InvalidNumber)?; in as_mut_sub_rx_buffer()
529 .ok_or(SocketError::InvalidNumber)?; in as_mut_sub_rx_buffer()
[all …]
Derror.rs7 pub enum SocketError { enum
38 impl fmt::Display for SocketError { implementation
69 pub type Result<T> = result::Result<T, SocketError>;
Dprotocol.rs3 use super::error::{self, SocketError};
104 Err(SocketError::UnexpectedDataInPacket) in check_data_is_empty()
153 type Error = SocketError;
165 _ => return Err(SocketError::UnknownOperation(v.into())), in try_from()
Dmod.rs7 pub use error::SocketError;
/external/rust/crates/virtio-drivers/src/
Dlib.rs93 SocketDeviceError(device::socket::SocketError),
125 impl From<device::socket::SocketError> for Error {
126 fn from(e: device::socket::SocketError) -> Self { in from()
/external/deqp/execserver/tools/
DxsClient.cpp45 class SocketError : public Error class
48 SocketError (deSocketResult result, const char* message, const char* file, int line) in SocketError() function in xs::SocketError
79 throw SocketError(result, "send() failed", __FILE__, __LINE__); in sendMessage()
96 throw SocketError(result, "receive() failed", __FILE__, __LINE__); in readBytes()
DxsTest.cpp51 class SocketError : public Error class
54 SocketError (deSocketResult result, const char* message, const char* file, int line) in SocketError() function in xs::SocketError
85 throw SocketError(result, "send() failed", __FILE__, __LINE__); in sendMessage()
102 throw SocketError(result, "receive() failed", __FILE__, __LINE__); in readBytes()
796 catch (const SocketError& e) in runClient()
/external/rust/crates/vsock/src/
Dlib.rs28 sockopt::{ReceiveTimeout, SendTimeout, SocketError},
142 let error = SocketError.get(self.socket)?; in take_error()
252 let error = SocketError.get(self.socket)?; in take_error()
/external/deqp/external/vulkancts/vkscserver/
DvksIPC.cpp154 catch (const de::SocketError&) in ~ParentImpl()
162 catch (const de::SocketError&) in ~ParentImpl()
/external/crosvm/third_party/vmm_vhost/src/
Dlib.rs141 SocketError(std::io::Error), enumerator
161 Error::SocketError(err) in from()
199 e => Error::SocketError(IOError::from_raw_os_error(e)), in from()
/external/crosvm/third_party/vmm_vhost/src/connection/
Dsocket.rs47 let fd = SystemListener::bind(&path).map_err(Error::SocketError)?; in new()
101 _ => return Err(Error::SocketError(e)), in accept()
114 self.fd.set_nonblocking(block).map_err(Error::SocketError) in set_nonblocking()
/external/deqp/executor/
DxeLocalTcpIpLink.cpp88 catch (const de::SocketError&) in start()
/external/rust/crates/nix/src/sys/socket/
Dsockopt.rs462 SocketError,