Home
last modified time | relevance | path

Searched refs:alloc_from_iter (Results 1 – 25 of 32) sorted by relevance

12

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_arena/src/
H A Dlib.rs121 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T]; in alloc_from_iter() method
129 default fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() function
131 vec.alloc_from_iter(arena) in alloc_from_iter()
137 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
154 fn alloc_from_iter(mut self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
171 fn alloc_from_iter(mut self, arena: &TypedArena<A::Item>) -> &mut [A::Item] { in alloc_from_iter() method
243 iter.alloc_from_iter(self) in alloc_from_iter()
554 arena.dropless.alloc_from_iter(iter) in allocate_from_iter()
574 arena.dropless.alloc_from_iter(iter) in allocate_from_iter()
576 arena.$name.alloc_from_iter(iter) in allocate_from_iter()
[all …]
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_arena-722.0.0/src/
H A Dlib.rs120 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T]; in alloc_from_iter() method
128 default fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() function
130 vec.alloc_from_iter(arena) in alloc_from_iter()
136 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
153 fn alloc_from_iter(mut self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
242 iter.alloc_from_iter(self) in alloc_from_iter()
579 pub unsafe fn alloc_from_iter<T, I>(&self, iter: I) -> &mut [T] in alloc_from_iter() method
665 arena.dropless.alloc_from_iter(iter)
690 return arena.dropless.alloc_from_iter(iter);
694 ty_arena.alloc_from_iter(iter)
[all …]
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_arena-718.0.0/src/
H A Dlib.rs120 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T]; in alloc_from_iter() method
128 default fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() function
130 vec.alloc_from_iter(arena) in alloc_from_iter()
136 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
153 fn alloc_from_iter(mut self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
242 iter.alloc_from_iter(self) in alloc_from_iter()
579 pub unsafe fn alloc_from_iter<T, I>(&self, iter: I) -> &mut [T] in alloc_from_iter() method
665 arena.dropless.alloc_from_iter(iter)
690 return arena.dropless.alloc_from_iter(iter);
694 ty_arena.alloc_from_iter(iter)
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_arena/src/
H A Dlib.rs120 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T]; in alloc_from_iter() method
128 default fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() function
130 vec.alloc_from_iter(arena) in alloc_from_iter()
136 fn alloc_from_iter(self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
153 fn alloc_from_iter(mut self, arena: &TypedArena<T>) -> &mut [T] { in alloc_from_iter() method
242 iter.alloc_from_iter(self) in alloc_from_iter()
579 pub unsafe fn alloc_from_iter<T, I>(&self, iter: I) -> &mut [T] in alloc_from_iter() method
665 arena.dropless.alloc_from_iter(iter)
690 return arena.dropless.alloc_from_iter(iter);
694 ty_arena.alloc_from_iter(iter)
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ast_lowering/src/
H A Dpat.rs41 self.arena.alloc_from_iter(pats.iter().map(|x| self.lower_pat_mut(x))), in lower_pat_mut()
63 let fs = self.arena.alloc_from_iter(fields.iter().map(|f| hir::PatField { in lower_pat_mut()
160 (self.arena.alloc_from_iter(elems), rest.map(|(ddpos, _)| ddpos)) in lower_pat_tuple()
226 self.arena.alloc_from_iter(before), in lower_pat_slice()
228 self.arena.alloc_from_iter(after), in lower_pat_slice()
H A Ditem.rs276 .alloc_from_iter(fm.items.iter().map(|x| self.lower_foreign_item_ref(x))), in lower_item_kind()
306 variants: self.arena.alloc_from_iter( in lower_item_kind()
367 this.arena.alloc_from_iter( in lower_item_kind()
630 self.arena.alloc_from_iter(path.segments.iter().map(|seg| hir::PathSegment { in rebuild_use_path()
728 self.arena.alloc_from_iter( in lower_variant_data()
1017 this.arena.alloc_from_iter(decl.inputs.iter().map(|x| this.lower_param(x))), in lower_fn_body()
1236 this.arena.alloc_from_iter(statements), in lower_maybe_async_body()
1245 this.arena.alloc_from_iter(parameters), in lower_maybe_async_body()
1400 predicates: this.arena.alloc_from_iter( in lower_where_clause()
1420 bounds: this.arena.alloc_from_iter(bounds.iter().map(|bound| { in lower_where_predicate()
[all …]
H A Dasm.rs406 let operands = self.arena.alloc_from_iter(operands); in lower_inline_asm()
407 let template = self.arena.alloc_from_iter(asm.template.iter().cloned()); in lower_inline_asm()
408 let template_strs = self.arena.alloc_from_iter( in lower_inline_asm()
414 self.arena.alloc_from_iter(asm.line_spans.iter().map(|span| self.lower_span(*span))); in lower_inline_asm()
H A Dpath.rs38 segments: self.arena.alloc_from_iter(p.segments[..proj_start].iter().enumerate().map( in lower_qpath()
182 segments: self.arena.alloc_from_iter(p.segments.iter().map(|segment| { in lower_path_extra()
390 let bindings = self.arena.alloc_from_iter(data.args.iter().filter_map(|arg| match arg { in lower_angle_bracketed_parameter_data()
411 let inputs = this.arena.alloc_from_iter( in lower_parenthesized_parameter_data()
H A Dlib.rs75 $this.arena.alloc_from_iter(std::array::IntoIter::new(a))
844 let ret = self.arena.alloc_from_iter(attrs.iter().map(|a| self.lower_attr(a))); in lower_attrs()
1236 hir::TyKind::Tup(self.arena.alloc_from_iter( in lower_ty_direct()
1268 this.arena.alloc_from_iter(bounds.iter().filter_map( in lower_ty_direct()
1503 self.arena.alloc_from_iter(inputs.iter().map(|param| match param.pat.kind { in lower_fn_params_to_names()
1557 this.arena.alloc_from_iter(inputs.iter().map(|param| { in lower_fn_decl()
1791 let generic_args = self.arena.alloc_from_iter(generic_args); in lower_async_fn_ret_ty()
1906 self.arena.alloc_from_iter(self.lower_generic_params_mut(params, itctx)) in lower_generic_params()
1983 bounds: self.arena.alloc_from_iter(bounds), in lower_generic_param()
2047 self.arena.alloc_from_iter(self.lower_param_bounds_mut(bounds, itctx)) in lower_param_bounds()
[all …]
H A Dexpr.rs20 self.arena.alloc_from_iter(exprs.iter().map(|x| self.lower_expr_mut(x))) in lower_exprs()
121 self.arena.alloc_from_iter(arms.iter().map(|x| self.lower_arm(x))), in lower_expr_mut()
240 .alloc_from_iter(se.fields.iter().map(|x| self.lower_expr_field(x))), in lower_expr_mut()
259 &*self.arena.alloc_from_iter( in lower_expr_mut()
954 .alloc_from_iter(std::iter::once(destructure_let).chain(assignments.into_iter())); in lower_expr_assign()
1044 let field_pats = self.arena.alloc_from_iter(se.fields.iter().map(|f| { in destructure_assign_mut()
1127 self.arena.alloc_from_iter(elements.iter().enumerate().filter_map(|(i, e)| { in destructure_sequence()
1172 let fields = self.arena.alloc_from_iter( in lower_expr_range()
1275 inputs_exprs: self.arena.alloc_from_iter( in lower_expr_llvm_asm()
1280 .alloc_from_iter(asm.outputs.iter().map(|out| self.lower_expr_mut(&out.expr))), in lower_expr_llvm_asm()
H A Dblock.rs95 (self.arena.alloc_from_iter(stmts), expr) in lower_stmts()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/
H A Dcodec.rs207 Ok(decoder.tcx().arena.alloc_from_iter(<Vec<T> as Decodable<D>>::decode(decoder)?)) in decode_arena_allocable_slice()
342 Ok(decoder.tcx().arena.alloc_from_iter( in decode()
358 Ok(decoder.tcx().arena.alloc_from_iter( in decode()
368 Ok(decoder.tcx().arena.alloc_from_iter( in decode()
378 Ok(decoder.tcx().arena.alloc_from_iter( in decode()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_metadata/src/rmeta/
H A Ddecoder.rs934 .map(|predicates| tcx.arena.alloc_from_iter(predicates.decode((self, tcx)))) in get_inferred_outlives()
955 .map(|bounds| tcx.arena.alloc_from_iter(bounds.decode((self, tcx)))) in get_explicit_item_bounds()
1035 tcx.arena.alloc_from_iter(self.root.lib_features.decode(self)) in get_lib_features()
1044 tcx.arena.alloc_from_iter( in get_lang_items()
1400 tcx.arena.alloc_from_iter( in get_inherent_implementations_for_type()
1430 tcx.arena.alloc_from_iter( in get_implementations_for_trait()
1439 tcx.arena.alloc_from_iter(self.trait_impls.values().flat_map(|impls| { in get_implementations_for_trait()
1493 tcx.arena.alloc_from_iter( in get_dylib_dependency_formats()
1506 tcx.arena.alloc_from_iter(self.root.lang_items_missing.decode(self)) in get_missing_lang_items()
1516 tcx.arena.alloc_from_iter(param_names.decode((self, tcx))) in get_fn_param_names()
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_const_eval/src/const_eval/
H A Dmod.rs76 ecx.tcx.arena.alloc_from_iter(branches.collect::<Option<Vec<_>>>()?), in const_to_valtree_inner()
168 let fields = tcx.arena.alloc_from_iter(fields_iter); in destructure_const()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/outlives/
H A Dmod.rs104 let predicates = &*tcx.arena.alloc_from_iter(set.iter().filter_map( in inferred_outlives_crate()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/collect/
H A Ditem_bounds.rs47 .alloc_from_iter(bounds.predicates(tcx, item_ty).into_iter().chain(bounds_from_parent)); in associated_type_bounds()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_transform/src/inline/
H A Dcycle.rs168 tcx.arena.alloc_from_iter(calls.iter().copied()) in mir_inliner_callees()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/hir/
H A Dmod.rs97 tcx.arena.alloc_from_iter(hir.body_param_names(body_id)) in provide()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ty_utils/src/
H A Dty.rs208 hir::ItemKind::Trait(.., ref trait_item_refs) => tcx.arena.alloc_from_iter( in associated_item_def_ids()
211 hir::ItemKind::Impl(ref impl_) => tcx.arena.alloc_from_iter( in associated_item_def_ids()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/
H A Dmod.rs656 tcx.arena.alloc_from_iter(own_entries.into_iter()) in own_existential_vtable_entries()
740 tcx.arena.alloc_from_iter(entries.into_iter()) in vtable_entries()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_metadata/src/rmeta/decoder/
H A Dcstore_impl.rs105 variances_of => { tcx.arena.alloc_from_iter(cdata.get_item_variances(def_id.index)) }
148 item_attrs => { tcx.arena.alloc_from_iter(
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/fn_ctxt/
H A Dmod.rs197 predicates: tcx.arena.alloc_from_iter( in get_type_parameter_bounds()
/dports/lang/rust/rustc-1.58.1-src/src/tools/miri/src/bin/
H A Dmiri.rs109 tcx.arena.alloc_from_iter( in config()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_monomorphize/src/partitioning/
H A Dmod.rs358 &*tcx.arena.alloc_from_iter(codegen_units) in collect_and_partition_mono_items()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_ssa/src/back/
H A Dsymbol_export.rs269 tcx.arena.alloc_from_iter(symbols) in exported_symbols_provider_local()

12