Searched refs:to_str (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/scripts/ |
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.12.1/rust/kernel/ |
D | str.rs | 281 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str() method 547 let checked_str = checked_cstr.to_str().unwrap(); in test_cstr_to_str() 556 checked_cstr.to_str().unwrap(); in test_cstr_to_str_panic()
|
/linux-6.12.1/drivers/s390/block/ |
D | dasd_devmap.c | 279 char **to_str, char **features_str) in dasd_evaluate_range_param() argument 286 *to_str = strsep(&range, "("); in dasd_evaluate_range_param() 315 char *to_str = NULL; in dasd_parse_range() local 323 if (dasd_evaluate_range_param(tmp, &from_str, &to_str, &features_str)) { in dasd_parse_range() 336 if (to_str) { in dasd_parse_range() 337 if (dasd_busid(to_str, &to_id0, &to_id1, &to)) { in dasd_parse_range()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | ipsec.c | 752 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping() local 787 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping() 792 init_side ? "send" : "reply", from_str, to_str, in do_ping() 799 init_side ? "send" : "reply", from_str, to_str, in do_ping()
|