Home
last modified time | relevance | path

Searched refs:error_handle (Results 1 – 11 of 11) sorted by relevance

/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs51 ErrorHandler::error_handle( in check()
61 ErrorHandler::error_handle("Invalid username".to_string(), ExitStatus::InvalidArg); in check()
65 ErrorHandler::error_handle("Uid is required".to_string(), ExitStatus::InvalidCmdSyntax); in check()
100 ErrorHandler::error_handle( in check_group_gid()
115 ErrorHandler::error_handle( in check_group_gid()
127 ErrorHandler::error_handle( in check_group_gid()
141 ErrorHandler::error_handle( in check_group_gid()
177 ErrorHandler::error_handle("groupadd failed".to_string(), ExitStatus::GroupaddFail); in check_group_gid()
228 ErrorHandler::error_handle( in home()
300 ErrorHandler::error_handle(format!("{} already exists", home), ExitStatus::InvalidArg); in check_home()
[all …]
/DragonOS/user/apps/user-manage/src/parser/
H A Dparser.rs32 ErrorHandler::error_handle( in parse()
41 ErrorHandler::error_handle( in parse()
53 ErrorHandler::error_handle( in parse()
117 ErrorHandler::error_handle( in parse()
136 ErrorHandler::error_handle("Invalid option".to_string(), ExitStatus::InvalidCmdSyntax); in invalid_handle()
/DragonOS/user/apps/user-manage/src/cmd/
H A Duseradd.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
H A Duserdel.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
H A Dgroupadd.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
H A Dgroupdel.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
H A Dgroupmod.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
H A Dusermod.rs24 ErrorHandler::error_handle( in main()
31 ErrorHandler::error_handle( in main()
/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs101 fn error_handle(msg: &str) -> ! { in error_handle() function
137 error_handle("futex_wait failed"); in futex_wait()
186 error_handle("futex wake failed"); in futex_wake()
252 error_handle("futexes_addr mmap failed"); in test01()
324 error_handle("mmap failed"); in test02()
337 error_handle("mmap failed"); in test02()
/DragonOS/user/apps/user-manage/src/error/
H A Derror.rs29 pub fn error_handle(error: String, exit_status: ExitStatus) { in error_handle() method
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs55 ErrorHandler::error_handle(format!("Can't open file: {}", file_path), exit_status); in open_file()
74 ErrorHandler::error_handle( in execute()
313 ErrorHandler::error_handle( in execute()