Lines Matching +defs:line +defs:end +defs:position
342 "sif", cmd_obj_sp, "--end-linenumber block --step-in-target %1");
595 "breakpoint set --file '%1' --line %2 --column %3"},
597 "breakpoint set --file '%1' --line %2"},
599 {"^([[:digit:]]+)[[:space:]]*$", "breakpoint set --line %1"},
620 " main.c:12:21 // Break at line 12 and column "
623 " main.c:12 // Break at line 12 of "
626 " 12 // Break at line 12 of current "
671 " main.c:12:21 // Break at line 12 and column "
674 " main.c:12 // Break at line 12 of "
677 " 12 // Break at line 12 of current "
851 // now "bt 3" is the preferred form, in line with gdb.
867 "_regexp-list <file>:<line> // List around specific file/line\n"
868 "_regexp-list <line> // List current file around specified "
869 "line\n"
877 "source list --line %1") &&
881 "source list --file '%1' --line %2") &&
922 "_regexp-jump <line>\n"
923 "_regexp-jump +<line-offset> | -<line-offset>\n"
924 "_regexp-jump <file>:<line>\n"
931 "thread jump --line %1") &&
933 "thread jump --file %1 --line %2") &&
1027 if (pos != m_command_dict.end())
1033 if (alias_pos != m_alias_dict.end())
1039 if (pos != m_user_dict.end())
1045 if (pos != m_user_mw_dict.end())
1076 if (pos != m_command_dict.end())
1088 if (alias_pos != m_alias_dict.end())
1102 if (pos != m_user_dict.end())
1116 if (pos != m_user_mw_dict.end())
1158 if (name_iter != m_command_dict.end()) {
1241 size_t end = cmd_words.GetArgumentCount();
1242 for (size_t i = 1; i < end; ++i) {
1277 if (found_elem == map.end())
1313 if (found_elem == map.end())
1342 return m_command_dict.find(cmd) != m_command_dict.end();
1347 bool exact_match = (m_alias_dict.find(cmd) != m_alias_dict.end());
1375 return m_alias_dict.find(cmd) != m_alias_dict.end();
1379 return m_user_dict.find(cmd) != m_user_dict.end();
1383 return m_user_mw_dict.find(cmd) != m_user_mw_dict.end();
1408 if (pos != m_alias_dict.end()) {
1417 if (pos != m_command_dict.end()) {
1430 if (pos != m_user_dict.end()) {
1439 if (pos != m_user_mw_dict.end()) {
1461 for (pos = m_command_dict.begin(); pos != m_command_dict.end(); ++pos) {
1481 for (auto alias_pos = m_alias_dict.begin(); alias_pos != m_alias_dict.end();
1494 for (pos = m_user_dict.begin(); pos != m_user_dict.end(); ++pos) {
1506 for (pos = m_user_mw_dict.begin(); pos != m_user_mw_dict.end(); ++pos) {
1522 // line.
1526 size_t end = 0;
1531 end = command_string.find_first_of(k_white_space, start);
1532 if (end == std::string::npos)
1533 end = command_string.size();
1535 std::string(command_string.substr(start, end - start));
1555 // a multi-word object, or we are at the end of the command_string, then
1559 end >= command_string.size())
1562 start = command_string.find_first_not_of(k_white_space, end);
1568 command_string = command_string.substr(end);
1651 suffix.assign(command.begin() + pos, command.end());
1731 result.AppendError("Unmatched quote at command end.");
1750 // The command preprocessor needs to do things to the command line before any
1777 // Stop if there's no end backtick.
1933 // Check for empty line or comment line (lines whose first non-space
1986 // the command line as part of the translation. So this first step is plain
2066 log, "HandleCommand, command line after removing command name(s): '%s'",
2079 // Set the indent to the position of the command in the command line.
2113 // We got nothing on the command line, so return the list of commands
2156 // Don't complete comments, and if the line we are completing is just the
2157 // history repeat character, substitute the appropriate history line.
2175 CommandInterpreter::GetAutoSuggestionForCommand(llvm::StringRef line) {
2176 if (line.empty())
2181 if (entry.consume_front(line))
2213 if (pos != m_alias_dict.end())
2346 int position = 0; // Any string that isn't an argument position, i.e. '%'
2347 // followed by an integer, gets a position
2362 // We've gotten to the end of the digits; are we at the end of the
2365 position = atoi(start);
2369 return position;
2408 init_file.assign(s.begin(), s.end());
2854 false, // Not multi-line
2897 // Prefix the first line, indent subsequent lines to line up
2904 // Never print more than the maximum on one line.
2910 // Don't break on space/tab unless the text is too long to fit on one line.
3104 llvm::StringRef line;
3105 std::tie(line, str) = str.split('\n');
3108 stream->Write(line.data(), line.size());
3121 llvm::StringRef line, const Flags &io_handler_flags) const {
3125 llvm::StringRef command = line.trim();
3136 std::string &line) {
3151 if (line.empty())
3158 if (EchoCommandNonInteractive(line, io_handler.GetFlags())) {
3161 "%s%s\n", io_handler.GetPrompt(), line.c_str());
3179 HandleCommand(line.c_str(), eLazyBoolCalculate, result);
3279 std::replace(now.begin(), now.end(), ' ', '_');
3281 std::replace(now.begin(), now.end(), ':', '-');
3363 0, // Don't show line numbers
3382 0, // Don't show line numbers
3434 false, // Don't enable multiple line input, just single line commands
3436 0, // Don't show line numbers