| /external/rust/crates/thiserror/tests/ |
| D | test_display.rs | 14 struct Error { in test_braced() struct 15 msg: String, in test_braced() 26 struct Error { in test_braced_unused() struct 27 extra: usize, in test_braced_unused() 37 struct Error(usize); in test_tuple() struct 46 struct Error; in test_unit() struct 54 enum Error { in test_enum() enum 72 struct Error { in test_constants() struct 73 id: &'static str, in test_constants() 86 enum Error { in test_inherit() enum [all …]
|
| /external/rust/crates/futures-sink/src/ |
| D | lib.rs | 49 type Error; typedef 63 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_ready() argument 84 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>; in start_send() argument 98 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_flush() argument 111 fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_close() argument 115 type Error = S::Error; typedef 117 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready() argument 121 fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send() argument 125 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush() argument 129 fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close() argument [all …]
|
| /external/rust/crates/serde_cbor/src/ |
| D | error.rs | 13 pub struct Error(ErrorImpl); struct 31 impl Error { impl 37 pub(crate) fn syntax(code: ErrorCode, offset: u64) -> Error { in syntax() 42 pub(crate) fn io(error: io::Error) -> Error { in io() 60 pub fn scratch_too_small(offset: u64) -> Error { in scratch_too_small() 68 pub(crate) fn scratch_too_small(offset: u64) -> Error { in scratch_too_small() 79 pub fn message<T: fmt::Display>(_msg: T) -> Error { in message() 97 pub(crate) fn message<T: fmt::Display>(_msg: T) -> Error { in message() 117 pub fn eof(offset: u64) -> Error { in eof() 196 impl error::Error for Error { implementation [all …]
|
| /external/rust/crates/csv/src/ |
| D | serializer.rs | 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() 49 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error> { in serialize_i8() 54 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error> { in serialize_i16() 59 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error> { in serialize_i32() 64 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error> { in serialize_i64() 75 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error> { in serialize_u8() 80 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error> { in serialize_u16() 85 fn serialize_u32(self, v: u32) -> Result<Self::Ok, Self::Error> { in serialize_u32() [all …]
|
| /external/rust/crates/log/src/kv/ |
| D | error.rs | 5 pub struct Error { struct 17 impl Error { impl 26 impl fmt::Display for Error { implementation 38 impl From<fmt::Error> for Error { implementation 51 impl Error { implementation 63 impl error::Error for Error {} implementation 65 impl From<io::Error> for Error { implementation
|
| /external/crosvm/sys_util/src/ |
| D | errno.rs | 15 pub struct Error(i32); struct 18 impl Error { implementation 20 pub fn new(e: i32) -> Error { in new() 38 impl From<io::Error> for Error { implementation 44 impl From<Error> for io::Error { implementation 45 fn from(e: Error) -> io::Error { in from() 50 impl std::error::Error for Error {} implementation 52 impl Display for Error { implementation
|
| /external/rust/crates/tinytemplate/src/ |
| D | error.rs | 11 pub enum Error { enum 47 impl From<SerdeJsonError> for Error { implementation 48 fn from(err: SerdeJsonError) -> Error { in from() 52 impl From<fmt::Error> for Error { implementation 53 fn from(err: fmt::Error) -> Error { in from() 57 impl fmt::Display for Error { implementation 109 impl StdError for Error { implementation 126 pub(crate) fn lookup_error(source: &str, step: &str, path: PathSlice, current: &Value) -> Error { in lookup_error() 156 pub(crate) fn truthiness_error(source: &str, path: PathSlice) -> Error { in truthiness_error() 174 pub(crate) fn not_iterable_error(source: &str, path: PathSlice) -> Error { in not_iterable_error() [all …]
|
| /external/rust/crates/walkdir/src/ |
| D | error.rs | 28 pub struct Error { struct 30 inner: ErrorInner, argument 35 Io { path: Option<PathBuf>, err: io::Error }, argument 39 impl Error { implementation 143 pub fn io_error(&self) -> Option<&io::Error> { in io_error() 155 pub fn into_io_error(self) -> Option<io::Error> { in into_io_error() 165 err: io::Error, in from_path() 202 impl error::Error for Error { implementation 211 fn cause(&self) -> Option<&dyn error::Error> { in cause() 223 impl fmt::Display for Error { implementation [all …]
|
| /external/rust/crates/futures-channel/src/mpsc/ |
| D | sink_impl.rs | 7 type Error = SendError; typedef 12 ) -> Poll<Result<(), Self::Error>> { in poll_ready() 19 ) -> Result<(), Self::Error> { in start_send() 26 ) -> Poll<Result<(), Self::Error>> { in poll_flush() 39 ) -> Poll<Result<(), Self::Error>> { in poll_close() 46 type Error = SendError; typedef 51 ) -> Poll<Result<(), Self::Error>> { in poll_ready() 58 ) -> Result<(), Self::Error> { in start_send() 65 ) -> Poll<Result<(), Self::Error>> { in poll_flush() 72 ) -> Poll<Result<(), Self::Error>> { in poll_close() [all …]
|
| /external/rust/crates/regex-automata/src/ |
| D | error.rs | 11 pub struct Error { struct 12 kind: ErrorKind, argument 56 impl Error { impl 62 pub(crate) fn syntax(err: regex_syntax::Error) -> Error { in syntax() 82 pub(crate) fn serialize(message: &str) -> Error { in serialize() 86 pub(crate) fn state_id_overflow(max: usize) -> Error { in state_id_overflow() 93 ) -> Error { in premultiply_overflow() 98 impl error::Error for Error { implementation 114 impl fmt::Display for Error { implementation
|
| /external/rust/crates/serde_test/src/ |
| D | ser.rs | 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 130 fn serialize_u64(self, v: u64) -> Result<(), Error> { in serialize_u64() argument [all …]
|
| D | error.rs | 7 pub struct Error { struct 11 impl ser::Error for Error { argument 19 impl de::Error for Error { implementation 27 impl fmt::Display for Error { implementation 33 impl error::Error for Error { implementation 39 impl PartialEq<str> for Error { implementation
|
| /external/rust/crates/aho-corasick/src/ |
| D | error.rs | 10 pub struct Error { struct 11 kind: ErrorKind, argument 39 impl Error { impl 45 pub(crate) fn state_id_overflow(max: usize) -> Error { in state_id_overflow() 52 ) -> Error { in premultiply_overflow() 57 impl error::Error for Error { implementation 70 impl fmt::Display for Error { implementation
|
| /external/rust/crates/uuid/src/ |
| D | error.rs | 8 pub struct Error(Inner); struct 31 impl From<builder::Error> for Error { implementation 37 impl From<parser::Error> for Error { implementation 43 impl fmt::Display for Error { implementation 57 impl error::Error for Error { implementation 71 impl Error { impl 72 pub(crate) fn expect_parser(self) -> parser::Error { in expect_parser()
|
| /external/rust/crates/gdbstub/src/connection/impls/ |
| D | boxed.rs | 6 type Error = E; typedef 8 fn read(&mut self) -> Result<u8, Self::Error> { in read() 12 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 16 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 20 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 24 fn peek(&mut self) -> Result<Option<u8>, Self::Error> { in peek() 28 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 32 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start()
|
| D | tcpstream.rs | 6 type Error = std::io::Error; typedef 8 fn read(&mut self) -> Result<u8, Self::Error> { in read() 20 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 28 fn peek(&mut self) -> Result<Option<u8>, Self::Error> { in peek() 39 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 45 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 51 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 57 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start()
|
| D | mod.rs | 16 type Error = E; typedef 18 fn read(&mut self) -> Result<u8, Self::Error> { in read() 22 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 26 fn write(&mut self, byte: u8) -> Result<(), Self::Error> { in write() 30 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 34 fn peek(&mut self) -> Result<Option<u8>, Self::Error> { in peek() 38 fn flush(&mut self) -> Result<(), Self::Error> { in flush() 42 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start()
|
| /external/rust/crates/serde_cbor/src/value/ |
| D | ser.rs | 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 87 fn serialize_u16(self, value: u16) -> Result<Value, Error> { in serialize_u16() argument 92 fn serialize_u32(self, value: u32) -> Result<Value, Error> { in serialize_u32() argument [all …]
|
| /external/adhd/sound_card_init/dsm/src/ |
| D | error.rs | 21 pub enum Error { enum 51 impl PartialEq for Error { implementation 61 impl From<cros_alsa::CardError> for Error { implementation 62 fn from(err: cros_alsa::CardError) -> Error { in from() 67 impl From<cros_alsa::ControlError> for Error { implementation 68 fn from(err: cros_alsa::ControlError) -> Error { in from() 73 impl From<cros_alsa::ControlTLVError> for Error { implementation 74 fn from(err: cros_alsa::ControlTLVError) -> Error { in from() 79 impl<T> From<PoisonError<T>> for Error { implementation 80 fn from(_: PoisonError<T>) -> Error { in from() [all …]
|
| /external/tensorflow/tensorflow/security/advisory/ |
| D | tfsa-2018-002.md | 3 ### CVE Number 7 ### Issue Description 12 ### Impact 17 ### Vulnerable Versions 21 ### Mitigation 31 ### Credits
|
| /external/rust/crates/serde/src/ser/ |
| D | mod.rs | 139 pub trait Error: Sized $(+ $($supertrait)::+)* { trait 343 type Error: Error; typedef 403 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error>; in serialize_bool() 425 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error>; in serialize_i8() 447 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error>; in serialize_i16() 469 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error>; in serialize_i32() 487 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error>; in serialize_i64() 535 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error>; in serialize_u8() 557 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error>; in serialize_u16() 579 fn serialize_u32(self, v: u32) -> Result<Self::Ok, Self::Error>; in serialize_u32() [all …]
|
| /external/rust/crates/gdbstub/src/connection/ |
| D | mod.rs | 10 type Error; typedef 13 fn read(&mut self) -> Result<u8, Self::Error>; in read() 21 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() 29 fn write(&mut self, byte: u8) -> Result<(), Self::Error>; in write() 37 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() 46 fn peek(&mut self) -> Result<Option<u8>, Self::Error>; in peek() 54 fn flush(&mut self) -> Result<(), Self::Error>; in flush() 68 fn on_session_start(&mut self) -> Result<(), Self::Error> { in on_session_start()
|
| /external/rust/crates/rusqlite/src/ |
| D | error.rs | 14 pub enum Error { enum 120 impl PartialEq for Error { implementation 167 impl From<str::Utf8Error> for Error { implementation 168 fn from(err: str::Utf8Error) -> Error { in from() 173 impl From<::std::ffi::NulError> for Error { implementation 174 fn from(err: ::std::ffi::NulError) -> Error { in from() 183 impl From<FromSqlError> for Error { implementation 184 fn from(err: FromSqlError) -> Error { in from() 205 impl fmt::Display for Error { implementation 280 impl error::Error for Error { implementation [all …]
|
| /external/rust/crates/proc-macro-hack/src/ |
| D | parse.rs | 6 pub(crate) fn parse_input(tokens: Iter) -> Result<Input, Error> { in parse_input() argument 22 fn parse_export(attrs: TokenStream, vis: Visibility, tokens: Iter) -> Result<Export, Error> { in parse_export() argument 57 fn parse_punct(tokens: Iter, ch: char) -> Result<(), Error> { in parse_punct() argument 75 ) -> Result<Define, Error> { in parse_define() argument 87 fn parse_macro(tokens: Iter) -> Result<Macro, Error> { in parse_macro() argument 99 fn parse_ident(tokens: Iter) -> Result<Ident, Error> { in parse_ident() argument 109 fn parse_keyword(tokens: Iter, kw: &'static str) -> Result<(), Error> { in parse_keyword() argument 127 fn parse_group(tokens: Iter, delimiter: Delimiter) -> Result<IterImpl, Error> { in parse_group() argument 139 fn parse_visibility(tokens: Iter) -> Result<Visibility, Error> { in parse_visibility() argument 151 fn parse_attributes(tokens: Iter) -> Result<TokenStream, Error> { in parse_attributes() argument [all …]
|
| /external/rust/crates/rand_core/src/ |
| D | error.rs | 21 pub struct Error { struct 23 inner: Box<dyn std::error::Error + Send + Sync + 'static>, argument 28 impl Error { argument 118 impl fmt::Debug for Error { implementation 135 impl fmt::Display for Error { implementation 152 impl From<NonZeroU32> for Error { implementation 169 impl From<getrandom::Error> for Error { implementation 186 impl std::error::Error for Error { implementation 194 impl From<Error> for std::io::Error { implementation
|