Lines Matching refs:OsString
5 use std::ffi::{OsStr, OsString};
176 fn from_os_string(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
179 fn imp(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
187 fn imp(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
491 fn into_os_string(self) -> Result<OsString, Vec<u8>> in into_os_string() argument
497 fn imp(v: Vec<u8>) -> Result<OsString, Vec<u8>> { in into_os_string() argument
500 Ok(OsString::from_vec(v)) in into_os_string()
505 fn imp(v: Vec<u8>) -> Result<OsString, Vec<u8>> { in into_os_string() argument
507 Ok(s) => Ok(OsString::from(s)), in into_os_string()
537 fn into_os_string_lossy(self) -> OsString in into_os_string_lossy()
543 fn imp(v: Vec<u8>) -> OsString { in into_os_string_lossy() argument
546 OsString::from_vec(v) in into_os_string_lossy()
551 fn imp(v: Vec<u8>) -> OsString { in into_os_string_lossy() argument
552 OsString::from(v.into_string_lossy()) in into_os_string_lossy()