Home
last modified time | relevance | path

Searched defs:Utf8Error (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/csv/src/
Derror.rs240 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
Dbyte_record.rs542 pub(crate) fn validate(&self) -> result::Result<(), Utf8Error> { in validate() argument
/external/rust/crates/bstr/src/
Dutf8.rs410 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()
Dext_slice.rs247 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
Dext_vec.rs1029 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error()
/external/rust/crates/nom/tests/
Dnamed_args.rs46 fn byte_slice_to_str<'a>(s: &'a[u8]) -> Result<&'a str, str::Utf8Error> { in byte_slice_to_str() argument
Dini.rs19 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/
Derror.rs28 Utf8Error, enumerator
Dchars.rs23 pub fn from_bytes(bytes: Bytes) -> Result<Chars, str::Utf8Error> { in from_bytes()
/external/rust/crates/grpcio/src/
Dauth_context.rs136 pub fn value_str(&self) -> Result<&'a str, std::str::Utf8Error> { in value_str()
/external/rust/crates/rusqlite/src/
Derror.rs33 Utf8Error(str::Utf8Error), enumerator
/external/rust/cxx/src/
Dcxx_string.rs133 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str() argument
/external/rust/crates/percent-encoding/
Dlib.rs405 pub fn decode_utf8(self) -> Result<Cow<'a, str>, str::Utf8Error> { in decode_utf8() argument
/external/adhd/cros_alsa/src/
Dcontrol_primitive.rs63 Utf8Error(str::Utf8Error), enumerator
/external/crosvm/rutabaga_gfx/src/
Drutabaga_utils.rs163 Utf8Error(Utf8Error), enumerator