Lines Matching defs:command_string

1519     llvm::StringRef &command_string) {
1525 size_t start = command_string.find_first_not_of(k_white_space);
1530 // Get the next word from command_string.
1531 end = command_string.find_first_of(k_white_space, start);
1533 end = command_string.size();
1535 std::string(command_string.substr(start, end - start));
1555 // a multi-word object, or we are at the end of the command_string, then
1559 end >= command_string.size())
1562 start = command_string.find_first_not_of(k_white_space, end);
1568 command_string = command_string.substr(end);
1606 static bool ExtractCommand(std::string &command_string, std::string &command,
1610 StripLeadingSpaces(command_string);
1615 if (!command_string.empty()) {
1616 const char first_char = command_string[0];
1619 const size_t end_quote_pos = command_string.find(quote_char, 1);
1621 command.swap(command_string);
1622 command_string.erase();
1624 command.assign(command_string, 1, end_quote_pos - 1);
1625 if (end_quote_pos + 1 < command_string.size())
1626 command_string.erase(0, command_string.find_first_not_of(
1629 command_string.erase();
1633 command_string.find_first_of(k_white_space);
1635 command.swap(command_string);
1636 command_string.erase();
1638 command.assign(command_string, 0, first_space_pos);
1639 command_string.erase(0, command_string.find_first_not_of(
1887 std::string command_string(command_line);
1888 std::string original_command_string(command_string);
1889 std::string real_original_command_string(command_string);
1927 if (command_string.empty())
1932 size_t non_space = command_string.find_first_not_of(k_space_characters);
1937 else if (command_string[non_space] == m_comment_char)
1939 else if (command_string[non_space] == CommandHistory::g_repeat_char) {
1940 llvm::StringRef search_str(command_string);
1944 command_string = std::string(*hist_str);
1948 command_string.c_str());
1966 command_string = command_line;
1994 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result);
2002 Status error(PreprocessCommand(command_string));
2010 // Although the user may have abbreviated the command, the command_string now
2012 // "br s -n main", command_string is now "breakpoint set -n main".
2016 LLDB_LOGF(log, "HandleCommand, (revised) command_string: '%s'",
2017 command_string.c_str());
2041 Args command_args(command_string);
2057 if (actual_cmd_name_len < command_string.length())
2058 remainder = command_string.substr(actual_cmd_name_len);