Lines Matching refs:command_string

1486     llvm::StringRef &command_string) {
1492 size_t start = command_string.find_first_not_of(k_white_space);
1497 // Get the next word from command_string.
1498 end = command_string.find_first_of(k_white_space, start);
1500 end = command_string.size();
1502 std::string(command_string.substr(start, end - start));
1522 // a multi-word object, or we are at the end of the command_string, then
1526 end >= command_string.size())
1529 start = command_string.find_first_not_of(k_white_space, end);
1535 command_string = command_string.substr(end);
1573 static bool ExtractCommand(std::string &command_string, std::string &command,
1577 StripLeadingSpaces(command_string);
1582 if (!command_string.empty()) {
1583 const char first_char = command_string[0];
1586 const size_t end_quote_pos = command_string.find(quote_char, 1);
1588 command.swap(command_string);
1589 command_string.erase();
1591 command.assign(command_string, 1, end_quote_pos - 1);
1592 if (end_quote_pos + 1 < command_string.size())
1593 command_string.erase(0, command_string.find_first_not_of(
1596 command_string.erase();
1600 command_string.find_first_of(k_white_space);
1602 command.swap(command_string);
1603 command_string.erase();
1605 command.assign(command_string, 0, first_space_pos);
1606 command_string.erase(0, command_string.find_first_not_of(
1851 std::string command_string(command_line);
1890 if (command_string.empty())
1895 size_t non_space = command_string.find_first_not_of(k_space_characters);
1900 else if (command_string[non_space] == m_comment_char)
1902 else if (command_string[non_space] == CommandHistory::g_repeat_char) {
1903 llvm::StringRef search_str(command_string);
1907 command_string = std::string(*hist_str);
1911 command_string.c_str());
1929 command_string = command_line;
1957 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result);
1965 Status error(PreprocessCommand(command_string));
1973 // Although the user may have abbreviated the command, the command_string now
1975 // "br s -n main", command_string is now "breakpoint set -n main".
1979 LLDB_LOGF(log, "HandleCommand, (revised) command_string: '%s'",
1980 command_string.c_str());
2004 Args command_args(command_string);
2020 if (actual_cmd_name_len < command_string.length())
2021 remainder = command_string.substr(actual_cmd_name_len);