Searched refs:NulError (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/rusqlite/src/ |
D | error.rs | 37 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/ |
D | control_primitive.rs | 7 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/ |
D | small_cstr.rs | 2 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/ |
D | syslog.rs | 14 use std::ffi::{CString, NulError}; 82 ) -> Result<(), NulError> { in android_log() argument
|
/external/rust/crates/libloading/src/ |
D | error.rs | 79 source: std::ffi::NulError
|