Home
last modified time | relevance | path

Searched refs:other (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.7/kernel/src/process/
Dpid.rs17 fn eq(&self, other: &PidType) -> bool { in eq()
18 *self as u8 == *other as u8 in eq()
/DragonOS-0.1.7/kernel/src/libs/
Drbtree.rs73 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/
Dmod.rs318 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/
DLICENSE16 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 …]
DREADME_EN.md98 …d to: plagiarizing the code of the project as your graduation project and other academic misconduc…
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs282 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/
Dmount.rs215 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/
Dmod.rs40 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/
Dmod.rs525 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/
Dsignal_types.rs340 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/
Dfs.rs46 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/
Delf.h2689 #define PPC64_LOCAL_ENTRY_OFFSET(other) \ argument
2690 (((1 << (((other) & STO_PPC64_LOCAL_MASK) >> STO_PPC64_LOCAL_BIT)) >> 2) << 2)