Searched refs:RustBox (Results 1 – 13 of 13) sorted by relevance
| /third_party/rust/crates/cxx/syntax/ |
| D | instantiate.rs | 8 RustBox(NamedImplKey<'a>), enumerator 27 if let Type::RustBox(ty) = self { in impl_key() 29 return Some(ImplKey::RustBox(NamedImplKey::new(ty, ident))); in impl_key()
|
| D | impls.rs | 47 Type::RustBox(t) => t.hash(state), in hash() 70 (Type::RustBox(lhs), Type::RustBox(rhs)) => lhs == rhs, in eq()
|
| D | improper.rs | 25 Type::RustBox(_) in determine_improper_ctype()
|
| D | visit.rs | 15 Type::RustBox(ty) in visit_type()
|
| D | pod.rs | 25 Type::RustBox(_) in is_guaranteed_pod()
|
| D | types.rs | 179 ImplKey::RustBox(ident) in collect() 246 Type::RustBox(_) | Type::UniquePtr(_) => false, in needs_indirect_abi()
|
| D | check.rs | 48 Type::RustBox(ptr) => check_type_box(cx, ptr), in do_typecheck() 517 Type::RustBox(ty) in check_api_impl() 645 Type::RustBox(_) in is_unsized() 719 Type::RustBox(_) => "Box".to_owned(), in describe()
|
| D | mod.rs | 228 RustBox(Box<Ty1>), enumerator
|
| D | trivial.rs | 97 Type::RustBox(ty) => { in required_trivial_reasons()
|
| D | tokens.rs | 26 Type::RustBox(ty) in to_tokens()
|
| D | parse.rs | 1067 Type::RustBox(ty) in parse_impl() 1270 return Ok(Type::RustBox(Box::new(Ty1 { in parse_type_path()
|
| /third_party/rust/crates/cxx/gen/src/ |
| D | write.rs | 216 Type::RustBox(_) => out.builtin.rust_box = true, in pick_includes_and_builtins() 823 if let Type::RustBox(_) = &arg.ty { in write_cxx_function_shim() 849 Some(Type::RustBox(_)) => write!(out, ".into_raw()"), in write_cxx_function_shim() 1054 Type::RustBox(_) => { in write_rust_function_shim_impl() 1095 Type::RustBox(_) => write!(out, ".into_raw()"), in write_rust_function_shim_impl() 1118 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl() 1159 Type::RustBox(ty) | Type::UniquePtr(ty) => { in write_indirect_return_type() 1177 Type::RustBox(_) | Type::UniquePtr(_) | Type::Ref(_) => {} in write_indirect_return_type_space() 1185 Some(Type::RustBox(ty)) | Some(Type::UniquePtr(ty)) => { in write_extern_return_type_space() 1207 Type::RustBox(ty) | Type::UniquePtr(ty) | Type::CxxVector(ty) => { in write_extern_arg() [all …]
|
| /third_party/rust/crates/cxx/macro/src/ |
| D | expand.rs | 96 ImplKey::RustBox(ident) => { in expand() 531 Type::RustBox(ty) => { in expand_cxx_function_shim() 652 Type::RustBox(ty) => { in expand_cxx_function_shim() 994 Type::RustBox(_) => quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#var)), in expand_rust_function_shim_impl() 1055 Type::RustBox(_) => Some(quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw)), in expand_rust_function_shim_impl() 1754 Type::RustBox(ty) | Type::UniquePtr(ty) => { in expand_extern_type()
|