Home
last modified time | relevance | path

Searched refs:strip_prefix (Results 1 – 6 of 6) sorted by relevance

/linux/rust/macros/
H A Dfmt.rs18 let first = first.strip_prefix('"')?; in fmt()
33 if let Some(rest) = first_str.strip_prefix('{') { in fmt()
/linux/rust/syn/
H A Dext.rs98 if let Some(string) = string.strip_prefix("r#") { in unraw()
/linux/rust/quote/
H A Dident_fragment.rs54 if let Some(id) = id.strip_prefix("r#") { in fmt()
H A Druntime.rs443 if let Some(id) = id.strip_prefix("r#") { in ident_maybe_raw()
/linux/rust/kernel/
H A Dstr.rs55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix() method
57 .strip_prefix(pattern.as_ref().deref()) in strip_prefix()
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra-xusb.c410 static const char *strip_prefix(const char *s) in strip_prefix() function
439 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()