Lines Matching refs:RustString
452 if arg.ty == RustString { in expand_cxx_function_decl()
520 Type::Ident(ident) if ident.rust == RustString => { in expand_cxx_function_shim()
521 quote_spanned!(span=> #var.as_mut_ptr() as *const ::cxx::private::RustString) in expand_cxx_function_shim()
539 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_cxx_function_shim()
540 false => quote_spanned!(span=> ::cxx::private::RustString::from_ref(#var)), in expand_cxx_function_shim()
541 true => quote_spanned!(span=> ::cxx::private::RustString::from_mut(#var)), in expand_cxx_function_shim()
543 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_cxx_function_shim()
641 Type::Ident(ident) if ident.rust == RustString => { in expand_cxx_function_shim()
652 if vec.inner == RustString { in expand_cxx_function_shim()
666 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_cxx_function_shim()
670 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_cxx_function_shim()
983 Type::Ident(i) if i.rust == RustString => { in expand_rust_function_shim_impl()
988 if vec.inner == RustString { in expand_rust_function_shim_impl()
996 Type::Ident(i) if i.rust == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1000 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1044 Type::Ident(ident) if ident.rust == RustString => { in expand_rust_function_shim_impl()
1045 Some(quote_spanned!(span=> ::cxx::private::RustString::from)) in expand_rust_function_shim_impl()
1049 if vec.inner == RustString { in expand_rust_function_shim_impl()
1057 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1058 false => Some(quote_spanned!(span=> ::cxx::private::RustString::from_ref)), in expand_rust_function_shim_impl()
1059 true => Some(quote_spanned!(span=> ::cxx::private::RustString::from_mut)), in expand_rust_function_shim_impl()
1061 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1742 Type::Ident(ident) if ident.rust == RustString => { in expand_extern_type()
1744 quote_spanned!(span=> ::cxx::private::RustString) in expand_extern_type()
1767 Type::Ident(ident) if ident.rust == RustString => { in expand_extern_type()
1769 … quote_spanned!(span=> #ampersand #lifetime #mutability ::cxx::private::RustString) in expand_extern_type()