Searched refs:Result (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.2/kernel/src/driver/uart/ |
D | uart.rs | 28 pub fn from_u16(val: u16) -> Result<Self, &'static str> { in from_u16() 92 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init()
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal.rs | 595 ) -> Result<i32, i32> { in handle_signal() 613 ) -> Result<i32, i32> { in setup_frame() 693 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, i32> { in copy_siginfo_to_user() 700 let retval: Result<i32, i32> = Ok(0); in copy_siginfo_to_user() 717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext()
|
D | signal_types.rs | 71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() argument 211 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() argument
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.rs | 132 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | errno.md | 165 #define ERANGE 72 /* 结果过大 Result too large.*/
|