Searched refs:other (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.7/kernel/src/process/ |
D | pid.rs | 17 fn eq(&self, other: &PidType) -> bool { in eq() 18 *self as u8 == *other as u8 in eq()
|
/DragonOS-0.1.7/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.7/kernel/src/time/ |
D | mod.rs | 318 fn from(other: ::core::time::Duration) -> Duration { in from() 319 Duration::from_micros(other.as_secs() * 1000000 + other.subsec_micros() as u64) in from()
|
/DragonOS-0.1.7/ |
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.7/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.7/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.7/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.7/kernel/src/filesystem/procfs/ |
D | mod.rs | 525 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 526 let other: &LockedProcFSInode = other in link() localVariable 530 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link()
|
/DragonOS-0.1.7/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.7/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()
|
/DragonOS-0.1.7/kernel/src/libs/libELF/ |
D | elf.h | 2689 #define PPC64_LOCAL_ENTRY_OFFSET(other) \ argument 2690 (((1 << (((other) & STO_PPC64_LOCAL_MASK) >> STO_PPC64_LOCAL_BIT)) >> 2) << 2)
|