Home
last modified time | relevance | path

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

12345678910>>...200

/third_party/rust/crates/serde/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 …]
Dfmt.rs2 use ser::{Error, Impossible, Serialize, Serializer};
4 impl Error for fmt::Error { implementation
6 fmt::Error in custom()
39 type Error = fmt::Error; typedef
40 type SerializeSeq = Impossible<(), fmt::Error>;
41 type SerializeTuple = Impossible<(), fmt::Error>;
42 type SerializeTupleStruct = Impossible<(), fmt::Error>;
43 type SerializeTupleVariant = Impossible<(), fmt::Error>;
44 type SerializeMap = Impossible<(), fmt::Error>;
45 type SerializeStruct = Impossible<(), fmt::Error>;
[all …]
/third_party/node/lib/internal/
Derrors.js25 Error,
76 const MainContextError = Error;
126 if (typeof globalThis.Error?.prepareStackTrace === 'function') {
127 return globalThis.Error.prepareStackTrace(error, trace);
195 class SystemError extends Error {
197 const limit = Error.stackTraceLimit;
198 Error.stackTraceLimit = 0;
201 Error.stackTraceLimit = limit;
310 const limit = Error.stackTraceLimit;
311 Error.stackTraceLimit = 0;
[all …]
/third_party/rust/crates/serde/serde/src/de/
Dmod.rs131 pub use std::error::Error as StdError;
134 pub use std_error::Error as StdError;
139 (Error: Sized $(+ $($supertrait:ident)::+)*) => {
160 pub trait Error: Sized $(+ $($supertrait)::+)* { trait
209 Error::custom(format_args!("invalid type: {}, expected {}", unexp, exp))
227 Error::custom(format_args!("invalid value: {}, expected {}", unexp, exp))
241 Error::custom(format_args!("invalid length {}, expected {}", len, exp))
249 Error::custom(format_args!(
254 Error::custom(format_args!(
267 Error::custom(format_args!(
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DvalidationEGL.h40 Error ValidateDisplay(const Display *display);
41 Error ValidateSurface(const Display *display, const Surface *surface);
42 Error ValidateConfig(const Display *display, const Config *config);
43 Error ValidateContext(const Display *display, const gl::Context *context);
44 Error ValidateImage(const Display *display, const Image *image);
45 Error ValidateDevice(const Device *device);
46 Error ValidateSync(const Display *display, const Sync *sync);
63 Error ValidateInitialize(const Display *display);
65 Error ValidateTerminate(const Display *display);
67 Error ValidateCreateContext(Display *display,
[all …]
DError.inc6 // Error.inc: Inline definitions of egl::Error and gl::Error classes which encapsulate API errors
16 Error::Error(EGLint errorCode)
22 Error::Error(const Error &other)
33 Error::Error(Error &&other)
40 Error &Error::operator=(const Error &other)
58 Error &Error::operator=(Error &&other)
70 EGLint Error::getCode() const
75 EGLint Error::getID() const
80 bool Error::isError() const
86 Error Error::NoError()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DErrors.h27 static Napi::Error HierarchyRequestError(Napi::Env);
28 static Napi::Error WrongDocumentError(Napi::Env);
29 static Napi::Error InvalidCharacterError(Napi::Env);
30 static Napi::Error NoModificationAllowedError(Napi::Env);
31 static Napi::Error NotFoundError(Napi::Env);
32 static Napi::Error NotSupportedError(Napi::Env);
33 static Napi::Error InUseAttributeError(Napi::Env);
34 static Napi::Error InvalidStateError(Napi::Env);
35 static Napi::Error SyntaxError(Napi::Env);
36 static Napi::Error InvalidModificationError(Napi::Env);
[all …]
/third_party/skia/third_party/externals/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 …]
DSymbolRecordMapping.cpp20 Error operator()(CodeViewRecordIO &IO, LocalVariableAddrGap &Gap) const { in operator ()()
23 return Error::success(); in operator ()()
28 static Error mapLocalVariableAddrRange(CodeViewRecordIO &IO, in mapLocalVariableAddrRange()
33 return Error::success(); in mapLocalVariableAddrRange()
36 Error SymbolRecordMapping::visitSymbolBegin(CVSymbol &Record) { in visitSymbolBegin()
38 return Error::success(); in visitSymbolBegin()
41 Error SymbolRecordMapping::visitSymbolEnd(CVSymbol &Record) { in visitSymbolEnd()
44 return Error::success(); in visitSymbolEnd()
47 Error SymbolRecordMapping::visitKnownRecord(CVSymbol &CVR, BlockSym &Block) { in visitKnownRecord()
56 return Error::success(); in visitKnownRecord()
[all …]
DTypeDumpVisitor.cpp169 Error TypeDumpVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
173 Error TypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
180 return Error::success(); in visitTypeBegin()
183 Error TypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
189 return Error::success(); in visitTypeEnd()
192 Error TypeDumpVisitor::visitMemberBegin(CVMemberRecord &Record) { in visitMemberBegin()
198 return Error::success(); in visitMemberBegin()
201 Error TypeDumpVisitor::visitMemberEnd(CVMemberRecord &Record) { in visitMemberEnd()
207 return Error::success(); in visitMemberEnd()
210 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
DSymbolDumper.cpp40 Error visitKnownRecord(CVSymbol &CVR, Name &Record) override;
44 Error visitSymbolBegin(CVSymbol &Record) override;
45 Error visitSymbolEnd(CVSymbol &Record) override;
46 Error visitUnknownSymbol(CVSymbol &Record) override;
103 Error CVSymbolDumperImpl::visitSymbolBegin(CVSymbol &CVR) { in visitSymbolBegin()
108 return Error::success(); in visitSymbolBegin()
111 Error CVSymbolDumperImpl::visitSymbolEnd(CVSymbol &CVR) { in visitSymbolEnd()
117 return Error::success(); in visitSymbolEnd()
120 Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR, BlockSym &Block) { in visitKnownRecord()
132 return Error::success(); in visitKnownRecord()
[all …]
/third_party/rust/crates/serde/serde_test/src/
Dconfigure.rs94 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize()
106 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize()
117 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
128 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
142 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize()
155 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize()
174 forward_method!($name(self, v : $arg_type) -> Result<Self::Ok, Self::Error>);
186 type Error = S::Error;
219 fn serialize_unit(self) -> Result<S::Ok, S::Error> {
228 ) -> Result<S::Ok, S::Error> {
[all …]
Dser.rs3 use error::Error;
80 type Error = Error; typedef
90 fn serialize_bool(self, v: bool) -> Result<(), Error> { in serialize_bool() argument
95 fn serialize_i8(self, v: i8) -> Result<(), Error> { in serialize_i8() argument
100 fn serialize_i16(self, v: i16) -> Result<(), Error> { in serialize_i16() argument
105 fn serialize_i32(self, v: i32) -> Result<(), Error> { in serialize_i32() argument
110 fn serialize_i64(self, v: i64) -> Result<(), Error> { in serialize_i64() argument
115 fn serialize_u8(self, v: u8) -> Result<(), Error> { in serialize_u8() argument
120 fn serialize_u16(self, v: u16) -> Result<(), Error> { in serialize_u16() argument
125 fn serialize_u32(self, v: u32) -> Result<(), Error> { in serialize_u32() argument
[all …]
/third_party/rust/crates/cxx/syntax/
Derror.rs4 pub struct Error { struct
10 impl Display for Error { implementation
16 pub static ERRORS: &[Error] = &[
30 pub static BOX_CXX_TYPE: Error = Error {
36 pub static CXXBRIDGE_RESERVED: Error = Error {
42 pub static CXX_STRING_BY_VALUE: Error = Error {
48 pub static CXX_TYPE_BY_VALUE: Error = Error {
54 pub static DISCRIMINANT_OVERFLOW: Error = Error {
60 pub static DOT_INCLUDE: Error = Error {
66 pub static DOUBLE_UNDERSCORE: Error = Error {
[all …]
/third_party/rust/crates/nom/src/bytes/
Dcomplete.rs32 pub fn tag<T, Input, Error: ParseError<Input>>( in tag()
34 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag()
42 let res: IResult<_, _, Error> = match i.compare(t) { in tag()
46 Err(Err::Error(Error::from_error_kind(i, e))) in tag()
74 pub fn tag_no_case<T, Input, Error: ParseError<Input>>( in tag_no_case()
76 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag_no_case()
85 let res: IResult<_, _, Error> = match (i).compare_no_case(t) { in tag_no_case()
89 Err(Err::Error(Error::from_error_kind(i, e))) in tag_no_case()
117 pub fn is_not<T, Input, Error: ParseError<Input>>( in is_not()
119 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in is_not()
[all …]
Dstreaming.rs31 pub fn tag<T, Input, Error: ParseError<Input>>( in tag()
33 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag()
42 let res: IResult<_, _, Error> = match i.compare(t) { in tag()
45 CompareResult::Error => { in tag()
47 Err(Err::Error(Error::from_error_kind(i, e))) in tag()
73 pub fn tag_no_case<T, Input, Error: ParseError<Input>>( in tag_no_case()
75 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag_no_case()
84 let res: IResult<_, _, Error> = match (i).compare_no_case(t) { in tag_no_case()
87 CompareResult::Error => { in tag_no_case()
89 Err(Err::Error(Error::from_error_kind(i, e))) in tag_no_case()
[all …]
/third_party/rust/crates/log/src/kv/
Derror.rs5 pub struct Error { struct
14 Value(value_bag::Error), argument
18 impl Error { impl
21 Error { in msg()
27 pub(super) fn from_value(err: value_bag::Error) -> Self { in from_value()
28 Error { in from_value()
34 pub(super) fn into_value(self) -> value_bag::Error { in into_value() argument
38 _ => value_bag::Error::boxed(self), in into_value()
40 _ => value_bag::Error::msg("error inspecting a value"), in into_value()
45 impl fmt::Display for Error { implementation
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DBlockIndexer.cpp18 Error BlockIndexer::visit(BufferExtents &) { return Error::success(); } in visit()
20 Error BlockIndexer::visit(WallclockRecord &R) { in visit()
23 return Error::success(); in visit()
26 Error BlockIndexer::visit(NewCPUIDRecord &R) { in visit()
28 return Error::success(); in visit()
31 Error BlockIndexer::visit(TSCWrapRecord &R) { in visit()
33 return Error::success(); in visit()
36 Error BlockIndexer::visit(CustomEventRecord &R) { in visit()
38 return Error::success(); in visit()
41 Error BlockIndexer::visit(CustomEventRecordV5 &R) { in visit()
[all …]
DRecordPrinter.cpp15 Error RecordPrinter::visit(BufferExtents &R) { in visit()
17 return Error::success(); in visit()
20 Error RecordPrinter::visit(WallclockRecord &R) { in visit()
23 return Error::success(); in visit()
26 Error RecordPrinter::visit(NewCPUIDRecord &R) { in visit()
28 return Error::success(); in visit()
31 Error RecordPrinter::visit(TSCWrapRecord &R) { in visit()
33 return Error::success(); in visit()
36 Error RecordPrinter::visit(CustomEventRecord &R) { in visit()
41 return Error::success(); in visit()
[all …]
DFDRTraceExpander.cpp21 Error TraceExpander::visit(BufferExtents &) { in visit()
23 return Error::success(); in visit()
26 Error TraceExpander::visit(WallclockRecord &) { return Error::success(); } in visit()
28 Error TraceExpander::visit(NewCPUIDRecord &R) { in visit()
31 return Error::success(); in visit()
34 Error TraceExpander::visit(TSCWrapRecord &R) { in visit()
36 return Error::success(); in visit()
39 Error TraceExpander::visit(CustomEventRecord &R) { in visit()
50 return Error::success(); in visit()
53 Error TraceExpander::visit(CustomEventRecordV5 &R) { in visit()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_depth_test.cc50 ASSERT_TRUE(r.IsSuccess()) << r.Error(); in TEST_F()
93 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
94 EXPECT_EQ("17: invalid value for TEST", r.Error()); in TEST_F()
120 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
121 EXPECT_EQ("16: invalid value for TEST: foo", r.Error()); in TEST_F()
147 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
148 EXPECT_EQ("18: invalid value for WRITE", r.Error()); in TEST_F()
174 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
175 EXPECT_EQ("17: invalid value for WRITE: foo", r.Error()); in TEST_F()
201 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DError.inc6 // Error.inc: Inline definitions of egl::Error and gl::Error classes which encapsulate API errors
16 Error::Error(EGLint errorCode)
22 Error::Error(const Error &other)
33 Error::Error(Error &&other)
40 Error &Error::operator=(const Error &other)
58 Error &Error::operator=(Error &&other)
70 EGLint Error::getCode() const
75 EGLint Error::getID() const
80 bool Error::isError() const
86 Error Error::NoError()
[all …]
/third_party/typescript/tests/baselines/reference/
DarrowFunctionWithObjectLiteralBody6.types2 var a = () => <Error>{ name: "foo", message: "bar" };
3 >a : () => Error
4 >() => <Error>{ name: "foo", message: "bar" } : () => Error
5 ><Error>{ name: "foo", message: "bar" } : Error
12 var b = () => (<Error>{ name: "foo", message: "bar" });
13 >b : () => Error
14 >() => (<Error>{ name: "foo", message: "bar" }) : () => Error
15 >(<Error>{ name: "foo", message: "bar" }) : Error
16 ><Error>{ name: "foo", message: "bar" } : Error
33 var d = () => ((<Error>({ name: "foo", message: "bar" })));
[all …]
DarrowFunctionWithObjectLiteralBody5.types2 var a = () => <Error>{ name: "foo", message: "bar" };
3 >a : () => Error
4 >() => <Error>{ name: "foo", message: "bar" } : () => Error
5 ><Error>{ name: "foo", message: "bar" } : Error
12 var b = () => (<Error>{ name: "foo", message: "bar" });
13 >b : () => Error
14 >() => (<Error>{ name: "foo", message: "bar" }) : () => Error
15 >(<Error>{ name: "foo", message: "bar" }) : Error
16 ><Error>{ name: "foo", message: "bar" } : Error
33 var d = () => ((<Error>({ name: "foo", message: "bar" })));
[all …]

12345678910>>...200