Lines Matching refs:allocator
298 allocator: &ArrayRefPre, in new()
309 allocator, in new()
351 allocator: &ArrayRefPre, in new_async()
359 allocator, in new_async()
370 allocator: &ArrayRefPre, in _new_async()
377 Self::new_from_iter(store, allocator, RepeatN(elem, len)) in _new_async()
387 allocator: &ArrayRefPre, in new_from_iter()
392 allocator.store_id, in new_from_iter()
398 elem.ensure_matches_ty(store, allocator.ty.element_type().unpack()) in new_from_iter()
408 .alloc_uninit_array(allocator.type_index(), len, allocator.layout()) in new_from_iter()
418 let elem_ty = allocator.ty.element_type(); in new_from_iter()
422 arrayref.initialize_elem(&mut store, allocator.layout(), &elem_ty, i, *elem)?; in new_from_iter()
468 allocator: &ArrayRefPre, in new_fixed()
478 allocator, in new_fixed()
522 allocator: &ArrayRefPre, in new_fixed_async()
526 Self::_new_fixed_async(store, limiter.as_mut(), allocator, elems, Asyncness::Yes).await in new_fixed_async()
532 allocator: &ArrayRefPre, in _new_fixed_async()
538 Self::new_from_iter(store, allocator, elems.iter()) in _new_fixed_async()