Lines Matching refs:layout
10 layout::ArrayLayout,
104 layout: ArrayLayout<T>, field
179 self.layout.len() in capacity()
256 layout: ArrayLayout::empty(), in new()
368 let layout = if Self::is_zst() { in from_raw_parts() localVariable
382 layout, in from_raw_parts()
435 let layout = ArrayLayout::new(new_cap).map_err(|_| AllocError)?; in reserve() localVariable
444 layout.into(), in reserve()
445 self.layout.into(), in reserve()
454 self.layout = layout; in reserve()
542 unsafe { A::free(self.ptr.cast(), self.layout.into()) }; in drop()
694 layout: ArrayLayout<T>, field
707 let cap = me.layout.len(); in into_raw_parts()
747 let old_layout = self.layout; in collect()
764 let layout = unsafe { ArrayLayout::<T>::new_unchecked(len) }; in collect() localVariable
770 A::realloc(Some(buf.cast()), layout.into(), old_layout.into(), flags) in collect()
863 unsafe { A::free(self.buf.cast(), self.layout.into()) }; in drop()
905 let layout = self.layout; in into_iter() localVariable
912 layout, in into_iter()