Home
last modified time | relevance | path

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

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