Lines Matching refs:command_string
1463 llvm::StringRef &command_string) { in GetCommandObjectForCommand() argument
1469 size_t start = command_string.find_first_not_of(k_white_space); in GetCommandObjectForCommand()
1475 end = command_string.find_first_of(k_white_space, start); in GetCommandObjectForCommand()
1477 end = command_string.size(); in GetCommandObjectForCommand()
1479 std::string(command_string.substr(start, end - start)); in GetCommandObjectForCommand()
1503 end >= command_string.size()) in GetCommandObjectForCommand()
1506 start = command_string.find_first_not_of(k_white_space, end); in GetCommandObjectForCommand()
1512 command_string = command_string.substr(end); in GetCommandObjectForCommand()
1550 static bool ExtractCommand(std::string &command_string, std::string &command, in ExtractCommand() argument
1554 StripLeadingSpaces(command_string); in ExtractCommand()
1559 if (!command_string.empty()) { in ExtractCommand()
1560 const char first_char = command_string[0]; in ExtractCommand()
1563 const size_t end_quote_pos = command_string.find(quote_char, 1); in ExtractCommand()
1565 command.swap(command_string); in ExtractCommand()
1566 command_string.erase(); in ExtractCommand()
1568 command.assign(command_string, 1, end_quote_pos - 1); in ExtractCommand()
1569 if (end_quote_pos + 1 < command_string.size()) in ExtractCommand()
1570 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1573 command_string.erase(); in ExtractCommand()
1577 command_string.find_first_of(k_white_space); in ExtractCommand()
1579 command.swap(command_string); in ExtractCommand()
1580 command_string.erase(); in ExtractCommand()
1582 command.assign(command_string, 0, first_space_pos); in ExtractCommand()
1583 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1871 std::string command_string(command_line); in HandleCommand() local
1896 if (command_string.empty()) in HandleCommand()
1901 size_t non_space = command_string.find_first_not_of(k_space_characters); in HandleCommand()
1906 else if (command_string[non_space] == m_comment_char) in HandleCommand()
1908 else if (command_string[non_space] == CommandHistory::g_repeat_char) { in HandleCommand()
1909 llvm::StringRef search_str(command_string); in HandleCommand()
1913 command_string = std::string(*hist_str); in HandleCommand()
1917 command_string.c_str()); in HandleCommand()
1935 command_string = command_line; in HandleCommand()
1963 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result); in HandleCommand()
1971 Status error(PreprocessCommand(command_string)); in HandleCommand()
1986 command_string.c_str()); in HandleCommand()
2010 Args command_args(command_string); in HandleCommand()
2026 if (actual_cmd_name_len < command_string.length()) in HandleCommand()
2027 remainder = command_string.substr(actual_cmd_name_len); in HandleCommand()