Lines Matching refs:command_string
1238 llvm::StringRef &command_string) { in GetCommandObjectForCommand() argument
1244 size_t start = command_string.find_first_not_of(k_white_space); in GetCommandObjectForCommand()
1250 end = command_string.find_first_of(k_white_space, start); in GetCommandObjectForCommand()
1252 end = command_string.size(); in GetCommandObjectForCommand()
1253 std::string cmd_word = command_string.substr(start, end - start); in GetCommandObjectForCommand()
1277 end >= command_string.size()) in GetCommandObjectForCommand()
1280 start = command_string.find_first_not_of(k_white_space, end); in GetCommandObjectForCommand()
1286 command_string = command_string.substr(end); in GetCommandObjectForCommand()
1324 static bool ExtractCommand(std::string &command_string, std::string &command, in ExtractCommand() argument
1328 StripLeadingSpaces(command_string); in ExtractCommand()
1333 if (!command_string.empty()) { in ExtractCommand()
1334 const char first_char = command_string[0]; in ExtractCommand()
1337 const size_t end_quote_pos = command_string.find(quote_char, 1); in ExtractCommand()
1339 command.swap(command_string); in ExtractCommand()
1340 command_string.erase(); in ExtractCommand()
1342 command.assign(command_string, 1, end_quote_pos - 1); in ExtractCommand()
1343 if (end_quote_pos + 1 < command_string.size()) in ExtractCommand()
1344 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1347 command_string.erase(); in ExtractCommand()
1351 command_string.find_first_of(k_white_space); in ExtractCommand()
1353 command.swap(command_string); in ExtractCommand()
1354 command_string.erase(); in ExtractCommand()
1356 command.assign(command_string, 0, first_space_pos); in ExtractCommand()
1357 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1606 std::string command_string(command_line); in HandleCommand() local
1636 if (command_string.empty()) in HandleCommand()
1641 size_t non_space = command_string.find_first_not_of(k_space_characters); in HandleCommand()
1646 else if (command_string[non_space] == m_comment_char) in HandleCommand()
1648 else if (command_string[non_space] == CommandHistory::g_repeat_char) { in HandleCommand()
1649 llvm::StringRef search_str(command_string); in HandleCommand()
1653 command_string = *hist_str; in HandleCommand()
1657 command_string.c_str()); in HandleCommand()
1672 command_string = command_line; in HandleCommand()
1690 Status error(PreprocessCommand(command_string)); in HandleCommand()
1713 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result); in HandleCommand()
1722 command_string.c_str()); in HandleCommand()
1736 Args command_args(command_string); in HandleCommand()
1748 if (actual_cmd_name_len < command_string.length()) in HandleCommand()
1749 remainder = command_string.substr(actual_cmd_name_len); in HandleCommand()