Searched refs:RustBox (Results 1 – 13 of 13) sorted by relevance
/external/rust/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 | 45 Type::RustBox(t) => t.hash(state), in hash() 68 (Type::RustBox(lhs), Type::RustBox(rhs)) => lhs == rhs, in eq()
|
D | improper.rs | 25 Type::RustBox(_) in determine_improper_ctype()
|
D | pod.rs | 25 Type::RustBox(_) in is_guaranteed_pod()
|
D | visit.rs | 15 Type::RustBox(ty) in visit_type()
|
D | types.rs | 178 ImplKey::RustBox(ident) in collect() 245 Type::RustBox(_) | Type::UniquePtr(_) => false, in needs_indirect_abi()
|
D | check.rs | 48 Type::RustBox(ptr) => check_type_box(cx, ptr), in do_typecheck() 518 Type::RustBox(ty) in check_api_impl() 646 Type::RustBox(_) in is_unsized() 720 Type::RustBox(_) => "Box".to_owned(), in describe()
|
D | mod.rs | 210 RustBox(Box<Ty1>), enumerator
|
D | trivial.rs | 97 Type::RustBox(ty) => { in required_trivial_reasons()
|
D | tokens.rs | 23 Type::RustBox(ty) in to_tokens()
|
D | parse.rs | 973 Type::RustBox(ty) in parse_impl() 1173 return Ok(Type::RustBox(Box::new(Ty1 { in parse_type_path()
|
/external/rust/cxx/gen/src/ |
D | write.rs | 216 Type::RustBox(_) => out.builtin.rust_box = true, in pick_includes_and_builtins() 793 if let Type::RustBox(_) = &arg.ty { in write_cxx_function_shim() 819 Some(Type::RustBox(_)) => write!(out, ".into_raw()"), in write_cxx_function_shim() 1027 Type::RustBox(_) => { in write_rust_function_shim_impl() 1068 Type::RustBox(_) => write!(out, ".into_raw()"), in write_rust_function_shim_impl() 1091 if let Type::RustBox(_) | Type::UniquePtr(_) | Type::Str(_) | Type::SliceRef(_) = ret { in write_rust_function_shim_impl() 1132 Type::RustBox(ty) | Type::UniquePtr(ty) => { in write_indirect_return_type() 1150 Type::RustBox(_) | Type::UniquePtr(_) | Type::Ref(_) => {} in write_indirect_return_type_space() 1158 Some(Type::RustBox(ty)) | Some(Type::UniquePtr(ty)) => { in write_extern_return_type_space() 1180 Type::RustBox(ty) | Type::UniquePtr(ty) | Type::CxxVector(ty) => { in write_extern_arg() [all …]
|
/external/rust/cxx/macro/src/ |
D | expand.rs | 93 ImplKey::RustBox(ident) => { in expand() 501 Type::RustBox(ty) => { in expand_cxx_function_shim() 622 Type::RustBox(ty) => { in expand_cxx_function_shim() 953 Type::RustBox(_) => quote_spanned!(span=> ::std::boxed::Box::from_raw(#var)), in expand_rust_function_shim_impl() 1012 Type::RustBox(_) => Some(quote_spanned!(span=> ::std::boxed::Box::into_raw)), in expand_rust_function_shim_impl() 1715 Type::RustBox(ty) | Type::UniquePtr(ty) => { in expand_extern_type()
|