Home
last modified time | relevance | path

Searched refs:from_str (Results 1 – 8 of 8) sorted by relevance

/linux/rust/kernel/str/
H A Dparse_int.rs81 fn from_str(src: &BStr) -> Result<Self> { in from_str() method
/linux/rust/kernel/
H A Dmodule_param.rs92 <$ty as crate::str::parse_int::ParseInt>::from_str(arg)
/linux/samples/rust/
H A Drust_debugfs.rs78 fn from_str(s: &str) -> Result<Self> { in from_str() method
/linux/rust/proc-macro2/
H A Dlib.rs250 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() method
1280 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() method
H A Dfallback.rs1232 match panic::catch_unwind(|| Self::from_str(src)) { in from_str_checked()
1240 Self::from_str(src).unwrap() in from_str_unchecked()
/linux/tools/testing/selftests/net/
H A Dipsec.c753 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping() local
789 strncpy(from_str, inet_ntoa(from), IPV4_STR_SZ - 1); in do_ping()
793 init_side ? "send" : "reply", from_str, to_str, in do_ping()
800 init_side ? "send" : "reply", from_str, to_str, in do_ping()
/linux/rust/syn/
H A Dparse.rs1270 self.parse2(proc_macro2::TokenStream::from_str(s)?) in parse_str()
H A Dlit.rs242 let mut tokens = TokenStream::from_str(&self.value())?; in parse_with()