Home
last modified time | relevance | path

Searched defs:LinkPtr (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/intrusive-collections/src/
Dlinked_list.rs32 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in next()
38 unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in prev()
44 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>); in set_next()
50 unsafe fn set_prev(&mut self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr>); in set_prev()
149 type LinkPtr = NonNull<Link>; typedef
162 unsafe fn release_link(&mut self, ptr: Self::LinkPtr) { in release_link()
169 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in next()
174 unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in prev()
179 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>) { in set_next()
184 unsafe fn set_prev(&mut self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr>) { in set_prev()
[all …]
Drbtree.rs47 unsafe fn left(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in left()
53 unsafe fn right(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in right()
59 unsafe fn parent(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in parent()
71 unsafe fn set_left(&mut self, ptr: Self::LinkPtr, left: Option<Self::LinkPtr>); in set_left()
77 unsafe fn set_right(&mut self, ptr: Self::LinkPtr, right: Option<Self::LinkPtr>); in set_right()
83 unsafe fn set_parent(&mut self, ptr: Self::LinkPtr, parent: Option<Self::LinkPtr>); in set_parent()
89 unsafe fn set_color(&mut self, ptr: Self::LinkPtr, color: Color); in set_color()
193 ptr: <Self as link_ops::LinkOps>::LinkPtr, in set_parent_color()
194 parent: Option<<Self as link_ops::LinkOps>::LinkPtr>, in set_parent_color()
208 type LinkPtr = NonNull<Link>; typedef
[all …]
Dsingly_linked_list.rs30 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>; in next()
36 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>); in set_next()
133 type LinkPtr = NonNull<Link>; typedef
146 unsafe fn release_link(&mut self, ptr: Self::LinkPtr) { in release_link()
153 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in next()
158 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>) { in set_next()
167 ptr: Self::LinkPtr, in next()
168 prev: Option<Self::LinkPtr>, in next()
169 ) -> Option<Self::LinkPtr> { in next()
184 ptr: Self::LinkPtr, in prev()
[all …]
Dxor_linked_list.rs40 unsafe fn next(&self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr>) in next()
41 -> Option<Self::LinkPtr>; in next()
53 unsafe fn prev(&self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>) in prev()
54 -> Option<Self::LinkPtr>; in prev()
62 ptr: Self::LinkPtr, in set()
63 prev: Option<Self::LinkPtr>, in set()
64 next: Option<Self::LinkPtr>, in set()
78 ptr: Self::LinkPtr, in replace_next_or_prev()
79 old: Option<Self::LinkPtr>, in replace_next_or_prev()
80 new: Option<Self::LinkPtr>, in replace_next_or_prev()
[all …]
Dlink_ops.rs15 type LinkPtr: Copy + Eq; typedef
28 unsafe fn release_link(&mut self, ptr: Self::LinkPtr); in release_link()
Dadapter.rs57 link: <Self::LinkOps as LinkOps>::LinkPtr, in get_value()
68 ) -> <Self::LinkOps as LinkOps>::LinkPtr; in get_link()
/external/crosvm/cros_async/src/sync/
Dwaiter.rs58 type LinkPtr = NonNull<AtomicLink>; typedef
64 unsafe fn release_link(&mut self, ptr: Self::LinkPtr) { in release_link()
70 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in next()
74 unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in prev()
78 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>) { in set_next()
82 unsafe fn set_prev(&mut self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr>) { in set_prev()
/external/libchromeos-rs/src/sync/
Dwaiter.rs57 type LinkPtr = NonNull<AtomicLink>; typedef
63 unsafe fn release_link(&mut self, ptr: Self::LinkPtr) { in release_link()
69 unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in next()
73 unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr> { in prev()
77 unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>) { in set_next()
81 unsafe fn set_prev(&mut self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr>) { in set_prev()