Lines Matching refs:alias_command
552 const std::string alias_command = args.GetArgumentAtIndex (0); in DoExecute() local
556 size_t pos = raw_command_string.find (alias_command); in DoExecute()
559 raw_command_string = raw_command_string.substr (alias_command.size()); in DoExecute()
573 if (m_interpreter.CommandExists (alias_command.c_str())) in DoExecute()
576 alias_command.c_str()); in DoExecute()
600 return HandleAliasingRawCommand (alias_command, raw_command_string, *cmd_obj, result); in DoExecute()
606 …HandleAliasingRawCommand (const std::string &alias_command, std::string &raw_command_string, Comma… in HandleAliasingRawCommand() argument
623 if (m_interpreter.AliasExists (alias_command.c_str()) in HandleAliasingRawCommand()
624 || m_interpreter.UserCommandExists (alias_command.c_str())) in HandleAliasingRawCommand()
626 … OptionArgVectorSP temp_option_arg_sp (m_interpreter.GetAliasOptions (alias_command.c_str())); in HandleAliasingRawCommand()
630 m_interpreter.RemoveAliasOptions (alias_command.c_str()); in HandleAliasingRawCommand()
633 alias_command.c_str()); in HandleAliasingRawCommand()
638 m_interpreter.AddAlias (alias_command.c_str(), cmd_obj_sp); in HandleAliasingRawCommand()
640 … m_interpreter.AddOrReplaceAliasOptions (alias_command.c_str(), option_arg_vector_sp); in HandleAliasingRawCommand()
663 const std::string alias_command = args.GetArgumentAtIndex(0); in HandleAliasingNormalCommand() local
671 if (m_interpreter.CommandExists (alias_command.c_str())) in HandleAliasingNormalCommand()
674 alias_command.c_str()); in HandleAliasingNormalCommand()
735 if (m_interpreter.AliasExists (alias_command.c_str()) in HandleAliasingNormalCommand()
736 || m_interpreter.UserCommandExists (alias_command.c_str())) in HandleAliasingNormalCommand()
738 … OptionArgVectorSP tmp_option_arg_sp (m_interpreter.GetAliasOptions (alias_command.c_str())); in HandleAliasingNormalCommand()
742 m_interpreter.RemoveAliasOptions (alias_command.c_str()); in HandleAliasingNormalCommand()
745 alias_command.c_str()); in HandleAliasingNormalCommand()
749 m_interpreter.AddAlias (alias_command.c_str(), subcommand_obj_sp); in HandleAliasingNormalCommand()
751 m_interpreter.AddAlias (alias_command.c_str(), command_obj_sp); in HandleAliasingNormalCommand()
753 … m_interpreter.AddOrReplaceAliasOptions (alias_command.c_str(), option_arg_vector_sp); in HandleAliasingNormalCommand()