Home
last modified time | relevance | path

Searched refs:LinkOps (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/intrusive-collections/src/
Dadapter.rs9 use crate::link_ops::LinkOps;
44 type LinkOps: LinkOps; typedef
57 link: <Self::LinkOps as LinkOps>::LinkPtr, in get_value()
68 ) -> <Self::LinkOps as LinkOps>::LinkPtr; in get_link()
71 fn link_ops(&self) -> &Self::LinkOps; in link_ops() argument
74 fn link_ops_mut(&mut self) -> &mut Self::LinkOps; in link_ops_mut() argument
204 type LinkOps = <$link as $crate::DefaultLinkOps>::Ops;
208 …unsafe fn get_value(&self, link: <Self::LinkOps as $crate::LinkOps>::LinkPtr) -> *const <Self::Poi…
212 …nst <Self::PointerOps as $crate::PointerOps>::Value) -> <Self::LinkOps as $crate::LinkOps>::LinkPt…
219 fn link_ops(&self) -> &Self::LinkOps {
[all …]
Dxor_linked_list.rs29 pub unsafe trait XorLinkedListOps: link_ops::LinkOps {
128 type Ops = LinkOps;
130 const NEW: Self::Ops = LinkOps;
174 pub struct LinkOps; struct
176 unsafe impl link_ops::LinkOps for LinkOps { implementation
195 unsafe impl XorLinkedListOps for LinkOps { implementation
243 unsafe impl SinglyLinkedListOps for LinkOps { implementation
283 A::LinkOps: XorLinkedListOps,
285 current: Option<<A::LinkOps as link_ops::LinkOps>::LinkPtr>,
286 prev: Option<<A::LinkOps as link_ops::LinkOps>::LinkPtr>,
[all …]
Dsingly_linked_list.rs25 pub unsafe trait SinglyLinkedListOps: link_ops::LinkOps {
84 type Ops = LinkOps;
86 const NEW: Self::Ops = LinkOps;
130 pub struct LinkOps; struct
132 unsafe impl link_ops::LinkOps for LinkOps { implementation
151 unsafe impl SinglyLinkedListOps for LinkOps { implementation
163 unsafe impl XorLinkedListOps for LinkOps { implementation
298 A::LinkOps: SinglyLinkedListOps,
300 current: Option<<A::LinkOps as link_ops::LinkOps>::LinkPtr>,
306 A::LinkOps: SinglyLinkedListOps,
[all …]
Dlinked_list.rs27 pub unsafe trait LinkedListOps: link_ops::LinkOps {
100 type Ops = LinkOps;
102 const NEW: Self::Ops = LinkOps;
146 pub struct LinkOps; struct
148 unsafe impl link_ops::LinkOps for LinkOps { implementation
167 unsafe impl LinkedListOps for LinkOps { implementation
189 unsafe impl SinglyLinkedListOps for LinkOps { implementation
201 unsafe impl XorLinkedListOps for LinkOps { implementation
352 A::LinkOps: LinkedListOps,
354 current: Option<<A::LinkOps as link_ops::LinkOps>::LinkPtr>,
[all …]
Drbtree.rs42 pub unsafe trait RBTreeOps: link_ops::LinkOps {
141 type Ops = LinkOps;
143 const NEW: Self::Ops = LinkOps;
187 pub struct LinkOps; struct
189 impl LinkOps { impl
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()
207 unsafe impl link_ops::LinkOps for LinkOps { implementation
226 unsafe impl RBTreeOps for LinkOps { implementation
273 unsafe impl SinglyLinkedListOps for LinkOps { implementation
[all …]
Dlink_ops.rs13 pub unsafe trait LinkOps { trait
34 type Ops: LinkOps + Default;
Dlib.rs294 pub use crate::link_ops::{DefaultLinkOps, LinkOps};
/external/crosvm/cros_async/src/sync/
Dwaiter.rs15 use intrusive_collections::{intrusive_adapter, DefaultLinkOps, LinkOps};
57 unsafe impl LinkOps for AtomicLinkOps {
/external/libchromeos-rs/src/sync/
Dwaiter.rs15 use intrusive_collections::{intrusive_adapter, DefaultLinkOps, LinkOps};
56 unsafe impl LinkOps for AtomicLinkOps {