Lines Matching refs:header
60 header: VMGcHeader, field
66 fn is(header: &VMGcHeader) -> bool { in is()
67 header.kind() == VMGcKind::ArrayRef in is()
85 header: VMGcHeader, field
91 fn is(header: &VMGcHeader) -> bool { in is()
92 header.kind() == VMGcKind::ExternRef in is()
126 fn alloc(&mut self, mut header: VMGcHeader, layout: Layout) -> Result<Result<VMGcRef, u64>> { in alloc()
171 debug_assert_eq!(header.reserved_u26(), 0); in alloc()
172 header.set_reserved_u26(size); in alloc()
173 *self.header_mut(&gc_ref) = header; in alloc()
273 let size = self.header(gc_ref).reserved_u26(); in object_size()
277 fn header(&self, gc_ref: &VMGcRef) -> &VMGcHeader { in header() method
285 fn alloc_raw(&mut self, header: VMGcHeader, layout: Layout) -> Result<Result<VMGcRef, u64>> { in alloc_raw()
286 self.alloc(header, layout) in alloc_raw()