Searched refs:as_str (Results 1 – 11 of 11) sorted by relevance
63 ctx.append_str(key.alias.as_ref().map_or("none", String::as_str)).append_i32(owner) in log_key_integrity_violation()71 .append_str(key.alias.as_ref().map_or("none", String::as_str)) in log_key_event()
92 match name.as_str() { in filter_map_legacy_km_instances()
40 match action.as_str() { in main()
46 match action.as_str() { in main()
48 match value.as_str() { in get_bool()
99 match input.parse::<Ident>()?.to_string().as_str() { in parse()115 match input.parse::<Ident>()?.to_string().as_str() { in parse()
476 assert_eq!(result.as_ref().map(String::as_str), Ok(*input)); in test_utf8_string()625 hash.as_ref().map(String::as_str), in test_versioned_interface_hash()706 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_old()719 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_new()732 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_new()745 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_old()
70 std::string as_str; member
50 FakePrefs::PrefConsts<string>::member = &FakePrefs::PrefValue::as_str;
17 let path = Path::new(filename.as_str()); in debug_output_to_file()125 e.to_string().as_str() in generate_dbus_exporter()276 let k = i1.unwrap().as_str().unwrap().to_string(); in dbus_propmap()309 #field_ident.arg_type().as_str(), in dbus_propmap()
17 let path = Path::new(filename.as_str()); in debug_output_to_file()