Searched refs:to_str (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/scripts/ |
| H A D | rustdoc_test_gen.rs | 105 valid_paths[0].to_str().unwrap() in find_real_path() 131 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main()
|
| /linux-6.15/rust/kernel/ |
| H A D | str.rs | 329 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str() method 592 self.0.to_str().unwrap() in deref() 620 let checked_str = checked_cstr.to_str().unwrap(); in test_cstr_to_str() 629 checked_cstr.to_str().unwrap(); in test_cstr_to_str_panic()
|
| /linux-6.15/drivers/s390/block/ |
| H A D | dasd_devmap.c | 280 char **to_str, char **features_str) in dasd_evaluate_range_param() argument 287 *to_str = strsep(&range, "("); in dasd_evaluate_range_param() 316 char *to_str = NULL; in dasd_parse_range() local 324 if (dasd_evaluate_range_param(tmp, &from_str, &to_str, &features_str)) { in dasd_parse_range() 337 if (to_str) { in dasd_parse_range() 338 if (dasd_busid(to_str, &to_id0, &to_id1, &to)) { in dasd_parse_range()
|
| /linux-6.15/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()
|