/DragonOS-0.1.8/kernel/src/process/ |
D | pid.rs | 15 fn eq(&self, other: &PidType) -> bool { in eq() 16 *self as u8 == *other as u8 in eq()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | rbtree.rs | 73 fn cmp(&self, other: &NodePtr<K, V>) -> Ordering { in cmp() 74 unsafe { (*self.0).key.cmp(&(*other.0).key) } in cmp() 79 fn partial_cmp(&self, other: &NodePtr<K, V>) -> Option<Ordering> { in partial_cmp() 80 unsafe { Some((*self.0).key.cmp(&(*other.0).key)) } in partial_cmp() 85 fn eq(&self, other: &NodePtr<K, V>) -> bool { in eq() 86 self.0 == other.0 in eq() 418 fn eq(&self, other: &RBTree<K, V>) -> bool { in eq() 419 if self.len() != other.len() { in eq() 424 .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) in eq() 1225 let mut other; in delete_fixup() localVariable [all …]
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mod.rs | 505 pub fn intersect(&self, other: &VirtRegion) -> Option<VirtRegion> { in intersect() 506 let start = self.start.max(other.start); in intersect() 507 let end = self.end().min(other.end()); in intersect() 542 pub fn collide(&self, other: &VirtRegion) -> bool { in collide() 543 return self.intersect(other).is_some(); in collide() 597 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() 598 return self.start.partial_cmp(&other.start); in partial_cmp() 603 fn cmp(&self, other: &Self) -> cmp::Ordering { in cmp() 604 return self.start.cmp(&other.start); in cmp()
|
D | ucontext.rs | 795 fn eq(&self, other: &Self) -> bool { in eq() 796 self.0.lock().eq(&other.0.lock()) in eq() 1144 fn eq(&self, other: &Self) -> bool { in eq() 1145 return self.region == other.region; in eq() 1152 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() 1153 return self.region.partial_cmp(&other.region); in partial_cmp() 1158 fn cmp(&self, other: &Self) -> cmp::Ordering { in cmp() 1159 return self.region.cmp(&other.region); in cmp()
|
/DragonOS-0.1.8/kernel/src/time/ |
D | mod.rs | 337 fn from(other: ::core::time::Duration) -> Duration { in from() 338 Duration::from_micros(other.as_secs() * 1000000 + other.subsec_micros() as u64) in from()
|
D | clocksource.rs | 66 pub fn add(&self, other: CycleNum) -> CycleNum { in add() 67 CycleNum(self.data() + other.data()) in add() 70 pub fn div(&self, other: CycleNum) -> CycleNum { in div() 71 CycleNum(self.data() - other.data()) in div()
|
/DragonOS-0.1.8/ |
D | LICENSE | 16 Foundation's software and to any other program whose authors commit to 17 using it. (Some other Free Software Foundation software is covered by 62 0. This License applies to any program or other work which contains 72 Activities other than copying, distribution and modification are not 84 and give any other recipients of the Program a copy of this License 121 this License, whose permissions for other licensees extend to the 131 a storage or distribution medium does not bring the other work under 198 infringement or for any other reason (not limited to patent issues), 203 License and any other pertinent obligations, then as a consequence you 212 apply and the section as a whole is intended to apply in other [all …]
|
D | README_EN.md | 98 …d to: plagiarizing the code of the project as your graduation project and other academic misconduc…
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 282 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 283 let other: &LockedRamFSInode = other in link() localVariable 287 let mut other_locked: SpinLockGuard<RamFSInode> = other.0.lock(); in link()
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | mod.rs | 40 pub fn matches(&self, other: &CompatibleTable) -> bool { in matches() 42 if other.0.contains(id) { in matches()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mount.rs | 215 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 216 return self.inner_inode.link(name, other); in link()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 528 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 529 let other: &LockedProcFSInode = other in link() localVariable 533 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal_types.rs | 340 fn eq(&self, other: &SignalNumber) -> bool { in eq() 341 *self as i32 == *other as i32 in eq()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 46 fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> { in partial_cmp() 47 return self.cluster_num.partial_cmp(&other.cluster_num); in partial_cmp() 53 fn eq(&self, other: &Self) -> bool { in eq() 54 self.cluster_num == other.cluster_num in eq()
|