Home
last modified time | relevance | path

Searched refs:UNLINKED_MARKER (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/intrusive-collections/src/
Dsingly_linked_list.rs51 const UNLINKED_MARKER: Option<NonNull<Link>> = constant
59 next: Cell::new(UNLINKED_MARKER), in new()
66 self.next.get() != UNLINKED_MARKER in is_linked()
79 self.next.set(UNLINKED_MARKER); in force_unlink()
147 ptr.as_ref().next.set(UNLINKED_MARKER); in release_link()
Dlinked_list.rs66 const UNLINKED_MARKER: Option<NonNull<Link>> = constant
74 next: Cell::new(UNLINKED_MARKER), in new()
75 prev: Cell::new(UNLINKED_MARKER), in new()
82 self.next.get() != UNLINKED_MARKER in is_linked()
95 self.next.set(UNLINKED_MARKER); in force_unlink()
163 ptr.as_ref().next.set(UNLINKED_MARKER); in release_link()
Dxor_linked_list.rs96 const UNLINKED_MARKER: usize = 1_usize; constant
103 packed: Cell::new(UNLINKED_MARKER), in new()
110 self.packed.get() != UNLINKED_MARKER in is_linked()
123 self.packed.set(UNLINKED_MARKER); in force_unlink()
191 ptr.as_ref().packed.set(UNLINKED_MARKER); in release_link()
Drbtree.rs107 const UNLINKED_MARKER: usize = 0; constant
116 parent_color: Cell::new(UNLINKED_MARKER), in new()
123 self.parent_color.get() != UNLINKED_MARKER in is_linked()
136 self.parent_color.set(UNLINKED_MARKER); in force_unlink()
222 ptr.as_ref().parent_color.set(UNLINKED_MARKER); in release_link()