Lines Matching refs:command_string

1480     llvm::StringRef &command_string) {  in GetCommandObjectForCommand()  argument
1486 size_t start = command_string.find_first_not_of(k_white_space); in GetCommandObjectForCommand()
1492 end = command_string.find_first_of(k_white_space, start); in GetCommandObjectForCommand()
1494 end = command_string.size(); in GetCommandObjectForCommand()
1496 std::string(command_string.substr(start, end - start)); in GetCommandObjectForCommand()
1520 end >= command_string.size()) in GetCommandObjectForCommand()
1523 start = command_string.find_first_not_of(k_white_space, end); in GetCommandObjectForCommand()
1529 command_string = command_string.substr(end); in GetCommandObjectForCommand()
1567 static bool ExtractCommand(std::string &command_string, std::string &command, in ExtractCommand() argument
1571 StripLeadingSpaces(command_string); in ExtractCommand()
1576 if (!command_string.empty()) { in ExtractCommand()
1577 const char first_char = command_string[0]; in ExtractCommand()
1580 const size_t end_quote_pos = command_string.find(quote_char, 1); in ExtractCommand()
1582 command.swap(command_string); in ExtractCommand()
1583 command_string.erase(); in ExtractCommand()
1585 command.assign(command_string, 1, end_quote_pos - 1); in ExtractCommand()
1586 if (end_quote_pos + 1 < command_string.size()) in ExtractCommand()
1587 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1590 command_string.erase(); in ExtractCommand()
1594 command_string.find_first_of(k_white_space); in ExtractCommand()
1596 command.swap(command_string); in ExtractCommand()
1597 command_string.erase(); in ExtractCommand()
1599 command.assign(command_string, 0, first_space_pos); in ExtractCommand()
1600 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1877 std::string command_string(command_line); in HandleCommand() local
1902 if (command_string.empty()) in HandleCommand()
1907 size_t non_space = command_string.find_first_not_of(k_space_characters); in HandleCommand()
1912 else if (command_string[non_space] == m_comment_char) in HandleCommand()
1914 else if (command_string[non_space] == CommandHistory::g_repeat_char) { in HandleCommand()
1915 llvm::StringRef search_str(command_string); in HandleCommand()
1919 command_string = std::string(*hist_str); in HandleCommand()
1923 command_string.c_str()); in HandleCommand()
1941 command_string = command_line; in HandleCommand()
1969 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result); in HandleCommand()
1977 Status error(PreprocessCommand(command_string)); in HandleCommand()
1992 command_string.c_str()); in HandleCommand()
2009 Args command_args(command_string); in HandleCommand()
2023 if (actual_cmd_name_len < command_string.length()) in HandleCommand()
2024 remainder = command_string.substr(actual_cmd_name_len); in HandleCommand()