Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 5644) sorted by relevance

12345678910>>...226

/external/openscreen/platform/base/
Derror.cc11 Error::Error() = default;
13 Error::Error(const Error& error) = default;
15 Error::Error(Error&& error) noexcept = default;
17 Error::Error(Code code) : code_(code) {} in Error() function in openscreen::Error
19 Error::Error(Code code, const std::string& message) in Error() function in openscreen::Error
22 Error::Error(Code code, std::string&& message) in Error() function in openscreen::Error
25 Error::~Error() = default;
27 Error& Error::operator=(const Error& other) = default;
29 Error& Error::operator=(Error&& other) = default;
31 bool Error::operator==(const Error& other) const { in operator ==()
[all …]
/external/doclava/src/com/google/doclava/
DErrors.java32 final Error error;
36 ErrorMessage(int r, Error e, SourcePositionInfo p, String m) { in ErrorMessage()
79 public Error error() { in error()
84 public static void error(Error error, MemberInfo mi, String text) { in error()
104 public static void error(Error error, SourcePositionInfo where, String text) { in error()
177 public static class Error { class in Errors
191 private final Error parent;
193 public Error(int code, int level) { in Error() method in Errors.Error
200 public Error(int code, Error parent) { in Error() method in Errors.Error
251 public static final List<Error> sErrors = new ArrayList<>();
[all …]
/external/rust/crates/rusqlite/src/
Derror.rs14 pub enum Error { enum
16 SqliteFailure(ffi::Error, Option<String>),
24 FromSqlConversionFailure(usize, Type, Box<dyn error::Error + Send + Sync + 'static>),
83 UserFunctionError(Box<dyn error::Error + Send + Sync + 'static>),
86 ToSqlConversionFailure(Box<dyn error::Error + Send + Sync + 'static>),
120 impl PartialEq for Error { implementation
121 fn eq(&self, other: &Error) -> bool { in eq()
123 (Error::SqliteFailure(e1, s1), Error::SqliteFailure(e2, s2)) => e1 == e2 && s1 == s2, in eq()
124 (Error::SqliteSingleThreadedMode, Error::SqliteSingleThreadedMode) => true, in eq()
125 (Error::IntegralValueOutOfRange(i1, n1), Error::IntegralValueOutOfRange(i2, n2)) => { in eq()
[all …]
/external/rust/crates/serde/src/ser/
Dimpossible.rs60 pub struct Impossible<Ok, Error> {
63 error: PhantomData<Error>,
68 impl<Ok, Error> SerializeSeq for Impossible<Ok, Error>
70 Error: ser::Error,
73 type Error = Error; typedef
75 fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_element()
83 fn end(self) -> Result<Ok, Error> { in end() argument
88 impl<Ok, Error> SerializeTuple for Impossible<Ok, Error>
90 Error: ser::Error,
93 type Error = Error; typedef
[all …]
Dmod.rs120 pub use std::error::Error as StdError;
123 pub use std_error::Error as StdError;
128 (Error: Sized $(+ $($supertrait:ident)::+)*) => {
139 pub trait Error: Sized $(+ $($supertrait)::+)* { trait
183 declare_error_trait!(Error: Sized + StdError);
186 declare_error_trait!(Error: Sized + Debug + Display);
247 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize()
343 type Error: Error; typedef
349 type SerializeSeq: SerializeSeq<Ok = Self::Ok, Error = Self::Error>;
355 type SerializeTuple: SerializeTuple<Ok = Self::Ok, Error = Self::Error>;
[all …]
/external/rust/crates/thiserror/tests/
Dtest_display.rs4 use thiserror::Error;
12 #[derive(Error, Debug)] in test_braced()
14 struct Error { in test_braced() struct
19 assert("braced error: T", Error { msg }); in test_braced()
24 #[derive(Error, Debug)] in test_braced_unused()
26 struct Error { in test_braced_unused() struct
30 assert("braced error", Error { extra: 0 }); in test_braced_unused()
35 #[derive(Error, Debug)] in test_tuple()
37 struct Error(usize); in test_tuple() struct
39 assert("tuple error: 0", Error(0)); in test_tuple()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DARMAttributeParser.h26 Error (ARMAttributeParser::*routine)(ARMBuildAttrs::AttrType);
30 Error handler(uint64_t tag, bool &handled) override;
32 Error stringAttribute(ARMBuildAttrs::AttrType tag);
34 Error CPU_arch(ARMBuildAttrs::AttrType tag);
35 Error CPU_arch_profile(ARMBuildAttrs::AttrType tag);
36 Error ARM_ISA_use(ARMBuildAttrs::AttrType tag);
37 Error THUMB_ISA_use(ARMBuildAttrs::AttrType tag);
38 Error FP_arch(ARMBuildAttrs::AttrType tag);
39 Error WMMX_arch(ARMBuildAttrs::AttrType tag);
40 Error Advanced_SIMD_arch(ARMBuildAttrs::AttrType tag);
[all …]
/external/rust/crates/tinytemplate/src/
Derror.rs4 use serde_json::Error as SerdeJsonError;
6 use std::error::Error as StdError;
11 pub enum Error { enum
29 err: fmt::Error,
33 err: Box<Error>,
39 err: Box<Error>,
47 impl From<SerdeJsonError> for Error { implementation
48 fn from(err: SerdeJsonError) -> Error { in from() argument
49 Error::SerdeError { err } in from()
52 impl From<fmt::Error> for Error { implementation
[all …]
/external/rust/crates/vmm_vhost/src/
Dlib.rs52 pub enum Error { enum
71 VhostOpen(std::io::Error),
74 IoctlError(std::io::Error),
76 IOError(std::io::Error),
79 VhostUserProtocol(vhost_user::Error),
82 impl std::fmt::Display for Error { implementation
85 Error::InvalidOperation => write!(f, "invalid vhost operations"), in fmt()
86 Error::InvalidGuestMemory => write!(f, "invalid guest memory object"), in fmt()
87 Error::InvalidGuestMemoryRegion => write!(f, "invalid guest memory region"), in fmt()
88 Error::InvalidQueue => write!(f, "invalid virtque"), in fmt()
[all …]
/external/openscreen/cast/sender/channel/
Dcast_auth_util.cc43 Error ParseAuthMessage(const CastMessage& challenge_reply, in ParseAuthMessage()
47 return Error(Error::Code::kCastV2WrongPayloadType, in ParseAuthMessage()
51 return Error(Error::Code::kCastV2NoPayload, PARSE_ERROR_PREFIX in ParseAuthMessage()
55 return Error(Error::Code::kCastV2PayloadParsingFailed, PARSE_ERROR_PREFIX in ParseAuthMessage()
63 return Error(Error::Code::kCastV2MessageError, ss.str()); in ParseAuthMessage()
66 return Error(Error::Code::kCastV2NoResponse, in ParseAuthMessage()
69 return Error::None(); in ParseAuthMessage()
109 Error MapToOpenscreenError(Error::Code error, bool crl_required) { in MapToOpenscreenError()
111 case Error::Code::kErrCertsMissing: in MapToOpenscreenError()
112 return Error(Error::Code::kCastV2PeerCertEmpty, in MapToOpenscreenError()
[all …]
/external/llvm-project/llvm/tools/llvm-rc/
DResourceFileWriter.h51 Error visitNullResource(const RCResource *) override;
52 Error visitAcceleratorsResource(const RCResource *) override;
53 Error visitCursorResource(const RCResource *) override;
54 Error visitDialogResource(const RCResource *) override;
55 Error visitHTMLResource(const RCResource *) override;
56 Error visitIconResource(const RCResource *) override;
57 Error visitMenuResource(const RCResource *) override;
58 Error visitVersionInfoResource(const RCResource *) override;
59 Error visitStringTableResource(const RCResource *) override;
60 Error visitUserDefinedResource(const RCResource *) override;
[all …]
/external/rust/crates/serde/src/de/
Dmod.rs129 pub use std::error::Error as StdError;
132 pub use std_error::Error as StdError;
137 (Error: Sized $(+ $($supertrait:ident)::+)*) => {
158 pub trait Error: Sized $(+ $($supertrait)::+)* { trait
207 Error::custom(format_args!("invalid type: {}, expected {}", unexp, exp))
225 Error::custom(format_args!("invalid value: {}, expected {}", unexp, exp))
239 Error::custom(format_args!("invalid length {}, expected {}", len, exp))
247 Error::custom(format_args!(
252 Error::custom(format_args!(
265 Error::custom(format_args!(
[all …]
/external/llvm-project/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.h72 Error dump() override;
81 Error dumpFileSummary();
82 Error dumpStreamSummary();
83 Error dumpSymbolStats();
84 Error dumpUdtStats();
85 Error dumpTypeStats();
86 Error dumpNamedStreams();
87 Error dumpStringTable();
88 Error dumpStringTableFromPdb();
89 Error dumpStringTableFromObj();
[all …]
/external/rust/crates/getrandom/src/
Derror.rs25 pub struct Error(NonZeroU32); struct
27 const fn internal_error(n: u16) -> Error { in internal_error() argument
29 let code = Error::INTERNAL_START + (n as u32); in internal_error()
30 Error(unsafe { NonZeroU32::new_unchecked(code) }) in internal_error()
33 impl Error { impl
35 pub const UNSUPPORTED: Error = internal_error(0);
37 pub const ERRNO_NOT_POSITIVE: Error = internal_error(1);
39 pub const IOS_SEC_RANDOM: Error = internal_error(3);
41 pub const WINDOWS_RTL_GEN_RANDOM: Error = internal_error(4);
43 pub const FAILED_RDRAND: Error = internal_error(5);
[all …]
/external/adhd/cras/client/libcras/src/
Dcras_client_message.rs19 pub enum Error { enum
20 IoError(io::Error),
21 SysUtilError(sys_util::Error),
22 CrasStreamError(cras_stream::Error),
32 impl error::Error for Error {} implementation
34 impl fmt::Display for Error { implementation
37 Error::IoError(ref err) => err.fmt(f), in fmt()
38 Error::SysUtilError(ref err) => err.fmt(f), in fmt()
39 Error::MessageTypeError => write!(f, "Message type error"), in fmt()
40 Error::CrasStreamError(ref err) => err.fmt(f), in fmt()
[all …]
/external/oj-libjdwp/make/data/jdwp/
Djdwp.spec41 (Error VM_DEAD)
68 (Error VM_DEAD)
90 (Error VM_DEAD)
109 (Error VM_DEAD)
124 (Error VM_DEAD)
172 (Error VM_DEAD)
190 (Error VM_DEAD)
233 (Error VM_DEAD)
266 (Error VM_DEAD)
284 (Error VM_DEAD)
[all …]
/external/crosvm/sys_util/src/
Derrno.rs15 pub struct Error(i32); struct
16 pub type Result<T> = result::Result<T, Error>;
18 impl Error { implementation
20 pub fn new(e: i32) -> Error { in new() argument
21 Error(e) in new()
28 pub fn last() -> Error { in last()
29 Error(io::Error::last_os_error().raw_os_error().unwrap()) in last()
38 impl From<io::Error> for Error { implementation
39 fn from(e: io::Error) -> Self { in from()
40 Error::new(e.raw_os_error().unwrap_or_default()) in from()
[all …]
/external/rust/crates/criterion/src/
Derror.rs1 use csv::Error as CsvError;
2 use serde_json::Error as SerdeError;
3 use std::error::Error as StdError;
9 pub enum Error { enum
12 inner: io::Error,
17 inner: io::Error,
25 impl fmt::Display for Error { implementation
28 Error::AccessError { path, inner } => { in fmt()
31 Error::CopyError { from, to, inner } => { in fmt()
34 Error::SerdeError { path, inner } => write!( in fmt()
[all …]
/external/rust/crates/uuid/src/parser/
Dmod.rs17 pub(crate) use self::error::Error;
57 pub fn parse_str(mut input: &str) -> Result<Uuid, crate::Error> { in parse_str() argument
67 Err(Error::InvalidLength { in parse_str()
85 Err(Error::InvalidLength { in parse_str()
94 Err(Error::InvalidGroupCount { in parse_str()
124 Err(Error::InvalidGroupLength { in parse_str()
138 Err(Error::InvalidCharacter { in parse_str()
164 Err(Error::InvalidGroupLength { in parse_str()
173 Err(Error::InvalidCharacter { in parse_str()
191 Err(Error::InvalidGroupLength { in parse_str()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp37 Error visitTypeBegin(CVType &Record) override;
38 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
39 Error visitTypeEnd(CVType &Record) override;
42 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
49 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
51 return Error::success(); in visitTypeBegin()
54 Error TypeNameComputer::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
58 return Error::success(); in visitTypeBegin()
61 Error TypeNameComputer::visitTypeEnd(CVType &CVR) { return Error::success(); } in visitTypeEnd()
63 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp38 Error visitTypeBegin(CVType &Record) override;
39 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
40 Error visitTypeEnd(CVType &Record) override;
43 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
50 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
52 return Error::success(); in visitTypeBegin()
55 Error TypeNameComputer::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
59 return Error::success(); in visitTypeBegin()
62 Error TypeNameComputer::visitTypeEnd(CVType &CVR) { return Error::success(); } in visitTypeEnd()
64 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
/external/rust/cxx/syntax/
Derror.rs4 pub struct Error { struct
10 impl Display for Error { argument
16 pub static ERRORS: &[Error] = &[
29 pub static BOX_CXX_TYPE: Error = Error {
35 pub static CXXBRIDGE_RESERVED: Error = Error {
41 pub static CXX_STRING_BY_VALUE: Error = Error {
47 pub static CXX_TYPE_BY_VALUE: Error = Error {
53 pub static DISCRIMINANT_OVERFLOW: Error = Error {
59 pub static DOT_INCLUDE: Error = Error {
65 pub static DOUBLE_UNDERSCORE: Error = Error {
[all …]
/external/rust/crates/serde_cbor/src/
Derror.rs13 pub struct Error(ErrorImpl); struct
16 pub type Result<T> = result::Result<T, Error>;
31 impl Error { implementation
37 pub(crate) fn syntax(code: ErrorCode, offset: u64) -> Error { in syntax() argument
38 Error(ErrorImpl { code, offset }) in syntax()
42 pub(crate) fn io(error: io::Error) -> Error { in io() argument
43 Error(ErrorImpl { in io()
51 pub fn io() -> Error { in io()
52 Error(ErrorImpl { in io()
60 pub fn scratch_too_small(offset: u64) -> Error { in scratch_too_small() argument
[all …]
/external/rust/crates/serde_cbor/src/value/
Dser.rs11 use crate::error::Error;
19 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize()
42 type Error = Error; typedef
53 fn serialize_bool(self, value: bool) -> Result<Value, Error> { in serialize_bool() argument
58 fn serialize_i8(self, value: i8) -> Result<Value, Error> { in serialize_i8() argument
63 fn serialize_i16(self, value: i16) -> Result<Value, Error> { in serialize_i16() argument
68 fn serialize_i32(self, value: i32) -> Result<Value, Error> { in serialize_i32() argument
73 fn serialize_i64(self, value: i64) -> Result<Value, Error> { in serialize_i64() argument
77 fn serialize_i128(self, value: i128) -> Result<Value, Error> { in serialize_i128() argument
82 fn serialize_u8(self, value: u8) -> Result<Value, Error> { in serialize_u8() argument
[all …]
/external/rust/crates/csv/src/
Dserializer.rs8 Error as SerdeError, Serialize, SerializeMap, SerializeSeq,
14 use crate::error::{Error, ErrorKind};
22 ) -> Result<(), Error> { in serialize() argument
32 type Error = Error; typedef
41 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error> { in serialize_bool() argument
49 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error> { in serialize_i8() argument
54 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error> { in serialize_i16() argument
59 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error> { in serialize_i32() argument
64 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error> { in serialize_i64() argument
70 fn serialize_i128(self, v: i128) -> Result<Self::Ok, Self::Error> {
[all …]

12345678910>>...226