/external/rust/crates/csv/src/ |
D | error.rs | 240 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() 265 pub struct Utf8Error { struct 273 pub fn new_utf8_error(field: usize, valid_up_to: usize) -> Utf8Error { in new_utf8_error() 277 impl Utf8Error { impl 288 impl StdError for Utf8Error {} implementation 290 impl fmt::Display for Utf8Error { implementation
|
D | byte_record.rs | 542 pub(crate) fn validate(&self) -> result::Result<(), Utf8Error> { in validate() argument
|
/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() 531 fn slow(slice: &[u8]) -> Result<(), Utf8Error> { in validate() argument 865 fn utf8e(valid_up_to: usize) -> Utf8Error { in utf8e() 869 fn utf8e2(valid_up_to: usize, error_len: usize) -> Utf8Error { in utf8e2()
|
D | ext_slice.rs | 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
|
D | ext_vec.rs | 1029 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error()
|
/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/protobuf/src/ |
D | error.rs | 28 Utf8Error, enumerator
|
D | chars.rs | 23 pub fn from_bytes(bytes: Bytes) -> Result<Chars, str::Utf8Error> { in from_bytes()
|
/external/rust/crates/grpcio/src/ |
D | auth_context.rs | 136 pub fn value_str(&self) -> Result<&'a str, std::str::Utf8Error> { in value_str()
|
/external/rust/crates/rusqlite/src/ |
D | error.rs | 33 Utf8Error(str::Utf8Error), enumerator
|
/external/rust/cxx/src/ |
D | cxx_string.rs | 133 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument
|
/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/adhd/cros_alsa/src/ |
D | control_primitive.rs | 63 Utf8Error(str::Utf8Error), enumerator
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_utils.rs | 163 Utf8Error(Utf8Error), enumerator
|