Searched refs:utf8_error (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/csv/src/ |
D | byte_record.rs | 1026 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 …]
|
D | error.rs | 240 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() method
|
D | reader.rs | 1483 Err(err) => (Err(err.utf8_error().clone()), bytes), in set_headers_impl()
|
/external/rust/cxx/gen/src/ |
D | mod.rs | 97 Err(err) => Err(Error::Utf8(path.to_owned(), err.utf8_error())), in read_to_string()
|
/external/rust/crates/percent-encoding/ |
D | lib.rs | 413 Err(e) => Err(e.utf8_error()), in decode_utf8()
|
/external/rust/crates/bstr/src/ |
D | ext_vec.rs | 1029 pub fn utf8_error(&self) -> &Utf8Error { in utf8_error() method
|
/external/crosvm/disk/src/qcow/ |
D | mod.rs | 263 .map_err(|err| Error::InvalidBackingFileName(err.utf8_error()))?, in new()
|