Searched refs:from_str (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/kernel/str/ |
| H A D | parse_int.rs | 81 fn from_str(src: &BStr) -> Result<Self> { in from_str() method
|
| /linux/rust/kernel/ |
| H A D | module_param.rs | 92 <$ty as crate::str::parse_int::ParseInt>::from_str(arg)
|
| /linux/samples/rust/ |
| H A D | rust_debugfs.rs | 78 fn from_str(s: &str) -> Result<Self> { in from_str() method
|
| /linux/rust/proc-macro2/ |
| H A D | lib.rs | 250 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 D | fallback.rs | 1232 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 D | ipsec.c | 753 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 D | parse.rs | 1270 self.parse2(proc_macro2::TokenStream::from_str(s)?) in parse_str()
|
| H A D | lit.rs | 242 let mut tokens = TokenStream::from_str(&self.value())?; in parse_with()
|