Home
last modified time | relevance | path

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

12345678910>>...219

/third_party/flatbuffers/rust/flexbuffers/src/builder/
Dser.rs39 fn finish_if_not_nested(&mut self) -> Result<(), Error> { in finish_if_not_nested() argument
63 fn end_vector(&mut self) -> Result<(), Error> { in end_vector() argument
68 fn end_map(&mut self) -> Result<(), Error> { in end_map() argument
77 pub enum Error { enum
83 impl std::fmt::Display for Error { implementation
84 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() argument
88 impl std::error::Error for Error {} implementation
89 impl ser::Error for Error { implementation
99 type Error = Error; typedef
100 fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_element()
[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/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 …]
DErrors.cpp50 static Napi::Error New(Napi::Env env, in New()
54 auto err = Napi::Error::New(env);
63 Napi::Error Errors::HierarchyRequestError(Napi::Env env) { in HierarchyRequestError()
67 Napi::Error Errors::WrongDocumentError(Napi::Env env) { in WrongDocumentError()
71 Napi::Error Errors::InvalidCharacterError(Napi::Env env) { in InvalidCharacterError()
75 Napi::Error Errors::NoModificationAllowedError(Napi::Env env) { in NoModificationAllowedError()
79 Napi::Error Errors::NotFoundError(Napi::Env env) { in NotFoundError()
83 Napi::Error Errors::NotSupportedError(Napi::Env env) { in NotSupportedError()
87 Napi::Error Errors::InUseAttributeError(Napi::Env env) { in InUseAttributeError()
91 Napi::Error Errors::InvalidStateError(Napi::Env env) { in InvalidStateError()
[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 …]
DCVTypeVisitor.cpp24 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord()
29 return Error::success(); in visitKnownRecord()
33 static Error visitKnownMember(CVMemberRecord &Record, in visitKnownMember()
39 return Error::success(); in visitKnownMember()
42 static Error visitMemberRecord(CVMemberRecord &Record, in visitMemberRecord()
68 return Error::success(); in visitMemberRecord()
77 Error visitTypeRecord(CVType &Record, TypeIndex Index);
78 Error visitTypeRecord(CVType &Record);
81 Error visitTypeStream(const CVTypeArray &Types);
82 Error visitTypeStream(CVTypeRange Types);
[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/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 …]
DincrementAndDecrement.types26 x++ = 4; // Error
32 x-- = 5; // Error
38 ++x = 4; // Error
44 --x = 5; // Error
66 ++x++; // Error
72 --x--; // Error
78 ++x--; // Error
84 --x++; // Error
107 ++e++; // Error
113 --e--; // Error
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbacks.h23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
32 virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
33 return Error::success(); in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
37 virtual Error visitUnknownMember(CVMemberRecord &Record) { in visitUnknownMember()
38 return Error::success(); in visitUnknownMember()
41 virtual Error visitMemberBegin(CVMemberRecord &Record) { in visitMemberBegin()
42 return Error::success(); in visitMemberBegin()
45 virtual Error visitMemberEnd(CVMemberRecord &Record) { in visitMemberEnd()
[all …]
DTypeVisitorCallbackPipeline.h25 Error visitUnknownType(CVRecord<TypeLeafKind> &Record) override { in visitUnknownType()
30 return Error::success(); in visitUnknownType()
33 Error visitUnknownMember(CVMemberRecord &Record) override { in visitUnknownMember()
38 return Error::success(); in visitUnknownMember()
41 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin()
46 return Error::success(); in visitTypeBegin()
49 Error visitTypeBegin(CVType &Record, TypeIndex Index) override { in visitTypeBegin()
54 return Error::success(); in visitTypeBegin()
57 Error visitTypeEnd(CVType &Record) override { in visitTypeEnd()
62 return Error::success(); in visitTypeEnd()
[all …]
/third_party/node/test/fixtures/cycles/
Dwarning-skip-proxy-traps-a.js2 get(_target, prop) { throw new Error(`get: ${String(prop)}`); },
3 getPrototypeOf() { throw new Error('getPrototypeOf'); },
4 setPrototypeOf() { throw new Error('setPrototypeOf'); },
5 isExtensible() { throw new Error('isExtensible'); },
6 preventExtensions() { throw new Error('preventExtensions'); },
7 getOwnPropertyDescriptor() { throw new Error('getOwnPropertyDescriptor'); },
8 defineProperty() { throw new Error('defineProperty'); },
9 has() { throw new Error('has'); },
10 set() { throw new Error('set'); },
11 deleteProperty() { throw new Error('deleteProperty'); },
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/
Derrors.js7 if (Error.captureStackTrace)
8 Error.captureStackTrace(this, FingerprintFormatError);
18 util.inherits(FingerprintFormatError, Error);
21 if (Error.captureStackTrace)
22 Error.captureStackTrace(this, InvalidAlgorithmError);
27 util.inherits(InvalidAlgorithmError, Error);
30 if (Error.captureStackTrace)
31 Error.captureStackTrace(this, KeyParseError);
39 util.inherits(KeyParseError, Error);
42 if (Error.captureStackTrace)
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js17 retry(new Error('foo'));
27 throw new Error('should not fail');
41 retry(new Error('foo'));
51 throw new Error('should not fail');
70 throw new Error('should not fail');
82 throw new Error('foo');
86 throw new Error('should not succeed');
101 throw new Error('foo');
106 throw new Error('should not succeed');
121 throw new Error('foo');
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamReader.h57 Error readLongestContiguousChunk(ArrayRef<uint8_t> &Buffer);
66 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size);
75 template <typename T> Error readInteger(T &Dest) { in readInteger()
85 return Error::success(); in readInteger()
89 template <typename T> Error readEnum(T &Dest) { in readEnum()
96 return Error::success(); in readEnum()
103 Error readULEB128(uint64_t &Dest);
109 Error readSLEB128(int64_t &Dest);
117 Error readCString(StringRef &Dest);
124 Error readWideString(ArrayRef<UTF16> &Dest);
[all …]
DError.h157 class LLVM_NODISCARD Error {
165 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
172 friend LLVMErrorRef wrap(Error);
176 Error() { in Error() function
186 Error(const Error &Other) = delete;
191 Error(Error &&Other) { in Error() function
198 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error() function
204 Error &operator=(const Error &Other) = delete;
210 Error &operator=(Error &&Other) {
227 ~Error() { in ~Error()
[all …]

12345678910>>...219