Searched refs:strip_prefix (Results 1 – 6 of 6) sorted by relevance
18 let first = first.strip_prefix('"')?; in fmt()33 if let Some(rest) = first_str.strip_prefix('{') { in fmt()
98 if let Some(string) = string.strip_prefix("r#") { in unraw()
54 if let Some(id) = id.strip_prefix("r#") { in fmt()
443 if let Some(id) = id.strip_prefix("r#") { in ident_maybe_raw()
55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix() method57 .strip_prefix(pattern.as_ref().deref()) in strip_prefix()
410 static const char *strip_prefix(const char *s) in strip_prefix() function439 seq_printf(s, "\n\t%s=%lu\n", strip_prefix(properties[i].name), in tegra_xusb_padctl_pinconf_group_dbg_show()464 seq_printf(s, "%s=%lu", strip_prefix(name), value); in tegra_xusb_padctl_pinconf_config_dbg_show()