Searched refs:sub (Results 1 – 8 of 8) 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/crates/rbpf/src/ |
H A D | insn_builder.rs | 118 pub fn sub(&mut self, source: Source, arch: Arch) -> Move { in sub() method 1437 .sub(Source::Imm, Arch::X64) in move_sub_const_to_register() 1622 .sub(Source::Reg, Arch::X64) in move_sub_from_register_to_register() 1806 .sub(Source::Imm, Arch::X32) in move_sub_const_to_register() 1991 .sub(Source::Reg, Arch::X32) in move_sub_from_register_to_register()
|
/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 | 157 fn sub(self, rhs: i32) -> Self::Output { in sub() method 179 fn sub(mut self, rhs: LineId) -> Self::Output { in sub() method 217 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()
|