Home
last modified time | relevance | path

Searched refs:utf8_error (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/csv/src/
Dbyte_record.rs1026 assert_eq!(err.utf8_error().field(), 1); in utf8_error_1()
1027 assert_eq!(err.utf8_error().valid_up_to(), 1); in utf8_error_1()
1036 assert_eq!(err.utf8_error().field(), 0); in utf8_error_2()
1037 assert_eq!(err.utf8_error().valid_up_to(), 0); in utf8_error_2()
1046 assert_eq!(err.utf8_error().field(), 0); in utf8_error_3()
1047 assert_eq!(err.utf8_error().valid_up_to(), 1); in utf8_error_3()
1060 assert_eq!(err.utf8_error().field(), 4); in utf8_error_4()
1061 assert_eq!(err.utf8_error().valid_up_to(), 3); in utf8_error_4()
1074 assert_eq!(err.utf8_error().field(), 4); in utf8_error_5()
1075 assert_eq!(err.utf8_error().valid_up_to(), 0); in utf8_error_5()
[all …]
Derror.rs240 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() method
Dreader.rs1483 Err(err) => (Err(err.utf8_error().clone()), bytes), in set_headers_impl()
/external/rust/cxx/gen/src/
Dmod.rs97 Err(err) => Err(Error::Utf8(path.to_owned(), err.utf8_error())), in read_to_string()
/external/rust/crates/percent-encoding/
Dlib.rs413 Err(e) => Err(e.utf8_error()), in decode_utf8()
/external/rust/crates/bstr/src/
Dext_vec.rs1029 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() method
/external/crosvm/disk/src/qcow/
Dmod.rs263 .map_err(|err| Error::InvalidBackingFileName(err.utf8_error()))?, in new()