Searched refs:to_str (Results 1 – 3 of 3) sorted by relevance
| /linux/scripts/ |
| H A D | rustdoc_test_gen.rs | 93 [valid_path] => valid_path.to_str().unwrap(), in find_real_path() 132 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main()
|
| /linux/rust/kernel/ |
| H A D | str.rs | 415 CString::try_from_fmt(fmt!($($f)*))?.to_str()? 436 let checked_str = cstr.to_str()?; in test_cstr_to_str() 444 assert!(cstr.to_str().is_err()); in test_cstr_to_str_invalid_utf8()
|
| /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 788 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), 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()
|