Lines Matching refs:Result

7     error::{to_result, Result},
76 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
108 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
231 fn to_cstring(&self) -> Result<CString, AllocError>; in to_cstring()
264 fn to_ascii_lowercase(&self) -> Result<CString, AllocError>; in to_ascii_lowercase()
275 fn to_ascii_uppercase(&self) -> Result<CString, AllocError>; in to_ascii_uppercase()
294 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
341 fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring()
355 fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase()
363 fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase()
434 fn test_cstr_to_str() -> Result { in test_cstr_to_str()
442 fn test_cstr_to_str_invalid_utf8() -> Result { in test_cstr_to_str_invalid_utf8()
449 fn test_cstr_display() -> Result { in test_cstr_display()
462 fn test_cstr_display_all_bytes() -> Result { in test_cstr_display_all_bytes()
474 fn test_cstr_debug() -> Result { in test_cstr_debug()
485 fn test_bstr_display() -> Result { in test_bstr_display()
500 fn test_bstr_debug() -> Result { in test_bstr_debug()
588 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
647 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
684 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
710 unsafe fn kstrtobool_raw(string: *const u8) -> Result<bool> { in kstrtobool_raw()
766 pub fn kstrtobool(string: &CStr) -> Result<bool> { in kstrtobool()
777 pub fn kstrtobool_bytes(bytes: &[u8]) -> Result<bool> { in kstrtobool_bytes()
816 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
870 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
882 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument