Home
last modified time | relevance | path

Searched refs:is_linked (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/intrusive-collections/src/
Dsingly_linked_list.rs65 pub fn is_linked(&self) -> bool { in is_linked() method
116 if self.is_linked() { in fmt()
137 if ptr.as_ref().is_linked() { in acquire_link()
1004 assert!(!a.link1.is_linked());
1005 assert!(!a.link2.is_linked());
1012 assert!(a.link1.is_linked());
1013 assert!(!a.link2.is_linked());
1022 assert!(!a.link1.is_linked());
1023 assert!(!a.link2.is_linked());
1083 assert!(!c.link1.is_linked());
[all …]
Dlinked_list.rs81 pub fn is_linked(&self) -> bool { in is_linked() method
132 if self.is_linked() { in fmt()
153 if ptr.as_ref().is_linked() { in acquire_link()
1271 assert!(!a.link1.is_linked());
1272 assert!(!a.link2.is_linked());
1279 assert!(a.link1.is_linked());
1280 assert!(!a.link2.is_linked());
1289 assert!(!a.link1.is_linked());
1290 assert!(!a.link2.is_linked());
1355 assert!(!a.link1.is_linked());
[all …]
Dxor_linked_list.rs109 pub fn is_linked(&self) -> bool { in is_linked() method
160 if self.is_linked() { in fmt()
181 if ptr.as_ref().is_linked() { in acquire_link()
1442 assert!(!a.link1.is_linked());
1443 assert!(!a.link2.is_linked());
1450 assert!(a.link1.is_linked());
1451 assert!(!a.link2.is_linked());
1460 assert!(!a.link1.is_linked());
1461 assert!(!a.link2.is_linked());
1526 assert!(!a.link1.is_linked());
[all …]
Drbtree.rs122 pub fn is_linked(&self) -> bool { in is_linked() method
173 if self.is_linked() { in fmt()
212 if ptr.as_ref().is_linked() { in acquire_link()
2112 assert!(!a.link.is_linked());
2120 assert!(a.link.is_linked());
2124 assert!(!c.link.is_linked());
2136 assert!(!a.link.is_linked());
2189 assert!(!a.link.is_linked());
2195 assert!(!b.link.is_linked());
2201 assert!(!c.link.is_linked());
[all …]
/external/libchromeos-rs/src/sync/
Dwaiter.rs36 fn is_linked(&self) -> bool { in is_linked() method
172 pub fn is_linked(&self) -> bool { in is_linked() method
173 self.link.is_linked() in is_linked()
196 !self.is_linked(), in set_cancel()
207 debug_assert!(!self.is_linked(), "Cannot reset `Waiter` while linked"); in reset()
225 debug_assert!(!self.is_linked(), "Cannot wake `Waiter` while linked"); in wake()
Dcv.rs353 let old_waiter = if waiter.is_linked() && waiting_for == WaitingFor::Condvar { in cancel_waiter()
Dmu.rs650 let old_waiter = if waiter.is_linked() && waiter.is_waiting_for() == WaitingFor::Mutex { in cancel_waiter()
/external/crosvm/cros_async/src/sync/
Dwaiter.rs37 fn is_linked(&self) -> bool { in is_linked() method
166 pub fn is_linked(&self) -> bool { in is_linked() method
167 self.link.is_linked() in is_linked()
189 debug_assert!(!self.is_linked(), "Cannot reset `Waiter` while linked"); in reset()
207 debug_assert!(!self.is_linked(), "Cannot wake `Waiter` while linked"); in wake()
Dcv.rs332 let old_waiter = if waiter.is_linked() && waiting_for == WaitingFor::Condvar { in cancel_waiter()
Dmu.rs551 let old_waiter = if waiter.is_linked() && waiting_for == WaitingFor::Mutex { in cancel_waiter()