Home
last modified time | relevance | path

Searched refs:NulError (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/rusqlite/src/
Derror.rs37 NulError(::std::ffi::NulError), enumerator
129 (Error::NulError(e1), Error::NulError(e2)) => e1 == e2, in eq()
173 impl From<::std::ffi::NulError> for Error {
174 fn from(err: ::std::ffi::NulError) -> Error { in from()
175 Error::NulError(err) in from()
233 Error::NulError(ref err) => err.fmt(f), in fmt()
285 Error::NulError(ref err) => Some(err), in source()
/external/adhd/cros_alsa/src/
Dcontrol_primitive.rs7 use std::ffi::{CStr, CString, FromBytesWithNulError, NulError};
59 NulError(NulError), enumerator
80 NulError(e) => write!(f, "invalid CString: {}", e), in fmt()
105 impl From<NulError> for Error {
106 fn from(err: NulError) -> Error { in from()
107 Error::NulError(err) in from()
/external/rust/crates/rusqlite/src/util/
Dsmall_cstr.rs2 use std::ffi::{CStr, CString, NulError};
12 pub fn new(s: &str) -> Result<Self, NulError> { in new() argument
83 fn fabricate_nul_error(b: &str) -> NulError { in fabricate_nul_error() argument
/external/crosvm/sys_util/src/android/
Dsyslog.rs14 use std::ffi::{CString, NulError};
82 ) -> Result<(), NulError> { in android_log() argument
/external/rust/crates/libloading/src/
Derror.rs79 source: std::ffi::NulError