Lines Matching refs:layout
10 layout::ArrayLayout,
109 layout: ArrayLayout<T>, field
184 self.layout.len() in capacity()
282 layout: ArrayLayout::empty(), in new()
540 let layout = if Self::is_zst() { in from_raw_parts() localVariable
554 layout, in from_raw_parts()
627 let layout = ArrayLayout::new(new_cap).map_err(|_| AllocError)?; in reserve() localVariable
636 layout.into(), in reserve()
637 self.layout.into(), in reserve()
646 self.layout = layout; in reserve()
835 unsafe { A::free(self.ptr.cast(), self.layout.into()) }; in drop()
987 layout: ArrayLayout<T>, field
1000 let cap = me.layout.len(); in into_raw_parts()
1040 let old_layout = self.layout; in collect()
1058 let layout = unsafe { ArrayLayout::<T>::new_unchecked(len) }; in collect() localVariable
1064 A::realloc(Some(buf.cast()), layout.into(), old_layout.into(), flags) in collect()
1157 unsafe { A::free(self.buf.cast(), self.layout.into()) }; in drop()
1199 let layout = self.layout; in into_iter() localVariable
1206 layout, in into_iter()