Lines Matching refs:name
38 name: String, field
46 name: &String, in new()
52 name: name.clone(), in new()
201 if let Some((name, args)) = current_command.split_first() { in parser()
226 commands.push(Command::new(name, args, cmd_type, conn_type)); in parser()
245 if let Some((name, args)) = current_command.split_first() { in parser()
247 name, in parser()
281 name: String, field
290 eprint!("{}: ", self.name); in handle()
402 if let Some(f) = map.get(&cmd.name) { in execute()
535 let path = if cmd.name.contains('/') { in execute()
537 if let Ok(path) = std::fs::canonicalize(&cmd.name) { in execute()
542 Err(ExecuteErrorType::NotFile(cmd.name.clone())) in execute()
549 which::which(&cmd.name).map_err(|_| ExecuteErrorType::CommandNotFound) in execute()
643 cmd.name.clone(), in execute()
658 name: cmd.name.clone(), in execute()