Searched refs:sub (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/time/ |
H A D | mod.rs | 103 fn sub(self, rhs: Self) -> Self::Output { in sub() method 298 fn sub(self, rhs: Duration) -> Instant { in sub() method 312 fn sub(self, rhs: Instant) -> Duration { in sub() method 393 fn sub(self, rhs: Duration) -> Duration { in sub() method
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 12 In Rust, a trait object for a sub-trait of [`std::any::Any`] can be downcast to a concrete type at … 16 With this crate, any trait object for a sub-trait of [`CastFrom`] can be cast directly to a trait o… 135 from an object for a sub-trait of [`CastFrom`]. 143 backing a trait object for a sub-trait of [`CastFrom`] and the target trait (the actual implementat…
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | page_frame.rs | 224 fn sub(self, rhs: Self) -> Self::Output { in sub() method 260 fn sub(self, rhs: usize) -> Self::Output { in sub() method
|
/DragonOS/kernel/src/mm/ |
H A D | mod.rs | 251 fn sub(self, rhs: usize) -> Self::Output { in sub() method 267 fn sub(self, rhs: PhysAddr) -> Self::Output { in sub() method 351 fn sub(self, rhs: VirtAddr) -> Self::Output { in sub() method 360 fn sub(self, rhs: usize) -> Self::Output { in sub() method
|
/DragonOS/kernel/src/arch/riscv64/asm/ |
H A D | head.S | 104 sub t1, t1, t0
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 158 fn sub(self, rhs: i32) -> Self::Output { in sub() method 180 fn sub(mut self, rhs: LineId) -> Self::Output { in sub() method 218 fn sub(self, rhs: i32) -> Self::Output { in sub() method
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 568 tmp_ptr = tmp_ptr.sub(size); in fb_copyarea() 603 tmp_ptr = tmp_ptr.sub(size); in fb_copyarea() 638 tmp_ptr = tmp_ptr.sub(size); in fb_copyarea()
|