Lines Matching refs:command_string
1283 llvm::StringRef &command_string) { in GetCommandObjectForCommand() argument
1289 size_t start = command_string.find_first_not_of(k_white_space); in GetCommandObjectForCommand()
1295 end = command_string.find_first_of(k_white_space, start); in GetCommandObjectForCommand()
1297 end = command_string.size(); in GetCommandObjectForCommand()
1299 std::string(command_string.substr(start, end - start)); in GetCommandObjectForCommand()
1323 end >= command_string.size()) in GetCommandObjectForCommand()
1326 start = command_string.find_first_not_of(k_white_space, end); in GetCommandObjectForCommand()
1332 command_string = command_string.substr(end); in GetCommandObjectForCommand()
1370 static bool ExtractCommand(std::string &command_string, std::string &command, in ExtractCommand() argument
1374 StripLeadingSpaces(command_string); in ExtractCommand()
1379 if (!command_string.empty()) { in ExtractCommand()
1380 const char first_char = command_string[0]; in ExtractCommand()
1383 const size_t end_quote_pos = command_string.find(quote_char, 1); in ExtractCommand()
1385 command.swap(command_string); in ExtractCommand()
1386 command_string.erase(); in ExtractCommand()
1388 command.assign(command_string, 1, end_quote_pos - 1); in ExtractCommand()
1389 if (end_quote_pos + 1 < command_string.size()) in ExtractCommand()
1390 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1393 command_string.erase(); in ExtractCommand()
1397 command_string.find_first_of(k_white_space); in ExtractCommand()
1399 command.swap(command_string); in ExtractCommand()
1400 command_string.erase(); in ExtractCommand()
1402 command.assign(command_string, 0, first_space_pos); in ExtractCommand()
1403 command_string.erase(0, command_string.find_first_not_of( in ExtractCommand()
1658 std::string command_string(command_line); in HandleCommand() local
1683 if (command_string.empty()) in HandleCommand()
1688 size_t non_space = command_string.find_first_not_of(k_space_characters); in HandleCommand()
1693 else if (command_string[non_space] == m_comment_char) in HandleCommand()
1695 else if (command_string[non_space] == CommandHistory::g_repeat_char) { in HandleCommand()
1696 llvm::StringRef search_str(command_string); in HandleCommand()
1700 command_string = std::string(*hist_str); in HandleCommand()
1704 command_string.c_str()); in HandleCommand()
1722 command_string = command_line; in HandleCommand()
1735 Status error(PreprocessCommand(command_string)); in HandleCommand()
1757 CommandObject *cmd_obj = ResolveCommandImpl(command_string, result); in HandleCommand()
1766 command_string.c_str()); in HandleCommand()
1780 Args command_args(command_string); in HandleCommand()
1792 if (actual_cmd_name_len < command_string.length()) in HandleCommand()
1793 remainder = command_string.substr(actual_cmd_name_len); in HandleCommand()