Lines Matching refs:RustString
464 if arg.ty == RustString { in expand_cxx_function_decl()
532 Type::Ident(ident) if ident.rust == RustString => { in expand_cxx_function_shim()
533 quote_spanned!(span=> #var.as_mut_ptr() as *const ::cxx::private::RustString) in expand_cxx_function_shim()
551 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_cxx_function_shim()
552 false => quote_spanned!(span=> ::cxx::private::RustString::from_ref(#var)), in expand_cxx_function_shim()
553 true => quote_spanned!(span=> ::cxx::private::RustString::from_mut(#var)), in expand_cxx_function_shim()
555 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_cxx_function_shim()
653 Type::Ident(ident) if ident.rust == RustString => { in expand_cxx_function_shim()
664 if vec.inner == RustString { in expand_cxx_function_shim()
678 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_cxx_function_shim()
682 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_cxx_function_shim()
993 Type::Ident(i) if i.rust == RustString => { in expand_rust_function_shim_impl()
1003 if vec.inner == RustString { in expand_rust_function_shim_impl()
1014 Type::Ident(i) if i.rust == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1018 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1068 Type::Ident(ident) if ident.rust == RustString => { in expand_rust_function_shim_impl()
1069 Some(quote_spanned!(span=> ::cxx::private::RustString::from)) in expand_rust_function_shim_impl()
1073 if vec.inner == RustString { in expand_rust_function_shim_impl()
1081 Type::Ident(ident) if ident.rust == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1082 false => Some(quote_spanned!(span=> ::cxx::private::RustString::from_ref)), in expand_rust_function_shim_impl()
1083 true => Some(quote_spanned!(span=> ::cxx::private::RustString::from_mut)), in expand_rust_function_shim_impl()
1085 Type::RustVec(vec) if vec.inner == RustString => match ty.mutable { in expand_rust_function_shim_impl()
1839 Type::Ident(ident) if ident.rust == RustString => { in expand_extern_type()
1841 quote_spanned!(span=> ::cxx::private::RustString) in expand_extern_type()
1864 Type::Ident(ident) if ident.rust == RustString => { in expand_extern_type()
1866 … quote_spanned!(span=> #ampersand #lifetime #mutability ::cxx::private::RustString) in expand_extern_type()