Lines Matching refs:allocator
235 allocator: &StructRefPre, in new()
245 allocator, in new()
276 allocator: &StructRefPre, in new_async()
280 Self::_new_async(store, limiter.as_mut(), allocator, fields, Asyncness::Yes).await in new_async()
286 allocator: &StructRefPre, in _new_async()
290 Self::type_check_fields(store, allocator, fields)?; in _new_async()
293 Self::new_unchecked(store, allocator, fields) in _new_async()
301 allocator: &StructRefPre, in type_check_fields()
304 let expected_len = allocator.ty.fields().len(); in type_check_fields()
310 for (ty, val) in allocator.ty.fields().zip(fields) { in type_check_fields()
328 allocator: &StructRefPre, in new_unchecked()
333 allocator.store_id, in new_unchecked()
341 .alloc_uninit_struct(allocator.type_index(), &allocator.layout()) in new_unchecked()
351 for (index, (ty, val)) in allocator.ty.fields().zip(fields).enumerate() { in new_unchecked()
354 allocator.layout(), in new_unchecked()