/external/llvm-project/lldb/unittests/Utility/ |
D | CompletionRequestTest.cpp | 16 const unsigned cursor_pos = 3; in TEST() local 21 CompletionRequest request(command, cursor_pos, result); in TEST() 26 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); in TEST() 37 const unsigned cursor_pos = command.size(); in TEST() local 40 CompletionRequest request(command, cursor_pos, result); in TEST() 44 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); in TEST() 90 const unsigned cursor_pos = 3; in TEST() local 95 CompletionRequest request(command, cursor_pos, result); in TEST() 100 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); in TEST() 112 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); in TEST() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | Highlighter.cpp | 30 llvm::Optional<size_t> cursor_pos, in Highlight() argument 34 if (!cursor_pos || *cursor_pos >= line.size()) { in Highlight() 43 size_t column = *cursor_pos; in Highlight() 75 llvm::Optional<size_t> cursor_pos, in Highlight() argument 78 Highlight(options, line, cursor_pos, previous_lines, s); in Highlight()
|
/external/llvm-project/lldb/test/API/commands/expression/completion/ |
D | TestExprCompletion.py | 225 def assume_no_completions(self, str_input, cursor_pos = None): argument 228 if cursor_pos is None: 229 cursor_pos = len(str_input) 230 num_matches = interp.HandleCompletion(str_input, cursor_pos, 0, -1, match_strings)
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | Highlighter.h | 115 llvm::Optional<size_t> cursor_pos, 120 llvm::Optional<size_t> cursor_pos, 131 llvm::Optional<size_t> cursor_pos,
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBCommandInterpreter.i | 152 uint32_t cursor_pos, 159 uint32_t cursor_pos,
|
/external/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
D | ClangHighlighter.cpp | 134 llvm::Optional<size_t> cursor_pos, in Highlight() argument 234 if (cursor_pos && end > *cursor_pos && !highlighted_cursor) { in Highlight()
|
D | ClangHighlighter.h | 27 llvm::Optional<size_t> cursor_pos,
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectExpression.cpp | 310 unsigned cursor_pos = request.GetRawCursorPos(); in HandleCompletion() local 332 if (cursor_pos < raw_start) in HandleCompletion() 336 assert(cursor_pos >= raw_start); in HandleCompletion() 337 cursor_pos -= raw_start; in HandleCompletion() 348 expr->Complete(exe_ctx, request, cursor_pos); in HandleCompletion()
|
/external/llvm-project/lldb/include/lldb/API/ |
D | SBCommandInterpreter.h | 190 int HandleCompletion(const char *current_line, uint32_t cursor_pos, 202 uint32_t cursor_pos,
|
/external/llvm-project/lldb/source/API/ |
D | SBCommandInterpreter.cpp | 319 const char *current_line, uint32_t cursor_pos, int match_start_point, in HandleCompletionWithDescriptions() argument 326 current_line, cursor_pos, match_start_point, in HandleCompletionWithDescriptions() 329 const char *cursor = current_line + cursor_pos; in HandleCompletionWithDescriptions() 337 uint32_t cursor_pos, in HandleCompletion() argument 343 current_line, cursor_pos, match_start_point, in HandleCompletion() 346 const char *cursor = current_line + cursor_pos; in HandleCompletion()
|