Lines Matching refs:allocator
207 allocator: &ExnRefPre, in new()
218 allocator, in new()
252 allocator: &ExnRefPre, in new_async()
260 allocator, in new_async()
271 allocator: &ExnRefPre, in _new_async()
276 Self::type_check_tag_and_fields(store, allocator, tag, fields)?; in _new_async()
279 Self::new_unchecked(store, allocator, tag, fields) in _new_async()
288 allocator: &ExnRefPre, in type_check_tag_and_fields()
298 == allocator.ty.tag_type().ty().type_index(), in type_check_tag_and_fields()
301 let expected_len = allocator.ty.fields().len(); in type_check_tag_and_fields()
307 for (ty, val) in allocator.ty.fields().zip(fields) { in type_check_tag_and_fields()
325 allocator: &ExnRefPre, in new_unchecked()
331 allocator.store_id, in new_unchecked()
339 .alloc_uninit_exn(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()