Home | History | Annotate | Download | only in Interpreter

Lines Matching defs:cmd

645     std::string cmd(cmd_cstr);
649 pos = m_command_dict.find(cmd);
656 pos = m_alias_dict.find(cmd);
663 pos = m_user_dict.find(cmd);
692 cmd.assign(matches->GetStringAtIndex(0));
693 pos = m_command_dict.find(cmd);
706 cmd.assign(matches->GetStringAtIndex (num_cmd_matches));
707 pos = m_alias_dict.find(cmd);
719 cmd.assign (matches->GetStringAtIndex (num_cmd_matches + num_alias_matches));
721 pos = m_user_dict.find (cmd);
879 CommandInterpreter::CommandExists (const char *cmd)
881 return m_command_dict.find(cmd) != m_command_dict.end();
938 CommandInterpreter::GetAliasFullName (const char *cmd, std::string &full_name)
940 bool exact_match = (m_alias_dict.find(cmd) != m_alias_dict.end());
943 full_name.assign(cmd);
950 num_alias_matches = CommandObject::AddNamesMatchingPartialString (m_alias_dict, cmd, matches);
957 CommandObjectSP cmd_obj_sp(GetCommandSP (cmd, include_aliases, exact, &regular_matches));
972 CommandInterpreter::AliasExists (const char *cmd)
974 return m_alias_dict.find(cmd) != m_alias_dict.end();
978 CommandInterpreter::UserCommandExists (const char *cmd)
980 return m_user_dict.find(cmd) != m_user_dict.end();
1732 std::string &cmd = revised_command_line.GetString();
1733 size_t arg_terminator_idx = FindArgumentTerminator (cmd);
1738 cmd.insert(arg_terminator_idx, gdb_format_option);
1745 if (wants_raw_input && FindArgumentTerminator(cmd) == std::string::npos)
2514 const char *cmd = commands.GetStringAtIndex(idx);
2515 if (cmd[0] == '\0')
2522 cmd);
2533 bool success = HandleCommand(cmd, add_to_history, tmp_result,
2554 idx, cmd, error_msg);
2563 cmd,
2587 idx + 1, cmd);
2589 result.AppendMessageWithFormat ("Command #%zu '%s' continued the target.\n", idx + 1, cmd);