/external/rust/crates/csv/src/ |
D | error.rs | 71 err: Utf8Error, 225 err: Utf8Error, 230 pub(crate) fn new(rec: ByteRecord, err: Utf8Error) -> FromUtf8Error { in new() 240 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() argument 265 pub struct Utf8Error { struct 273 pub fn new_utf8_error(field: usize, valid_up_to: usize) -> Utf8Error { in new_utf8_error() argument 274 Utf8Error { field: field, valid_up_to: valid_up_to } in new_utf8_error() 277 impl Utf8Error { impl 288 impl StdError for Utf8Error {} implementation 290 impl fmt::Display for Utf8Error { implementation
|
D | lib.rs | 159 Error, ErrorKind, FromUtf8Error, IntoInnerError, Result, Utf8Error,
|
D | byte_record.rs | 11 use crate::error::{new_utf8_error, Result, Utf8Error}; 542 pub(crate) fn validate(&self) -> result::Result<(), Utf8Error> { in validate() argument
|
D | reader.rs | 11 use crate::error::{Error, ErrorKind, Result, Utf8Error}; 786 string_record: result::Result<StringRecord, Utf8Error>,
|
D | deserializer.rs | 678 InvalidUtf8(str::Utf8Error),
|
/external/rust/crates/protobuf/src/ |
D | error.rs | 28 Utf8Error, enumerator 42 WireError::Utf8Error => write!(f, "invalid UTF-8 sequence"), in fmt() 64 Utf8(str::Utf8Error), 99 WireError::Utf8Error => "invalid UTF-8 sequence", in description() 131 impl From<str::Utf8Error> for ProtobufError { 132 fn from(err: str::Utf8Error) -> Self { in from()
|
D | chars.rs | 23 pub fn from_bytes(bytes: Bytes) -> Result<Chars, str::Utf8Error> { in from_bytes() argument
|
D | coded_input_stream.rs | 693 Err(_) => return Err(ProtobufError::WireError(WireError::Utf8Error)), in read_string_into()
|
/external/rust/crates/rusqlite/src/ |
D | error.rs | 33 Utf8Error(str::Utf8Error), enumerator 128 (Error::Utf8Error(e1), Error::Utf8Error(e2)) => e1 == e2, in eq() 167 impl From<str::Utf8Error> for Error { 168 fn from(err: str::Utf8Error) -> Error { in from() 169 Error::Utf8Error(err) in from() 232 Error::Utf8Error(ref err) => err.fmt(f), in fmt() 284 Error::Utf8Error(ref err) => Some(err), in source()
|
/external/rust/crates/bstr/src/ |
D | utf8.rs | 410 pub struct Utf8Error { struct 415 impl Utf8Error { implementation 455 impl error::Error for Utf8Error { implementation 461 impl fmt::Display for Utf8Error { implementation 471 pub fn validate(slice: &[u8]) -> Result<(), Utf8Error> { in validate() argument 476 fn fast(slice: &[u8]) -> Result<(), Utf8Error> { in validate() argument 510 fn find_valid_up_to(slice: &[u8], rejected_at: usize) -> Utf8Error { in validate() argument 531 fn slow(slice: &[u8]) -> Result<(), Utf8Error> { in validate() argument 541 return Err(Utf8Error { valid_up_to, error_len }); in validate() 545 Err(Utf8Error { valid_up_to, error_len: None }) in validate() [all …]
|
D | ext_vec.rs | 15 use utf8::{self, Utf8Error}; 965 err: Utf8Error, 1029 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() argument
|
D | lib.rs | 406 Chars, Utf8Chunk, Utf8Chunks, Utf8Error,
|
D | ext_slice.rs | 23 use utf8::{self, CharIndices, Chars, Utf8Chunks, Utf8Error}; 247 fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument 451 fn to_os_str(&self) -> Result<&OsStr, Utf8Error> { in to_os_str() argument 454 fn imp(bytes: &[u8]) -> Result<&OsStr, Utf8Error> { in to_os_str() argument 462 fn imp(bytes: &[u8]) -> Result<&OsStr, Utf8Error> { in to_os_str() argument 535 fn to_path(&self) -> Result<&Path, Utf8Error> { in to_path() argument
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_utils.rs | 12 use std::str::Utf8Error; 163 Utf8Error(Utf8Error), enumerator 217 Utf8Error(e) => write!(f, "an utf8 error occured: {}", e), in fmt() 251 impl From<Utf8Error> for RutabagaError { 252 fn from(e: Utf8Error) -> RutabagaError { in from() 253 RutabagaError::Utf8Error(e) in from()
|
/external/adhd/cros_alsa/src/ |
D | control_primitive.rs | 63 Utf8Error(str::Utf8Error), enumerator 82 Utf8Error(e) => write!(f, "{}", e), in fmt() 93 impl From<str::Utf8Error> for Error { 94 fn from(err: str::Utf8Error) -> Error { in from() 95 Error::Utf8Error(err) in from()
|
/external/rust/cxx/src/ |
D | cxx_string.rs | 11 use core::str::{self, Utf8Error}; 133 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument
|
/external/rust/cxx/gen/src/ |
D | error.rs | 14 use std::str::Utf8Error; 22 Utf8(PathBuf, Utf8Error),
|
/external/rust/crates/grpcio/src/ |
D | auth_context.rs | 136 pub fn value_str(&self) -> Result<&'a str, std::str::Utf8Error> { in value_str() argument
|
/external/rust/crates/nom/tests/ |
D | named_args.rs | 46 fn byte_slice_to_str<'a>(s: &'a[u8]) -> Result<&'a str, str::Utf8Error> { in byte_slice_to_str() argument
|
D | ini.rs | 19 fn complete_byte_slice_to_str<'a>(s: &'a[u8]) -> Result<&'a str, str::Utf8Error> { in complete_byte_slice_to_str() argument
|
/external/rust/crates/bstr/ |
D | README.md | 211 [`Utf8Error`](https://doc.rust-lang.org/std/str/struct.Utf8Error.html) 216 implemented for `&str` types. One could use `Utf8Error` above to implement
|
/external/rust/crates/percent-encoding/ |
D | lib.rs | 405 pub fn decode_utf8(self) -> Result<Cow<'a, str>, str::Utf8Error> { in decode_utf8() argument
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 282 InvalidString(std::str::Utf8Error),
|
/external/crosvm/disk/src/qcow/ |
D | mod.rs | 40 InvalidBackingFileName(str::Utf8Error),
|