Home
last modified time | relevance | path

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

/linux/rust/quote/
H A Dto_tokens.rs225 tokens.append(Literal::c_string(self)); in to_tokens()
231 tokens.append(Literal::c_string(self)); in to_tokens()
/linux/rust/proc-macro2/
H A Dwrapper.rs900 pub(crate) fn c_string(string: &CStr) -> Literal { in c_string() method
905 proc_macro::Literal::c_string(string) in c_string()
910 let fallback = fallback::Literal::c_string(string); in c_string()
915 Literal::Fallback(fallback::Literal::c_string(string)) in c_string()
H A Dlib.rs1242 pub fn c_string(string: &CStr) -> Literal { in c_string() method
1243 Literal::_new(imp::Literal::c_string(string)) in c_string()
H A Dparse.rs350 } else if let Ok(ok) = c_string(input) { in literal_nocapture()
516 fn c_string(input: Cursor) -> Result<Cursor, Reject> { in c_string() function
H A Dfallback.rs1100 pub(crate) fn c_string(string: &CStr) -> Literal { in c_string() method
/linux/rust/syn/
H A Dlit.rs312 let mut token = Literal::c_string(value); in new()