Lines Matching refs:command_string
1486 llvm::StringRef &command_string) { in GetCommandObjectForCommand() argument
1492 size_t start = command_string.find_first_not_of(k_white_space); in GetCommandObjectForCommand()
1498 end = command_string.find_first_of(k_white_space, start); in GetCommandObjectForCommand()
1500 end = command_string.size(); in GetCommandObjectForCommand()
1502 std::string(command_string.substr(start, end - start)); in GetCommandObjectForCommand()
1526 end >= command_string.size()) in GetCommandObjectForCommand()
1529 start = command_string.find_first_not_of(k_white_space, end); in GetCommandObjectForCommand()
1535 command_string = command_string.substr(end); in GetCommandObjectForCommand()
1573 static bool ExtractCommand(std::string &command_string, std::string &command, in ExtractCommand() argument
1577 StripLeadingSpaces(command_string); in ExtractCommand()
1582 if (!command_string.empty()) { in ExtractCommand()
1583 const char first_char = command_string[0]; in ExtractCommand()
1586 const size_t end_quote_pos = command_string.find(quote_char, 1); in ExtractCommand()
1588 command.swap(command_string); in ExtractCommand()
1589 command_string.erase(); in ExtractCommand()
1591 command.assign(command_string, 1, end_quote_pos - 1); in ExtractCommand()
1592 if (end_quote_pos + 1 < command_string.size()) in ExtractCommand()
1593 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1596 command_string.erase(); in ExtractCommand()
1600 command_string.find_first_of(k_white_space); in ExtractCommand()
1602 command.swap(command_string); in ExtractCommand()
1603 command_string.erase(); in ExtractCommand()
1605 command.assign(command_string, 0, first_space_pos); in ExtractCommand()
1606 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1851 std::string command_string(command_line); in HandleCommand() local
1890 if (command_string.empty()) in HandleCommand()
1895 size_t non_space = command_string.find_first_not_of(k_space_characters); in HandleCommand()
1900 else if (command_string[non_space] == m_comment_char) in HandleCommand()
1902 else if (command_string[non_space] == CommandHistory::g_repeat_char) { in HandleCommand()
1903 llvm::StringRef search_str(command_string); in HandleCommand()
1907 command_string = std::string(*hist_str); in HandleCommand()
1911 command_string.c_str()); in HandleCommand()
1929 command_string = command_line; in HandleCommand()
1957 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result); in HandleCommand()
1965 Status error(PreprocessCommand(command_string)); in HandleCommand()
1980 command_string.c_str()); in HandleCommand()
2004 Args command_args(command_string); in HandleCommand()
2020 if (actual_cmd_name_len < command_string.length()) in HandleCommand()
2021 remainder = command_string.substr(actual_cmd_name_len); in HandleCommand()